That's what I'd like to do, but I don't understand how to get the value
to boost it. It looks like I would need to use FunctionQueries, but it
also looks like that doesn't work on multivalued fields. Am I mistaken?
What kind of syntax would the query I'm trying to do require?
>>> peter.wola...@ac
Assuming that you know the unique ID when constructing the query
(which it sounds like you do) why not try a boost query with a high
boost for 2 and a lower boost for 1 - then the default sort by score
should match your desired ordering, and this order can be further
tweaked with other bf or bq ar
The first number is a unique ID that points to a particular customer,
the second is a value. It basically tells us whether or not a customer
already has that product or not. The main use of it is to be able to
search our product listing for products the customer does not already
have.
The alter
The harsh reality of life is that you cannot sort on multivalued fields.
If you can explain your domain problem (the significance of numbers "818",
"2" etc), maybe people can come up with an alternate index design which fits
into your use cases.
Cheers
Avlesh
On Thu, Jul 16, 2009 at 1:18 AM, Matt