FAQ
I'm using BM25 Okapi Query form here:
http://nlp.uned.es/~jperezi/Lucene-BM25/

I've a quick question. I've a list of tags: "tag1 tag2 tag3" and I'm
currently passing them to the query in this way:

BM25BooleanQuery okapiQuery = new BM25BooleanQuery("tag1 tag2 tag3",
"tags",
new WhitespaceAnalyzer(org.apache.lucene.util.Version.LUCENE_40));

Are them considered individually, or should I concatenate
multiple BM25BooleanQuery into a BooleanQuery ?

thanks.

This is the constructor doc:

public BM25BooleanQuery(java.lang.String query,
java.lang.String field,
Analyzer analyzer)
throws ParseException,
java.io.IOException

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupjava-user @
categorieslucene
postedApr 19, '11 at 1:29p
activeApr 19, '11 at 1:29p
posts1
users1
websitelucene.apache.org

1 user in discussion

Patrick Diviacco: 1 post

People

Translate

site design / logo © 2021 Grokbase