Hi, I've got a question that I can't find in the docs.
I'm doing a suggestion search for "queens park", if I enter "queens" or even "queens par" it works fine (the text is 10 chars or less) but then if I use "queens park" of which I know there are many documents that match I get no results.
I've done some other testing and it seems to be the length of the query text.
Is there a 10 character limit on the completion suggester?
Hello Matt,
There is no character limit on the completion suggester (at least it's not 10). Could you please post a complete example on how to reproduce.
Here is the recreation I've tested:
PUT t
{
"mappings": {
"t": {
"properties": {
"suggest": {
"type": "completion",
"analyzer": "simple",
"search_analyzer": "simple"
}
}
}
}
}
PUT t/t/1
{
"suggest": "queens park rangers"
}
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.