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: Inquiry on Lucene Stemming

2008-12-17 Thread Jokin Cuadrado
Well, you could use the queryparser wildcard searches (flash*), but it doesn't use stemming logic, it just returns all the words that start with that string. You must be aware that the queryparser rewrite the query with every term that match the wildcard, so if your prefix is short it's easy to g

Re: IndexWriter.flush performance

2008-12-07 Thread Jokin Cuadrado
Avery time you flush the index, you are writing a small index to the disk. Theres a defined value (mergefactor) that decides when it have to merge all of those small index in a bigger one, so as the index grown the merges are bigger. First you merge 10 indexes of 1 document, then 10 indexes of 10

Re: Get all unique values of specific field

2007-05-30 Thread Jokin Cuadrado
You can also get stringindex of the class field, for access to the field info without the need of accessing the document in hits. You can implement a custom collector and get the unique values in that. On 5/30/07, karl wettin <[EMAIL PROTECTED]> wrote: 30 maj 2007 kl. 10.51 skrev Laxmilal Mena

Re: Unique City, State results from index based on zip

2007-04-04 Thread Jokin Cuadrado
don't index the city names with the zip codes. indexed text - Stored Value --- 94941 - 94941 Mill Vallley 94114 - 94114 Mill Vallley Mill Vallley - Mill Vallley 29715 - 29715 Fort Mill 29708 - 29708 Fort Mill