I'm not very familiar with how AnalyzingSuggester works inside Solr
... if you try this directly with the Lucene APIs does it still
happen?

Hmm maybe one idea: if you remove whitespace from your suggestion does
it work?  I wonder if there's a whitespace / multi-token issue ... if
so then maybe see how TestPhraseSuggestions.java (in Solr) does this?

Mike McCandless

http://blog.mikemccandless.com

On Thu, Feb 7, 2013 at 9:48 AM, Sebastian Saip <sebastian.s...@gmail.com> wrote:
> I'm looking into a way to implement an autosuggest and for my special needs
> (I'm doing a "startsWith"-search that should retrieve the full name, which
> may have accents - However, I want to search with/without accents and in
> any upper/lowercase for comfort)
>
> Here's part of my configuration: http://pastebin.com/20vSGJ1a
>
> So I have a name="Têst Námè" and I query for "test", "tést", "TÈST", or
> similiar. This gives me back "test name" as a suggestion, which looks like
> the index, rather than the actual value.
>
> Furthermore, when I fed the document without index-analyzers, then added
> the index-analyzers, restarted without refeeding and queried, it returned
> the right value (so this seems to retrieve the index, rather than the
> actual stored value?)
>
> Or maybe I just configured it the wrong way :?
> Theres not really much documentation about this yet :(
>
> BR Sebastian Saip

Reply via email to