try to use RegexQuery



Artyom Sokolov wrote:
> 
> Hello.
> 
> Currently I'm trying to find something like an analyzer to solve the
> problem.
> 
> Actually, what I need is next: search on a query string step-by-step,
> trimming last char on each step. Small example:
> 
> In index we've: abc, abcdef, xyz
> When search on abcdefgh the most relevant result should be abcdef, while
> searching on abcde the best one is abc.
> 
> Thanks.
> 
> Sincerely,
> Artyom Sokolov
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Appropriate-analyzer-tp23164855p23166323.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


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