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.j...@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-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > >