lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafał Kuć <>
Subject Re: AND Queries
Date Mon, 29 Jul 2013 09:18:29 GMT

Try turning on debugQuery and see what I happening. From what I see
you are searching the en term in lang field, the book term in url
field and the pencil and cat terms in the default search field, but
from your second query I see that you would like to find the last two
terms in the url.

 Rafał Kuć
 Sematext :: :: Solr - Lucene - ElasticSearch

> I am searching for a keyword as like that:

> lang:en AND url:book pencil cat

> It returns me results however none of them includes both book, pencil and
> cat keywords. How should I rewrite my query?

> I tried this:

> lang:en AND url:(book AND pencil AND cat)

> and looks like OK. However this not:

> lang:en AND url:book AND pencil AND cat

> why?

View raw message