Re: Problem with porter stemming

2016-07-19 Thread Dwaipayan Roy
​Hello. I want to set LMJelinekMercer Similarity (with lambda set to, say, 0.6) for the Luke similarity calculation. Luke by default use the DefaultSimilarity. Can​ anyone help with this? I use Lucene 4.10.4 and Luke for that version of Lucene index. Dwaipayan

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