lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: Need details on this query
Date Mon, 18 Aug 2014 21:55:26 GMT
OR (phone
-data_source_name:("Catalog" OR "Device How To - Interactive" OR "Device How
To - StepByStep"))

Just an OR clause that searches for all documents that have "phone" ( in the
default search field or multiple fields if its an edismax parser). Remove from
that set any documents with a data_source_name that contains any of the
three phrases:
"Catalog"
"Device How To - Interactive"
"Device How To - StepByStep"

and return all those documents in the query

HTH,
ErIck

On Mon, Aug 18, 2014 at 11:42 AM, bbarani <bbarani@gmail.com> wrote:
> Hi,
>
> This might be a silly question..
>
> I came across the below query online but I couldn't really understand the
> bolded part. Can someone help me understanding this part of the query?
>
> deviceType_:"Cell" OR deviceType_:"Prepaid" *OR (phone
> -data_source_name:("Catalog" OR "Device How To - Interactive" OR "Device How
> To - StepByStep"))*
>
> Thanks,
> Barani
>
>
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Need-details-on-this-query-tp4153606.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message