lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dawid Weiss (JIRA)" <>
Subject [jira] [Updated] (SOLR-2378) FST-based Lookup (suggestions) for prefix matches.
Date Thu, 07 Apr 2011 11:40:05 GMT


Dawid Weiss updated SOLR-2378:

    Attachment: SOLR-2378.patch

Updated patch:
- fixed a bug with unicode codepoints [rmuir]
- added promotion of exact matches to the top of the list (weighted mode)
- added a "poor man's" alphabetical lookup even if weights are used (still faster than the
existing implementations, but suboptimal to the case when no weights are used at all).
- Added a few test cases here and there, reorganized the code.
- Turned thresholds into real config parameters.

> FST-based Lookup (suggestions) for prefix matches.
> --------------------------------------------------
>                 Key: SOLR-2378
>                 URL:
>             Project: Solr
>          Issue Type: New Feature
>          Components: spellchecker
>            Reporter: Dawid Weiss
>            Assignee: Dawid Weiss
>              Labels: lookup, prefix
>             Fix For: 4.0
>         Attachments: SOLR-2378.patch, SOLR-2378.patch
> Implement a subclass of Lookup based on finite state automata/ transducers (Lucene FST
package). This issue is for implementing a relatively basic prefix matcher, we will handle
infixes and other types of input matches gradually. Impl. phases:
> - -write a DFA based suggester effectively identical to ternary tree based solution right
> - -baseline benchmark against tern. tree (memory consumption, rebuilding speed, indexing
speed; reuse Andrzej's benchmark code)-
> - -modify DFA to encode term weights directly in the automaton (optimize for onlyMostPopular
> - -benchmark again-
> - add infix suggestion support with prefix matches boosted higher (?)
> - benchmark again
> - modify the tutorial on the wiki []

This message is automatically generated by JIRA.
For more information on JIRA, see:

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

View raw message