lucene-solr-user mailing list archives

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

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.
f=(x+y)/2


Using Solr 6.5.1


Thanks,
Gintas

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