lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Willnauer <simon.willna...@gmail.com>
Subject Re: Using AnalyzingSuggester with stopwords
Date Sun, 24 Mar 2013 20:41:28 GMT
Alex, did you try to get it working with a single term like adding
"the foobar" and then drawing suggestions for "the foo" ?

simon

On Sun, Mar 24, 2013 at 8:51 PM, Alexander Reelsen <alr@spinscale.de> wrote:
> Hey there,
>
> I am trying to get up some working example with the AnalyzingSuggester and
> stopwords - like it is done in the corresponding unit test.
>
> I thought, I could build the AnalyzingSuggester from a
> HighfrequencyDictionary using a non_analyzed field - and then use a
> stopwordsanalyzer in the constructor.
>
> This has however not worked out. I couldnt get any suggestions for
> "stopword foo"...
>
> I guess I am doing something totally wrong, due to not getting it right how
> the AnalyzingSuggester is working, so thanks for any help.
>
>
> --Alexander

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


Mime
View raw message