I want to use the Lucene Query Parser Syntax to search in the ElasticSearch
, how can I do
You can use the query string query:
Hope this helps,
Ivan
On Wed, Feb 15, 2012 at 11:01 PM, 殷伟峰 ywf1990@gmail.com wrote:
I want to use the Lucene Query Parser Syntax to search in the Elasticsearch
, how can I do
I think you can use QueryString
HTH
David
@dadoonet
Le 16 févr. 2012 à 08:01, 殷伟峰 ywf1990@gmail.com a écrit :
I want to use the Lucene Query Parser Syntax to search in the Elasticsearch , how can I do
Thanks for the point and links, those're very helpful.
and how to converting ElasticSearch Query DSL to Lucene Query Parser Syntax in java api?
like this:
QueryBuilders.fieldQuery("field", "value") => field:"value"
The field and query_string queries value that you pass are parsed based on the Lucene query parser syntax.
On Wednesday, February 22, 2012 at 8:33 AM, yin weifeng wrote:
Thanks for the point and links, those're very helpful.
and how to converting Elasticsearch Query DSL to Lucene Query Parser Syntax
in java api?like this:
QueryBuilders.fieldQuery("field", "value") => field:"value"--
View this message in context: http://elasticsearch-users.115913.n3.nabble.com/How-to-converting-Lucene-Query-Parser-Syntax-to-ElasticSearch-Query-DSL-tp3749361p3765707.html
Sent from the Elasticsearch Users mailing list archive at Nabble.com (http://Nabble.com).