Re: Auto-complete in Lucene

2022-05-27 Thread Tomoko Uchida
Hi Anastasiya, > 1) Use AnalyzingSuggester > 2) Use PrefixQuery and SpanFirstQuery with the IndexSearcher.search() > What is the differences between them? Do they have big differences in > performance? I don't think they are directly comparable but internally, AnalyzingSuggerster decompounds the

Re: Auto-complete in Lucene

2022-05-25 Thread Anastasiya Tarasenko
Thank you for comment) For our task it seems a redundant, because per my understanding AnalyzingInfixSuggester find matches anywhere from query string, for our purpose we need only prefix search. For AnalyzingSuggester it scares me that when new entry is coming or changed you have to rebuild the s

Re: Auto-complete in Lucene

2022-05-25 Thread Michael Wechner
we are usingĀ  AnalyzingInfixSuggester but I would also be curious to know whether this is the best way :-) Thanks Michael Am 25.05.22 um 14:39 schrieb Anastasiya Tarasenko: Hi All, I have a question regarding auto-complete functionality in Lucene. On the StackOverflow the suggestion regardin

Auto-complete in Lucene

2022-05-25 Thread Anastasiya Tarasenko
Hi All, I have a question regarding auto-complete functionality in Lucene. On the StackOverflow the suggestion regarding implementation is 1) Use AnalyzingSuggester 2) Use PrefixQuery and SpanFirstQuery with the IndexSearcher.search() What is the differences between them? Do they have big differe