lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Smiley, David W." <dsmi...@mitre.org>
Subject RE: BOOSTING FIELDS NOT SEARCHBLE
Date Mon, 15 Nov 2010 14:32:26 GMT
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.

Mime
View raw message