Questions tagged [elasticsearch-analyzers]
145 questions
0
votes
0 answers
Elastic search resuts for analyzer field does not match
I have a fuzzy analyzer on addresss field with following mapping and data
PUT test_fuzzy
{
"settings": {
"index": {
"max_ngram_diff": "40",
"mapping": {
"total_fields": {
"limit": "2000"
}
},
…

amrit
- 315
- 1
- 2
- 11
0
votes
0 answers
Tokens in Index Time vs Query Time are not the same when using common_gram filter ElasticSearch
I want to use common_gram token filter based on this link.
My elasticsearch version is: 7.17.8
Here is the setting of my index in ElasticSearch.
I have defined a filter named "common_grams" that uses "common_grams" as type.
I have defined a custom…

Farnaz Maleki
- 1
- 2
0
votes
1 answer
Elasticsearch - searching for punctuation terms over both text and keyword fields
Using elasticsearch 7, I'm trying to use a simple query string query for searches over different fields, both text and keyword. Here's a minimum, reproducible example to show the initial setup and problem:
mapping.json:
{
"dynamic": false,
…

msp
- 3,272
- 7
- 37
- 49
0
votes
0 answers
Is there an elasticsearch equivalent to the Solr Terms Component?
I want to take a look at the actual terms in an Elasticsearch index. In Solr, I can just open the admin and get a list of the most common terms. Is there an Elasticsearch equivalent of this?

curiousity
- 79
- 7
0
votes
0 answers
Is reindexing to a new index necessary after updating settings and mappings to support a multi-field in elasticsearch?
Please consider the scenario.
Existing System
I have an index named contacts_index with 100 documents.
Each document has property named city with some text value in it.
Index has settings as the following
{
"analyzer": {
"city_analyzer": {
…

Karthikeyan Amaresan
- 35
- 5
0
votes
1 answer
How to include dotted words in Elasticsearch analyzer?
I am using this analyzer
"settings": {
"analysis": {
"char_filter": {
"my_char_filter": {
"type": "mapping",
"mappings": [
"- => _",
]
},
…

Sandy
- 85
- 1
- 8
0
votes
1 answer
Combining terms with synonyms - ElasticSearch
I am new to Elasticsearch and have a synonym analyzer in place which looks like-
{
"settings": {
"index": {
"analysis": {
"filter": {
"graph_synonyms": {
…

Deepikha Iyer
- 3
- 2
0
votes
1 answer
Retrieve variants generated by Elasticsearch on ingest
Elasticsearch versions 7 and 8.
When Elasticsearch ingests data, it generates certain phonetic keys for the tokens (and other types depending on the analyzer you specify). Is there a way to retrieve and view these for a given document via query?

Stpete111
- 3,109
- 4
- 34
- 74
0
votes
0 answers
Full text search in Elasticsearch - what goes through the analysis?
From what I have heard, with a full text search query both the data stored in the text field as well as the query value goes through the analyzer. I am not sure what to mean by the fact that the query value also goes through the analysis.
In…

MagicMan
- 73
- 5
0
votes
2 answers
Elastic stop analyzer and fuzzy search issue
I have index and data described here, and also I have set analyzer to stop analyzer. That works fine, because when I try simple search like
POST https://serverURL/_search?pretty=true
{
"query": {
"query_string": {
"default_field":…

Dragan Jovanović
- 132
- 7
0
votes
1 answer
Elasticsearch: search with wildcard and custom analyzer
Requirement: Search with special characters in a text field.
my Solution so far: Use wildcard query with custom analyzer. I want to use wildcards because it seems the easiest way to do partial searches in a long string with multiple search keys. See…

Avishek Ghosh
- 23
- 5
0
votes
1 answer
Elasticsearch Configure Lowercase Tokenizer for Case-Insensitive Kibana Controls Visualization
I've created a Kibana Controls visualization (Options List with Multiselect and Dynamic Options enabled) on my Dashboard. The search only yields results when values are case sensitive. I've read that case sensitivity is dependent upon the property's…

littleK
- 19,521
- 30
- 128
- 188
0
votes
1 answer
Ignore specific character during fuzzy searches analyzer in Elastic search
I have a fuzzy search analyzer in elastic search with following documents
PUT test_index
{
"settings": {
"index": {
"max_ngram_diff": 40
},
"analysis": {
"analyzer": {
"autocomplete": {
"tokenizer":…

amrit
- 315
- 1
- 2
- 11
0
votes
1 answer
Weird built-in "classic" analyzer?
This is the official list of built-in analyzers: https://www.elastic.co/guide/en/elasticsearch/reference/7.13/analysis-analyzers.html
So what surprised me, that when I used the "classic" for analyzer, it worked, and the result is actually what I…

Mikiku
- 152
- 1
- 12
0
votes
1 answer
Partial Search in elasticsearch is working for one and not for other record
elastic search is created with following body
body = {
"mappings": {
"properties": {
"TokenizedDocumentFileName": {
"type": "text",
"analyzer": "my_analyzer",
…

qaiser
- 2,770
- 2
- 17
- 29