Probably is more a sort problem than scoring the single document and the order of the input terms is calculated at runtime, in case someone is thinking about adding a sorting field at indexing time.
Nicola On Mon, 2018-06-25 at 12:23 +0100, Nicola Buso wrote: > Hi, > > I need to use the TermInSetQuery, but I would like to keep the > sorting > of the results based on the term set order provided. Currently seems > using a index documents insertion order in the results. > > Is this already implemented somewhere or do I need to implement a > CustomScoreQuery to calculate this score? > > Cheers, > > > Nicola > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org