Hi, guys I meet a trouble requirement, it is: ------------------------ doc1 field:numeric [term:1009, payload:1009; term:1015, payload1015] doc2 field:numeric [term:1008, payload:1008; term:1016, payload1016]
search: field:numeric term in range[1008, 1015] expect hits: [doc1,score:1008; doc2: score:1009] ------------------------ Explain: I want to get score represent by payload, I knew it can implement by PayloadSimilarity, and I can also achieve a multiValueNumericRange query. The problem is that, when get weight from hits, doc1 hits two times and it's score combined by [1009,1015], what I want is the min([1009,1015]). How can I achieve this? Thanks, Nevalosa -- View this message in context: http://lucene.472066.n3.nabble.com/An-interesting-requirement-of-payload-and-numeric-range-query-tp1790340p1790340.html Sent from the Lucene - General mailing list archive at Nabble.com.