You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@lucene.apache.org by belsen <ga...@gmail.com> on 2010/11/15 14:35:00 UTC

BOOSTING FIELDS NOT SEARCHBLE

Hi to everybody.
is possibile to boost a numeric field who is not searchable?
for example:

i have a field called "rank" which is an integer. 
i would like that a document with a biggest rank has more influency
in solr than a doc with a smaller one.
is it possible?
and i would like to say solr who much this field "rank" influence the
serach...givin a booster
es. title^1 rank^0.8

thanx 
-- 
View this message in context: http://lucene.472066.n3.nabble.com/BOOSTING-FIELDS-NOT-SEARCHBLE-tp1904355p1904355.html
Sent from the Lucene - General mailing list archive at Nabble.com.

RE: BOOSTING FIELDS NOT SEARCHBLE

Posted by belsen <ga...@gmail.com>.
Which honour!! i ordered the book few days ago..i'm waiting for shipping!!!
thank you very much...
-- 
View this message in context: http://lucene.472066.n3.nabble.com/BOOSTING-FIELDS-NOT-SEARCHBLE-tp1904355p1905000.html
Sent from the Lucene - General mailing list archive at Nabble.com.

RE: BOOSTING FIELDS NOT SEARCHBLE

Posted by "Smiley, David W." <ds...@mitre.org>.
Gastone,
  To boost documents by this rank field, you need to use a "function query" (aka boost function):
http://wiki.apache.org/solr/DisMaxQParserPlugin#bf_.28Boost_Functions.29
I discuss these in great detail in my book.

~ David Smiley
 Author: https://www.packtpub.com/solr-1-4-enterprise-search-server/book



-----Original Message-----
From: belsen [mailto:gastone.penzo@gmail.com] 
Sent: Monday, November 15, 2010 8:35 AM
To: general@lucene.apache.org
Subject: BOOSTING FIELDS NOT SEARCHBLE


Hi to everybody.
is possibile to boost a numeric field who is not searchable?
for example:

i have a field called "rank" which is an integer. 
i would like that a document with a biggest rank has more influency
in solr than a doc with a smaller one.
is it possible?
and i would like to say solr who much this field "rank" influence the
serach...givin a booster
es. title^1 rank^0.8

thanx 
-- 
View this message in context: http://lucene.472066.n3.nabble.com/BOOSTING-FIELDS-NOT-SEARCHBLE-tp1904355p1904355.html
Sent from the Lucene - General mailing list archive at Nabble.com.