Not sure if much has changed since I asked a similar question a while back:
https://groups.google.com/forum/#!msg/elasticsearch/f4hE3lHsJeA/u0ovOO91Vr4J Jorg's suggestion at the very end if perhaps the best, although I have continued using my own method. https://github.com/elasticsearch/elasticsearch/blob/master/src/test/java/org/elasticsearch/index/query/SimpleIndexQueryParserTests.java -- Ivan On Tue, Mar 11, 2014 at 4:45 PM, Mohit Anchlia <[email protected]>wrote: > Is there a utility that can convert lucene query string format to ES Java > API format? We are planning to use lucene query parser to validate query > string entered by user in our application before creating a request to ES. > > http://lucene.apache.org/core/2_9_4/queryparsersyntax.html > > -- > You received this message because you are subscribed to the Google Groups > "elasticsearch" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/CAOT3TWr5FphvtUDyHLy0%2BUzPUPQTPwkdP2oiCPZ75UU_d4%3DWKg%40mail.gmail.com<https://groups.google.com/d/msgid/elasticsearch/CAOT3TWr5FphvtUDyHLy0%2BUzPUPQTPwkdP2oiCPZ75UU_d4%3DWKg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQCv5sbLQNb34nrHtgtONCEgf1JsywBcydAcibEu4ony0Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
