lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shi Hui Liu <shi...@nextbio.com>
Subject Clarity: Is there a Query boosting 50-50 over 1000-1 ?
Date Wed, 27 Aug 2008 23:34:34 GMT
Hi,

I think I should clarify my question a little bit. I'm using BooleanQuery to combine TermQuery(A)
and TermQuery(B). But I'm not satisfied with its scoring algorigthm. Is there other queries
can boost up the documents with 50 of A and 50 of B on top of documents with 1000 of A and
1 of B? And I'm looking at the source code and found lots of classes are not public and some
important methods are protected. What's the reason? Why make them public and let users to
customize the Query easily?

Thank you very much,
Shi Hui

-----Original Message-----
From: Shi Hui Liu [mailto:shihui@nextbio.com]
Sent: Wednesday, August 27, 2008 11:01 AM
To: java-user@lucene.apache.org
Subject: Is there a Query boosting 50-50 over 1000-1 ?

Hi,

Say, I have a query with two terms: A + B, I want to return the documents with 50 of A and
50 of B on top of documents with 1000 of A and 1 of B. Is there an existing Query class can
handle this case or I have to implement a new Query?

Thank you,
Shi Hui

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message