Re: UTF8TaxonomyWriterCache inconsistency

2018-07-02 Thread Michael McCandless
Yes please create a Jira issue! Mike On Mon, Jul 2, 2018, 12:31 AM Руслан Торобаев wrote: > Hi! > > I’m facing a problem with taxonomy writer cache inconsistency. At some > point in time UTF8TaxonomyWriterCache starts to return wrong ord for some > facet labels. As result wrong ord are written

Re: TermInSetQuery keep terms order in results

2018-07-02 Thread Nicola Buso
Hi Michael, I have an index that contains the terms of the TermInSetQuery but the score provided at query time, represented by the order in a List of terms, is not known at indexing time; it depend from other calculations done at runtime. What do you mean to index the ordinals? I was wondering if

Re: TermInSetQuery keep terms order in results

2018-07-02 Thread Michael Sokolov
Since you have the terms ordered, why not index their ordinals, and then sort by that? On Mon, Jul 2, 2018, 6:16 AM Nicola Buso wrote: > Hi Uwe, > > as said the sorting is calculated elsewhere upfront and the terms are > provided to Lucene in the order calculated (in any case in an not > ordered

Re: TermInSetQuery keep terms order in results

2018-07-02 Thread Nicola Buso
Hi Uwe, as said the sorting is calculated elsewhere upfront and the terms are provided to Lucene in the order calculated (in any case in an not ordered Set as by the query API). I would like an API to keep the input order otherwise I will end up on the usual problem that I can't re-order afterwar