Hello, I am working on creating a auto-complete functionality for my platform 
which indexes large ammounts of text (title + contents) - there is too much 
data for a dictionary. I am using the latest version of Solr (3.3) and I am 
trying to take advantage of the Suggester functionality. Unfortunately so far 
the outcome isn't that great. 

The Suggester works only for single words or whole phrases (depends on the 
tokenizer). When using the first option, I am unable to suggest any combined 
queries. For example the suggestion for 'ne' will be 'new'. Suggestion for 'new 
y' will be two separate lists, one for 'new' and one for 'y'. Whats worse, 
querying 'new AND y' gives the same results (also when using collate), which 
means that the returned suggestion may give no results - what makes sense 
separately often doesn't work combined. I need a way to find only those 
suggestions, that will return results when doing a AND query (for example 'new 
AND york', 'new AND year', as long as they give results upon querying - 'new 
AND yeti' shouldn't be returned as a suggestion). 

When I use the second tokenizer and the suggestions return phrases, for 'ne' I 
will get 'new york' and 'new year', but for 'new y' I will get nothing. Also, 
for 'y' I will get nothing, so the issue remains. 

If someone has some experience working with the Suggester, or if someone has 
created a well working auto-suggester based on Solr, please help me. I've been 
trying to find a sollution for this for quite some time.

Yours sincerely,
Jackob K

Reply via email to