lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fbrisbart <fbrisb...@bestofmedia.com>
Subject Re: AND Queries
Date Mon, 29 Jul 2013 09:19:45 GMT
It's because when you don't specify any field, it's the default field
which is used.

So, 
lang:en AND url:book AND pencil AND cat

is interpreted as :
ang:en AND url:book AND <default_field>:pencil AND <default_field>:cat


The default search field is defined in your schema.xml file
(defaultSearchField)


Franck Brisbart

Le lundi 29 juillet 2013 à 12:06 +0300, Furkan KAMACI a écrit :
> 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?



Mime
View raw message