Complex DNF Type queries


(electic) #1

Does elastic search process queries such as:

keyword (keyword1 | keyword2)

if not, is there a way to do this?


(Clinton Gormley) #2

On Sun, 2011-03-13 at 13:02 -0700, electic wrote:

Does elastic search process queries such as:

keyword (keyword1 | keyword2)

It does - it uses the same query syntax as Lucene:

http://lucene.apache.org/java/3_0_0/queryparsersyntax.html

clint


(electic) #3

Thank you.

On Mar 13, 1:14 pm, Clinton Gormley clin...@iannounce.co.uk wrote:

On Sun, 2011-03-13 at 13:02 -0700, electic wrote:

Does elastic search process queries such as:

keyword (keyword1 | keyword2)

It does - it uses the same query syntax as Lucene:

http://lucene.apache.org/java/3_0_0/queryparsersyntax.html

clint


(Shay Banon) #4

Check also the terms filter.
On Monday, March 14, 2011 at 12:08 AM, electic wrote:

Thank you.

On Mar 13, 1:14 pm, Clinton Gormley clin...@iannounce.co.uk wrote:

On Sun, 2011-03-13 at 13:02 -0700, electic wrote:

Does elastic search process queries such as:

keyword (keyword1 | keyword2)

It does - it uses the same query syntax as Lucene:

http://lucene.apache.org/java/3_0_0/queryparsersyntax.html

clint


(system) #5