in the future.
Thanks to everyone who offered suggestions!
Ron
-Original Message-
From: Jonathan Rochkind [mailto:rochk...@jhu.edu]
Sent: Wednesday, August 03, 2011 11:36 AM
To: solr-user@lucene.apache.org
Cc: Olson, Ron
Subject: Re: Strategies for sorting by array, when you can't sort by array
Although you weren't very clear about it, it sounds as if you want the
results to be sorted by a name that actually matched the query? In
general that is not going to be easy, since it is not something that can
be computed in advance and thus indexed.
-Mike
On 08/03/2011 10:39 AM, Olson,
@lucene.apache.org
Cc: Olson, Ron
Subject: Re: Strategies for sorting by array, when you can't sort by array?
Although you weren't very clear about it, it sounds as if you want the
results to be sorted by a name that actually matched the query? In
general that is not going to be easy, since
Hi Ron.
This is an interesting problem you have. One idea would be to create an index
with the entity relationship going in the other direction. So instead of one
to many, go many to one. You would end up with multiple documents with varying
names but repeated parent entity information --
. [mailto:dsmi...@mitre.org]
Sent: Wednesday, August 03, 2011 10:26 AM
To: solr-user@lucene.apache.org
Subject: Re: Strategies for sorting by array, when you can't sort by array?
Hi Ron.
This is an interesting problem you have. One idea would be to create an index
with the entity relationship going
There's no great way to do this. I understand your problem as: It's a
multi-valued field, but you want to sort on whichever of those values
matched the query, not on the values that didn't. (Not entirely clear
what to do if the documents are in the result set becuse of a match in
an entirely
Subject: Re: Strategies for sorting by array, when you can't sort by array?
Hi Ron.
This is an interesting problem you have. One idea would be to create an index
with the entity relationship going in the other direction. So instead of one
to many, go many to one. You would end up with multiple