Re: Sorting on pseudo field(The one which is added during doctransformer)

2018-05-23 Thread prateek . agarwal
Thanks, Mikhail On 2018/05/18 11:33:09, Mikhail Khludnev wrote: > Right > https://wiki.apache.org/solr/SolrPlugins#ValueSourceParser > > On Fri, May 18, 2018 at 8:04 AM, prateek.agar...@bigbasket.com < > prateek.agar...@bigbasket.com> wrote: > > > Hi Mikhail, > > > > I think

Re: Sorting on pseudo field(The one which is added during doctransformer)

2018-05-18 Thread prateek . agarwal
Hi Mikhail, I think you forgot to link the reference. Thanks Regards, Prateek On 2018/05/17 13:18:22, Mikhail Khludnev wrote: > Here is the reference I've found so far. > > On Thu, May 17, 2018 at 12:26 PM, prateek.agar...@bigbasket.com < > prateek.agar...@bigbasket.com>

Re: Sorting on pseudo field(The one which is added during doctransformer)

2018-05-17 Thread prateek . agarwal
Hi Mikhail, > You can either sort by function that needs to turn the logic into value > source parser. But like my requirement for this was to add a field dynamically from cache or external source to the returned documents from the solr and perform sorting in the solr itself if required

Sorting on pseudo field(The one which is added during doctransformer)

2018-05-17 Thread prateek . agarwal
Hi all, I wanted to ask is it possible to sort on the field which is added during DocTransformer. I'm referring to something like this: (https://mariofebbraio.files.wordpress.com/2014/10/doctransformer.png) here the price is added using doctransformer so is it possible to sort on this field

Re: Regarding LTR feature

2018-05-07 Thread prateek . agarwal
Hi Alessandro, You're right it doesn't have to be that accurate to the query time but our requirement is having a more solid control over our outputs from Solr like if we have 4 features then we can adjust the weights giving something like (40,20,20,20) to each feature such that the sum total

Re: Regarding LTR feature

2018-05-04 Thread prateek . agarwal
Thanks again Alessandro I tried with the feature and the Minmax normalizer you told.But then there is a slight problem with the params in normalization. I don't really know the range(Min, Max) of values the payload_score outputs and they are different for different queries. I even tried

Re: Regarding LTR feature

2018-05-04 Thread prateek . agarwal
Thanks again Alessandro I tried with the feature and the Minmax normalizer you told.But then there is a slight problem with the params in normalization. I don't really know the range(Min, Max) of values the payload_score outputs and they are different for different queries. I even tried

Re: Regarding LTR feature

2018-05-02 Thread prateek . agarwal
Hi Alessandro, Thanks for responding. Let me take a step back and tell you the problem I have been facing with this.So one of the features in my LTR model is: { "store" : "my_feature_store", "name" : "in_aggregated_terms", "class" : "org.apache.solr.ltr.feature.SolrFeature", "params" : { "q" :

Re: Regarding LTR feature

2018-05-02 Thread Prateek Agarwal
Hi Alessandro, Thanks for responding. Let me take a step back and tell you the problem I have been facing with this.So one of the features in my LTR model is: { "store" : "my_feature_store", "name" : "in_aggregated_terms", "class" : "org.apache.solr.ltr.feature.SolrFeature", "params" :

Regarding LTR feature

2018-04-29 Thread Prateek Agarwal
Hi all, I'm new to solr ltr and stuck on this problem for a while. I wanted to ask why the documents on which the ltr feature score is calculated doesn't filter out the documents even if we provide the fq filter in the url like: =juice={!ltr%20model=my_feature_model%20efi.query=$q%

Query regarding LTR plugin in solr

2018-04-10 Thread prateek . agarwal
Hi, I'm working on ltr feature in solr. I have a feature like : ''' { "store" : "my_feature_store", "name" : "in_aggregated_terms", "class" : "org.apache.solr.ltr.feature.SolrFeature", "params" : { "q" : "{!func}scale(query({!payload_score f=aggregated_terms func=max

Query regarding LTR plugin in solr

2018-04-09 Thread Prateek Agarwal
Hi, I'm working on ltr feature in solr. I have a feature like : ''' { "store" : "my_feature_store", "name" : "in_aggregated_terms", "class" : "org.apache.solr.ltr.feature.SolrFeature", "params" : { "q" : "{!func}scale(query({!payload_score f=aggregated_terms func=max