: 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

Reply via email to