I google around and didn't find answer.
Any reasons why this property is unsupported in simple query string query?
The next step for me could be to check actual lucene code if simple query string supports that parameter...
thanks
I google around and didn't find answer.
Any reasons why this property is unsupported in simple query string query?
The next step for me could be to check actual lucene code if simple query string supports that parameter...
thanks
Hi @yandooo,
the query string query in Elasticsearch uses Lucene's QueryParser
under the hood whereas the simple query string query uses Lucene's SimpleQueryParser
. While QueryParser
can autogenerate phrase queries, SimpleQueryParser
cannot. That's the reason Elasticsearch does not support this parameter.
Daniel
thanks for the reply.
I see it's different hierarchy of QueryParser objects. I might need to check with Apache lucene community why it's like this.
thanks
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.