You can use CustomScoreQuery with ValueSources.
-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de
> -Original Message-
> From: Meeraj Kunnumpurath [mailto:meeraj.kunnumpur...@asyska.com]
> Sent: Saturday, May 19, 2012 1:20 PM
> To: jav
Hi,
Is this available only with Solr or would it work if I am using plain
Lucene?
Regards
Meeraj
On Sat, May 19, 2012 at 9:07 AM, Ahmet Arslan wrote:
>
> > Is there anyway in a query, I can boost the relevance of a
> > hit based on the value of a numerical field in the index.
> > i.e higher th
Good question!
One way to run it is temporarily comment out the code in the validate
method in
lucene/test-framework/src/java/org/apache/lucene/util/TestRuleAssertionsRequired.java
Maybe we should give this tool a static main instead of running it as
a test case..
Mike McCandless
http://blog.m
Thank you
Sent from my iPad
On 19 May 2012, at 09:07, Ahmet Arslan wrote:
>
>> Is there anyway in a query, I can boost the relevance of a
>> hit based on the value of a numerical field in the index.
>> i.e higher the value of the field, more relevant the hit
>> is.
>
> Yes it is possible. Lik
> Is there anyway in a query, I can boost the relevance of a
> hit based on the value of a numerical field in the index.
> i.e higher the value of the field, more relevant the hit
> is.
Yes it is possible. Like view count, popularity etc. You can use e(dismax)'s bf
boosting function (additive or