lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From harsh srivastava <harshc...@gmail.com>
Subject Re: Searching Multivalued fileds
Date Tue, 11 Jan 2011 08:08:13 GMT
Hi Sailesh,

As per my understanding, (+ITEMNAME:item +ITEMNAME:movie) will search for a
document containing item and movie terms and return the DOC 1.

What you want to get?

-HarshCode



On Tue, Jan 11, 2011 at 12:12 PM, Sailesh <sailesh.jain@gmail.com> wrote:

>
> My index contains multivalued filed like and i use whitespaceAnalyzer
> DOC 1 : ITEMNAME: item 2 name
>           ITEMNAME: movie tickets
>           ITEMNAME: item 1 name
> so when search for (+ITEMNAME:item +ITEMNAME:movie), it should not match
> any
> document
> since there is no field which has both item and move, but it returns me the
> above doc.
>
> Can any one please suggest how to handle this situation?
>
>
> Thanks
> Sailesh
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Searching-Multivalued-fileds-tp2232931p2232931.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message