We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The problem only manifests when all of the following conditions are met:
This is how to reproduce the issue:
# create the index curl -XPOST http://localhost:9200/test -d '{ "settings": { "index": { "number_of_shards": 1, "number_of_replicas": 0 }, "analysis": { "analyzer": { "text_ascii": { "type": "custom", "tokenizer": "whitespace", "filter": ["asciifolding", "lowercase", "custom_word_delimiter"] } }, "filter": { "custom_word_delimiter": { "type": "word_delimiter", "generate_word_parts": true, "generate_number_parts": false, "catenate_numbers": true, "catenate_words": false, "split_on_case_change": false, "split_on_numerics": false, "stem_english_possessive": false } } } }, "mappings": { "person": { "properties": { "name": { "type": "string", "analyzer": "text_ascii" }, "address": { "type": "string", "analyzer": "text_ascii" } } } } } ' # index the document curl -XPUT 'http://localhost:9200/test/person/1' -d '{ "name" : "bogdan mihai dumitrescu", "address" : "amsterdam" }' # search for the document with a dot in the query # expect one result to be returned, but this returns 0 hits curl -XPOST 'http://localhost:9200/test/_search' -d '{ "query": { "query_string": { "query": "bogdan.dumitrescu", "fields": ["name", "address"], "use_dis_max": false, "default_operator": "and", "analyzer": "text_ascii" } } }'
The text was updated successfully, but these errors were encountered:
8991896
Replaced hardcoded boolean value with correct parameter
b756db9
Implemented changes suggested by review. Closes #3898
d65db42
Implemented changes suggested by review. Closes elastic#3898
javanna
Successfully merging a pull request may close this issue.
The problem only manifests when all of the following conditions are met:
This is how to reproduce the issue:
The text was updated successfully, but these errors were encountered: