Re: Dismax in Lucene

2010-11-20 Thread Ahmet Arslan
> I heard Yonik talk about a better dismax query parser for > Solr so I > was wondering if Lucene already has this functionality > contributed to > its contrib modules? Dismax use Lucene's DisjunctionMaxQuery http://lucene.apache.org/java/2_9_3/api/core/org/apache/lucene/search/DisjunctionMaxQuer

Dismax in Lucene

2010-11-20 Thread Pulkit Singhal
Hello, I heard Yonik talk about a better dismax query parser for Solr so I was wondering if Lucene already has this functionality contributed to its contrib modules? - Pulkit - To unsubscribe, e-mail: java-user-unsubscr...@lucen

Re: IndexWriter.close() performance issue

2010-11-20 Thread Yonik Seeley
On Fri, Nov 19, 2010 at 5:41 PM, Mark Kristensson wrote: > Here's the changes I made to org.apache.lucene.util.StringHelper: > >  //public static StringInterner interner = new SimpleStringInterner(1024,8); As Mike said, the real fix for trunk is to get rid of interning. But for your version, you

Re: IndexWriter.close() performance issue

2010-11-20 Thread Michael McCandless
Also, you'd have to synchronize access to the HashMap. But it is surprising intern is this much of a performance hog that you can shave ~7 seconds of IR init time. We've talked about removing the interning of field names, especially with flexible indexing (4.0) where fields and term text are now