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 Tue, 19 Oct 2010 23:13:30 GMT


Uwe Schindler updated LUCENE-2715:

    Attachment: LUCENE-2715.patch

Optimized patch:
- removed useless interfaces from attribute (inherited)
- removed interface @Override (die, sunbug, die)
- equals in AttributeImpls should always compare same implementations (not like copyTo() which
can copy to different impl)
- replaced global field runAutomaton by only the attribute, which now contains List<ByteRunAutomaton>.
This is list is also updated now when maxDistance raises, so the automatons are never genated
2 times. This should improve switches between maxDistance. So the whole array is no longer

All tests pass.

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