Awesome that works great. Thanks a lot!
>>> markrmil...@gmail.com 8/17/2009 5:32:46 PM >>>
Matt Schraeder wrote:
> I'm attempting to write a query as follows:
>
> ($query^10) OR (NOT ($query)) which effectively would return everything, but
> if it matches t
s back. It is set by
default to 10 I believe.
-Original Message-
From: Matt Schraeder [mailto:mschrae...@btsb.com]
Sent: Monday, August 17, 2009 2:04 PM
To: solr-user@lucene.apache.org
Subject: Query not working as expected
I'm attempting to write a query as follows:
($query^1
I'm attempting to write a query as follows:
($query^10) OR (NOT ($query)) which effectively would return everything, but if
it matches the first query it will get a higher score and thus be sorted first
in the result set. Unfortunately the results are not coming back as expected.
($query) w
our desired ordering, and this order can be further
tweaked with other bf or bq arguments.
-Peter
On Thu, Jul 16, 2009 at 9:15 AM, Matt Schraeder
wrote:
> 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
cust
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 Schraeder
wrote
I am trying to come up with a way to sort (or score, and sort based on
the score) of a multivalued field. I was looking at FunctionQueries and
saw fieldvalue, but as that only works on single valued fields that
doesn't help me.
The field is as follows: