> 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
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
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
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