Re: Query the doc frequency across multiple search field.

2016-07-20 Thread Adrien Grand
9 juil. 2016 à 19:08, Xiaolong Zheng > a > > écrit : > > > > > Hi, > > > > > > I want to know is there any way that query the doc frequency across > > > multiple search field? > > > > > > The existing API seems only provide

Re: Query the doc frequency across multiple search field.

2016-07-20 Thread Xiaolong Zheng
qs as the aggregated doc freq. > > Otherwise, you can also compute this number by running a BooleanQuery with > one SHOULD clause per field. > > Le mar. 19 juil. 2016 à 19:08, Xiaolong Zheng a > écrit : > > > Hi, > > > > I want to know is there any way that q

Re: Query the doc frequency across multiple search field.

2016-07-20 Thread Adrien Grand
clause per field. Le mar. 19 juil. 2016 à 19:08, Xiaolong Zheng a écrit : > Hi, > > I want to know is there any way that query the doc frequency across > multiple search field? > > The existing API seems only provide the query for a single search field: > > > indexReader.d

Query the doc frequency across multiple search field.

2016-07-19 Thread Xiaolong Zheng
Hi, I want to know is there any way that query the doc frequency across multiple search field? The existing API seems only provide the query for a single search field: indexReader.docFreq(new Term(field, word)) Any suggestions that I could get the doc frequency from multiple field? Thanks