By the way, '^' doesn't have the same effect in prefix queries as it does
in the query_string and multi_match queries. The query in your example
simply tries to search the field with a strange name "field^2". If you want
to boost this query, use "boost":2.0 parameter instead.
On Wednesday, November 14, 2012 4:31:59 AM UTC-5, Benoît wrote:
On Monday, November 12, 2012 11:32:36 PM UTC+1, Chris Male wrote:
I think we could probably do some better validation here and provide a
better error message. I do think you should open an issue.
On Wednesday, November 14, 2012 4:24:24 PM UTC+1, Igor Motov wrote:
By the way, '^' doesn't have the same effect in prefix queries as it does
in the query_string and multi_match queries. The query in your example
simply tries to search the field with a strange name "field^2". If you want
to boost this query, use "boost":2.0 parameter instead.
Of course i noticed this.
I generate qdsl query from another syntax and got this error during
development and so report it.
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.