lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ankit Murarka <>
Subject Re: Basic understanding and difference between getSuggestion and loopup method of InfixSuggester.
Date Fri, 06 Sep 2013 05:35:01 GMT
Dear All, Can you please suggest me the possible difference between 
getSuggestion and InfixSuggester.lookup in terms of the suggestions 
provided by both of these.

On 9/5/2013 1:04 PM, Ankit Murarka wrote:
> Hello All,
> I would like to know the basic difference between providing a phrase 
> suggestion based on
> String[] 
> suggestionMatcher=getSuggestion(suggestedPhrase,phraseRecommender);
> and providing phrase suggestion based on :
> List<LookupResult> list=ainfixSuggester.lookup(suggestedPhrase,false, 
> 100);
> For the latter, what I understood is that the AnalyzingInfixSuggester 
> will provide me suggestions even if the entered phrase is found 
> anywhere in the line (whether its a prefix/suffix/a part of token 
> etc..and hence the name infix)
> For the former, I am a bit confused..I am looking for a more concrete 
> description of the both.
> Can anyone please explain me both the parts as well as basic 
> difference between the both..


Ankit Murarka

"What lies behind us and what lies before us are tiny matters compared with what lies within

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

View raw message