Re: Searching Multivalued fileds

2011-01-11 Thread Jokin Cuadrado
you should use a proximity search, so the matching words are near: q=Itemname:("item movie"~2) I don't remember if you need also to customize your indexing analyser so diferent values are far enough for your needs or if that it's already done. On Tue, Jan 11, 2011 at 9:39 AM, Sailesh wrote: > >

Re: Searching Multivalued fileds

2011-01-11 Thread Sailesh
I want no fields to be returned, as they belong to different fields but their fieldnames are same. -- View this message in context: http://lucene.472066.n3.nabble.com/Searching-Multivalued-fileds-tp2233114p2233220.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. --

Re: Searching Multivalued fileds

2011-01-11 Thread harsh srivastava
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 wrote: > > My index contains multivalued filed like and i use whi

Re: Newbie question: optimized files?

2011-01-11 Thread Simon Willnauer
Hey, this looks like you are hitting the optimization done in LUCENE-2773 (https://issues.apache.org/jira/browse/LUCENE-2773) that prevents merged segments that are larger than 10% (by default - see LogMergePolicy#noCFSRatio) of the index size it will be left in non-compound format even if compoun