Re: AutoComplete Feature in Solr

2015-10-15 Thread Alessandro Benedetti
I would suggest you to read this in details : *DocumentDictionaryFactory* > A dictionary with terms, weights, and an optional payload taken from the > index. > This dictionary implementation takes the following parameters in addition > to parameters described for the Suggester generally and for

Re: AutoComplete Feature in Solr

2015-10-14 Thread Alessandro Benedetti
using the suggester feature you can in some case rank the suggestions based on an additional numeric field. It's not your use case, you actually want to use a search handler with a well defined schema that will allow you for example to query on an edge ngram token filtered field, applying a geo

Re: AutoComplete Feature in Solr

2015-10-14 Thread Salman Ansari
Actually what you mentioned Alessandro is something interesting for me. I am looking to boost the ranking of some suggestions based on some dynamic criteria (let's say how frequent they are used). Do I need to update the boost field each time I request the suggestion (to capture the frequency)? If

Re: AutoComplete Feature in Solr

2015-10-13 Thread William Bell
We want to use suggester but also want to show those results closest to my lat,long... Kinda combine suggester and bq=geodist() On Mon, Oct 12, 2015 at 2:24 PM, Salman Ansari wrote: > Hi, > > I have been trying to get the autocomplete feature in Solr working with no >

Re: AutoComplete Feature in Solr

2015-10-13 Thread Salman Ansari
Thanks guys, I was able to make it work using your articles. The key point was mentioned in one of the articles which was that suggestion component is preconfigured in techproducts sample. I started my work from there and tweaked it to suit my needs. Thanks a lot! One thing still remaining, I

Re: AutoComplete Feature in Solr

2015-10-13 Thread Alessandro Benedetti
As Erick suggested you are reading a really old way to provide the autocomplete feature ! Please take a read to the docs Erick linked and to my blog as well. It will definitely give you more insight about the Autocomplete world ! Cheers [1]

Re: AutoComplete Feature in Solr

2015-10-12 Thread Erick Erickson
Some of the links you're looking at are quite old, and a lot has changed, assuming you're on a recent Solr version. It's usually best to look at the Solr reference guide, see: https://cwiki.apache.org/confluence/display/solr/Suggester This might also help: