Furkan, I am not sure how this could be a security concern, what I am actually asking is an approach to integrate the spellchecker search component within the default request handler.
Thanks. On Sat, Apr 12, 2014 at 5:38 PM, Furkan KAMACI <furkankam...@gmail.com>wrote: > Hi; > > I do not want to change the direction of your question but it is really > good, secure and flexible to do such kind of things at your client (a java > client or not). On the other *if *you let people to access your Solr > instance directly it causes some security issues. > > Thanks; > Furkan KAMACI > > > 2014-04-12 19:26 GMT+03:00 S.L <simpleliving...@gmail.com>: > > > Yes, I use solrJ , but only to index the data , the querying of the data > > happens usinf the default select query handler from a non java client. > > > > > > On Sat, Apr 12, 2014 at 12:12 PM, Furkan KAMACI <furkankam...@gmail.com > > >wrote: > > > > > Hi; > > > > > > Do you use Solrj at your application? Why you did not consider to use > to > > > solve this with Solrj? > > > > > > Thanks; > > > Furkan KAMACI > > > > > > > > > 2014-04-12 18:34 GMT+03:00 S.L <simpleliving...@gmail.com>: > > > > > > > Hello fellow Solr users, > > > > > > > > I am using the default select request handler to search a Solr core > , I > > > > also use the eDismaxquery parser. > > > > > > > > 1. > > > > > > > > I want to integrate this with the spellchecker search component so > > > that > > > > if a search request comes in the spellchecker component also gets > > > called > > > > and I get a suggestion back with search results. > > > > 2. > > > > > > > > If the suggestion is above a certain threshold then I want the > > search > > > to > > > > be made on that suggestion , otherwise the suggestion should > > comeback > > > > along > > > > with the search results for the original search term. > > > > > > > > In order to accomplish this it seems I need to integrate the > > > > SearchHandler.java class to call the spellchecker internally and then > > > make > > > > a search call if the suggestion from the spellchecker has a > suggestion > > > that > > > > is above a certain threshold. > > > > > > > > I would really appreciate if there any examples of calling the > > > SpellChecker > > > > component via the API in Solr that someone can share with me and also > > if > > > > you could validate my approach. Thank You. > > > > > > > > > >