What you need is a search component. I've written an example on how to use one. Check https://github.com/lttazz99/SolrPluginsExamples
On Tue, 15 Mar 2016, 13:37 Abhishek Mishra, <solrmis...@gmail.com> wrote: > Any update on this??? > > On Mon, Mar 14, 2016 at 4:06 PM, Abhishek Mishra <solrmis...@gmail.com> > wrote: > > > Hi all > > We are running on solr5.2.1 . Now the requirement come that we need the > > data on basis on some algo. The algorithm part we need to put on result > > obtained from query. So best we can do is using > > group.field,group.main,group.func. In group.func we need to use custom > > function which will run the algorithm part. My doubts are where we need > to > > put custom function in which file??. I found some articles related to > this > > https://dzone.com/articles/how-write-custom-solr > > in this it's not explained where to put the code part in which file. > > > > > > Regards, > > Abhishek > > > -- Regards, Binoy Dalal