I'm trying to create the boost query (bq parameter) effect with the standard
request handler.  Unfortunately, going to the dismax handler isn't really an
option for me, so I'm trying to create a similar effect.

I have an integer field, 'searchTier', that sort of needs to be factored
into every query. Something like:

q=name:something AND (searchTier:1^100 OR searchTier:2^50 OR
searchTier:3^25)

However, if a document has no tier, it should still turn up in the results,
just at the bottom.  Currently it does not.  I had been playing around with
this a couple months ago, and it worked as desired back then.  But after the
1.3 release, the functionality seems to have changed.

I've tried several different ways to get around this:
q=name:something AND (searchTier:1^100 OR searchTier:2^50 OR searchTier:3^25
OR searchTier:[* TO *])
q=name:something AND (searchTier:1^100 OR searchTier:2^50 OR searchTier:3^25
OR -searchTier:[* TO *])

but the first method left out results where searchTier is not set, and the
second method returns no results.

Does it seem like I'm trying to do something that Solr isn't meant to do? I
could have sworn it worked before...
-- 
View this message in context: 
http://www.nabble.com/Boost-Query-effect-with-Standard-Request-Handler-tp20042301p20042301.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to