lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Autosuggest
Date Tue, 18 May 2010 19:03:56 GMT

: So there is no generally accepted preferred way to do auto-suggest? 

there are many generally accepted and preferred ways to do auto-suggest -- 
it all comes down to specifics goals and needs.

for example: using the TermsComponent is really simple to setup if you 
want your suggestions to come from a single field of your index and be in 
a simple ordering -- but if you want the suggested terms to be limited 
based on other criteria, or if you want to influence hte ordering, by 
other things you need to use a complicated solution (like Facets).

For people with really tricky requirements (like ordering the results by a 
custome rule) it can even make sense to setup a special core where each 
document corrisponds to a "term" to suggest, with a text field 
containing ngrams, and other fields containing numeric values that you use 
in boost functions.

there are lots of options -- all of them equally accepted -- prefrence is 
based on needs.

-Hoss


Mime
View raw message