lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Jelsma <>
Subject RE: Storing Ranking Scores And Documents In Separate Indices
Date Thu, 05 Apr 2018 20:59:52 GMT
Hello Quynh,

Solr has support for external file fields [1]. They are a simple key=float based text file
where key is ID, and the float can be used for boosting/scoring documents. This is a much
simpler approach than using a separate collection. These files can be reloaded every commit
and are really easy to use. We use them for boosting documents by their popularity.

Hope that helps,

-----Original message-----
> From:Huynh, Quynh <>
> Sent: Thursday 5th April 2018 22:50
> To:
> Cc: Collazo, Carlos <>; Ganesan, VinothKumar <>
> Subject: Storing Ranking Scores And Documents In Separate Indices
> Hey Solr Community,
> We have a collection of product documents that we’d like to add fields to with ranking
scores generated by our data scientists.
> Two options we’re considering is to either:
> -          Have a separate index that contains all the documents from our product index,
but with these additional ranking fields
> -          Have an index with just the score fields and a numerical key to represent
the product that would require a separate lookup
> We wanted to know if any Solr users with a similar problem has tried either of those
options (and the performance implications you faced), or had a different approach to structuring
documents in separate collections, where the only difference between the documents was the
ranking fields.
> Thanks!
> Quynh

View raw message