>First, it's a legitimate question whether matching on single-letter
>prefixes is useful for the user. If you're running into TooManyClauses,
>that means (if you haven't changed the defaults) that there are more
>than 1024 possibilities. Which is far too many for the user to scan
through.

That is true, but our goal is to return the top X hits.  Some of the
potential matches are single characters (like 'F' for Ford) so we want
to apply the filter.  Of course the partial matches are unlikely to be
the user's targeted match.  I guess for 1 or 2 character inputs we could
apply only exact matches and on 3 or more apply the partial matches.

>You could look at the n-gram tokenizers (I confess I haven't used them
>so I'm not all *that* familiar with them). Or you could make a rule
like
>"no autocomplete until the user types 3 characters" if that would work.

This sounds interesting.  I will take a look.

Thanks,
Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to