lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward W. Rouse" <>
Subject short search terms
Date Wed, 26 Sep 2012 20:47:02 GMT
I have a key field that will only ever have a length of 3 characters. I am
using a StandardAnalyzer and a QueryParser to create the Query
(parser.parse(string)), and an IndexReader and IndexSearcher to execute the
query (searcher(query)). I can't seem to find a setter to allow for a 3
character search string. There is one setMinWordLen, but it isn't applicable
here. I did see a TokenStream LengthFilter, but can't figure out if I can
apply it in this case.

How do I set Lucene to allow for results from short search strings?

Edward W. Rouse

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

View raw message