Re: TermInSetQuery keep terms order in results

2018-07-02 Thread Nicola Buso
e it's missing information. > > > > > > Uwe > > > > > > - > > > Uwe Schindler > > > Achterdiek 19, D-28357 Bremen > > > http://www.thetaphi.de > > > eMail: u...@thetaphi.de > > > > > > > -Orig

Re: TermInSetQuery keep terms order in results

2018-07-02 Thread Michael Sokolov
> http://www.thetaphi.de > > eMail: u...@thetaphi.de > > > > > -Original Message- > > > From: Nicola Buso > > > Sent: Monday, June 25, 2018 5:09 PM > > > To: Uwe Schindler ; java-user@lucene.apache.org > > > Subject: Re: TermIn

Re: TermInSetQuery keep terms order in results

2018-07-02 Thread Nicola Buso
; Achterdiek 19, D-28357 Bremen > http://www.thetaphi.de > eMail: u...@thetaphi.de > > > -Original Message- > > From: Nicola Buso > > Sent: Monday, June 25, 2018 5:09 PM > > To: Uwe Schindler ; java-user@lucene.apache.org > > Subject: Re: TermInSetQuer

RE: TermInSetQuery keep terms order in results

2018-06-25 Thread Uwe Schindler
@lucene.apache.org > Subject: Re: TermInSetQuery keep terms order in results > > Hi Uwe, > > thanks for the reply. TermInSetQuery cover most of my use case: > - thousands of term values (also 100,000) > - no need for scoring, because it's calculated elsewhere > - intersect w

Re: TermInSetQuery keep terms order in results

2018-06-25 Thread Nicola Buso
Hi Uwe, thanks for the reply. TermInSetQuery cover most of my use case: - thousands of term values (also 100,000) - no need for scoring, because it's calculated elsewhere - intersect with normal full text query for further filtering Using a TermQuery do I risk to hit the BooleanQuery.getMaxClause

RE: TermInSetQuery keep terms order in results

2018-06-25 Thread Uwe Schindler
Hi, the TermInSetQuery is a so-called Constant Score Query. It is more meant as a filter, so you would need some "real" fulltext query in parallel. See the term-in-set query more like the SQL "IN" operator. It can be used to pass lots of identifiers to filter results (e.g. when you apply access

Re: TermInSetQuery keep terms order in results

2018-06-25 Thread Nicola Buso
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 TermInSe