lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Wilmer <j.wil...@lw-systems.de>
Subject Re: Boosting score based on a 0 to 5 star rating
Date Wed, 02 Feb 2011 16:41:30 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi All,

Am 02.02.2011 16:17, schrieb seb835:
> I therefore want to boost the relevancy score of results that have been
> given a star rating. Now, I can do this quite easily as follows with this
> query:
> 
> "q=CookBook rating_value:1^0.1 rating_value:2^0.2" etc, etc...
> 
> The trouble with this query is as follows. If a book has a star rating of
> anything over 0 (i.e. it actually has a rating), then it gets returned in
> the search results - even if the word "CookBook" doesnt match within the
> book title.
Have you already tried "q=+CookBook rating_value:1^0.1 ... ?


- -- 
Mit freundlichen Grüßen,
- - --
Jens Wilmer
(Softwareentwickler)


- - -- LWsystems GmbH & Co. KG ++ http://www.lw-systems.de/impressum
Tel: 05403 / 5556 ++ Fax: 05403 795 89 97
Ihr Spezialist für Linux, Open Source & IT-Sicherheit
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
LWsystems GmbH & Co. KG Sitz der Gesellschaft: Tegelerweg 11, 49186 Bad
Iburg
Telefon +49 (0)5403 5556 Telefax +49 (0)5403 7958997
Handelsregister: Amtsgericht Osnabrück, HRA 110668 USt.-ID-Nr. DE23852211
Persönlich haftende Gesellschafterin: LWsystems Verwaltungs GmbH
Sitz der Gesellschaft: Tegelerweg 11, 49186 Bad Iburg
Handelsregister: Amtsgericht Osnabrück, HRB 111163
Geschäftsführer: Dipl.-Ing. Ansgar H. Licher, Bad Iburg Dipl.-Ing.
Martin Werthmöller, Ibbenbüren
Für weitere Firmendetails zu LWsystems siehe / For further company
details please look at: http://www.lw-systems.de/impressum
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNSYk6AAoJEMLpTPM5AYjnySIH/RxPKOLa96yQrut1nObAlr49
VdT9XpwFYuGasN58eHXxVETQsG16e4VW3zu8qnIbcYSxHlRwWdpmyEmroiVNHXLW
qvA0dXLmHZuDLM57UAK11s21G/pUTH/J5ZVc6QpOEDL9YZ6AzvhgY9vt+La607Lz
po43Cs9bCOEMHdH/kNes9eOGKoa/zYv/QempuKNYsNIcHtUQjBKH7tEw9D2WheO7
heL4pkN8aJpdI9aPItBLTXRWkgl2xN+4SwI36D2pk6btC8iPF0pgBdant3wgOBuq
LoT42ljiE5EtmaIcz+sTPjMceH2S3AyL8h+3TEievaf1zxwNuDTwSMgvwN0j6Ks=
=IN8+
-----END PGP SIGNATURE-----

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


Mime
View raw message