Hi Adrien,
Thank you for the explanation.
Here is what I have ended up with.
BooleanQuery.Builder builder = new BooleanQuery.Builder();
builder
.add(new MatchAllDocsQuery(), BooleanClause.Occur.FILTER)
.add(new TermQuery(term), BooleanClause.Occur.MUST_NOT);
Ahmet
On Friday, August 11, 2017, 3:58
I got it Erick.. Thank you..
-
Kumaran R
On Fri, Aug 11, 2017 at 10:35 PM, Erick Erickson
wrote:
> Encrypting the _tokens_ inevitably leads to reduced capabilities BTW.
> Trivial example:
> I have these tokens in my index
> run
> runner
> running
> runs
>
> Any non-trivial encryption algorit
Encrypting the _tokens_ inevitably leads to reduced capabilities BTW.
Trivial example:
I have these tokens in my index
run
runner
running
runs
Any non-trivial encryption algorithm will not encrypt the first three
letters "run" identically in all three so searching for run* simply
won't work.
As y
FILTER does the opposite of MUST_NOT.
Regarding scoring, putting the query in a FILTER or MUST_NOT clause is good
enough since such clauses do not need scores. You do not need to add an
additional ConstantScoreQuery wrapper.
Le mar. 8 août 2017 à 23:06, Ahmet Arslan a
écrit :
> Hi all,
> I am t
When I tried to refer to lucene java docs from Dash app, I found it can’t be
install .The developer of the App said that the docs for lucene package don’t
have an index file.
Can developers of lucene add the index file when generate java docs?
By index he means this:
http://docs.oracle.com/jav