lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Jelsma <markus.jel...@buyways.nl>
Subject RE: boosting particular field values
Date Wed, 21 Jul 2010 18:48:03 GMT
function queries match all documents


http://wiki.apache.org/solr/FunctionQuery#Using_FunctionQuery

 
-----Original message-----
From: Justin Lolofie <jtal04@gmail.com>
Sent: Wed 21-07-2010 20:24
To: solr-user@lucene.apache.org; 
Subject: boosting particular field values

I'm using dismax request handler, solr 1.4.

I would like to boost the weight of certain fields according to their
values... this appears to work:

bq=category:electronics^5.5

However, I think this boosting only affects sorting the results that
have already matched? So if I only get 10 rows back, I might not get
any records back that are category electronics. If I get 100 rows, I
can see that bq is working. However, I only want to get 10 rows.

How does one affect the kinds of results that are matched to begin
with? bq is the wrong thing to use, right?

Thanks for any help,
Justin

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message