lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kamal Kishore Aggarwal <>
Subject Re: LTR feature based on other collection data
Date Tue, 26 Feb 2019 12:52:31 GMT
I looks to me that I can modify the *SolrFeature *class, but dont know how
to create IndexSearcher and SolrQueryRequest params as per the new request
and second collection.

  public FeatureWeight createWeight(*IndexSearcher searcher*, boolean
      *SolrQueryRequest request*, Query originalQuery, Map<String,String[]>
          throws IOException {
    return new SolrFeatureWeight(searcher, request, originalQuery, efi);


On Tue, Feb 26, 2019 at 12:34 PM Kamal Kishore Aggarwal <> wrote:

> Hi,
> I am working on LTR using solr 6.6.2. I am working on custom feature
> creation. I am able to create few custom features as per our requirement.
> But, there are certain features, for which the data is stored in other
> collection. Data like count of clicks, last date when the product was
> ordered, etc. These type of information is stored in another collection and
> we are not planning to put this info. in first collection.
> Now, we need to use the data in other collection to generate the score of
> the document  in LTR. We are open to develop custom components as well.
> Is there a way, we can modify our query using some join. But, we know join
> is expensive.
> Please suggest. Thanks in advance.
> Regards
> Kamal Kishore

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message