lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gintautas Sulskus <>
Subject Merging fields of two streaming expressions
Date Mon, 29 Jan 2018 12:39:31 GMT

Is it possible to merge fields of two stream sources in a specific way?
Take for example two search result sets:

search_1(... fl="score")
search_2(... fl="score")

I would like to merge these two into one result set. Its score would be
computed using a custom function f(x,y) that takes take scores of search_1
and search_2 as its parameters.

The function can be, for example, the average of the two inputs e.g.

Using Solr 6.5.1


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