lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <>
Subject [jira] Updated: (LUCENE-2715) optimize fuzzytermsenum per-segment
Date Wed, 20 Oct 2010 08:40:23 GMT


Uwe Schindler updated LUCENE-2715:

    Attachment: LUCENE-2715.patch

Police reviewed again and found a solution (Robert asked me) how to make the attribute private.
As the impl class must be public for AS to load it, the trick is to wrap it in a private static
inner class.

By that the attributes are invisible to both code and javadocs. You can only load and instantiate
the class by reflection or when you have a already loaded Class object of the attribute.

Also added javadocs for ctor (forgot that on MTQ per-seg rewrite issue) and made attribute
impl final.

I think it's ready to commit. Robert?

> optimize fuzzytermsenum per-segment
> -----------------------------------
>                 Key: LUCENE-2715
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Search
>            Reporter: Robert Muir
>             Fix For: 4.0
>         Attachments: LUCENE-2715.patch, LUCENE-2715.patch, LUCENE-2715.patch, LUCENE-2715.patch
> we can make fuzzyquery about 3% faster by not creating DFA(s) for each segment.
> creating the DFAs is still somewhat heavy: i can address this here too, but this is easy.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message