Re: Achieving AutoComplete feature using Solrj client
Indeed, you first configure it in the solrconfig.xml ( manually). Then you can query and parse the response as you like with the SolrJ client library. Cheers - --- Alessandro Benedetti Search Consultant, R Software Engineer, Director Sease Ltd. - www.sease.io -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Re: Achieving AutoComplete feature using Solrj client
Hi, Thank you for your help. As far as I understood, I cannot configure and enable the suggester through solrj client. The configuration should be done manually. Arunan On 18 June 2018 at 14:50, Alessandro Benedetti wrote: > Hi, > me and Tommaso contributed this few years ago.[1] > You can easily get the suggester response now from the Solr response. > Of course you need to configure and enable the suggester first.[2][3][4] > > > [1] https://issues.apache.org/jira/browse/SOLR-7719 > [2] https://sease.io/2015/07/solr-you-complete-me.html > [3] https://lucidworks.com/2015/03/04/solr-suggester/ > [4] > https://sease.io/2018/06/apache-lucene-blendedinfixsuggester-how-it- > works-bugs-and-improvements.html > > > > - > --- > Alessandro Benedetti > Search Consultant, R Software Engineer, Director > Sease Ltd. - www.sease.io > -- > Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html >
Re: Achieving AutoComplete feature using Solrj client
Hi, me and Tommaso contributed this few years ago.[1] You can easily get the suggester response now from the Solr response. Of course you need to configure and enable the suggester first.[2][3][4] [1] https://issues.apache.org/jira/browse/SOLR-7719 [2] https://sease.io/2015/07/solr-you-complete-me.html [3] https://lucidworks.com/2015/03/04/solr-suggester/ [4] https://sease.io/2018/06/apache-lucene-blendedinfixsuggester-how-it-works-bugs-and-improvements.html - --- Alessandro Benedetti Search Consultant, R Software Engineer, Director Sease Ltd. - www.sease.io -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Achieving AutoComplete feature using Solrj client
Hi, I am trying to upgrade a system which had an older version of Lucene library. I want to implement AutoCompletion feature using solrj client. In the earlier version they have used IndexSearcher class of lucene to do that. Is there any similar way to achieve it using solrj? I basically want to type a field's name and it should give me suggestions as a dropdown in my webpage. Thanks in Advance. Arunan