lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Rafalovitch <arafa...@gmail.com>
Subject Re: Is it possible in Solr to have document field value, based on context during query time, by request parameter ?
Date Thu, 11 Dec 2014 14:41:49 GMT
So, what did not work for you with the External File Field approach?
What is the next gap you are trying to close?

You seem to be aware of the possible extension points for Solr, so you
are not looking for just a pointer to custom search components or
whatever.

Regards,
   Alex.
Personal: http://www.outerthoughts.com/ and @arafalov
Solr resources and newsletter: http://www.solr-start.com/ and @solrstart
Solr popularizers community: https://www.linkedin.com/groups?gid=6713853


On 11 December 2014 at 09:20, Nenko Ivanov <nenko.ivanov@sensika.com> wrote:
> The Use Case:
>
> Very large and sharded index with articles with different categorization
> fields, pre populated with algorithmic estimated values (simple type, mostly
> Integer values). The index is accessed from multiple “clients” and each
> client can override article property based on his context, for example the
> sentiment score for specific article.
>
> If article X sentiment is overridden by Client A, its value persist in
> permanent storage for article X  with both its context value, alongside with
> the default algorithmic value.
>
> When Client A queries index, the document value of article X for sentiment
> has to match his overridden value in filter queries or in facet counts.
>
> Client B sees default estimated value for sentiment for article X.
>
> Currently the simplest solution is to duplicate content for each client, but
> that is not an option because of the index scale.
>
>
> Some background:
>
> The above effect was partly achieved few years ago for experimental purposes
> based on that tutorial -
> http://sujitpal.blogspot.com/2011/05/custom-sorting-in-solr-using-external.html
>
>
> --
> Nenko Ivanov

Mime
View raw message