I've had this problem too, although never come up with a good solution.
I've wondered, is there any clever way to use the highlighter to
accomplish tasks like this, or is that more trouble than any help it'll
get you?
Jonathan
On 7/21/2011 5:27 PM, Yonik Seeley wrote:
On Thu, Jul 21, 2011 a
er-case as to not be worth it?
Thanks a lot for the help!
Ron
-Original Message-
From: ysee...@gmail.com [mailto:ysee...@gmail.com] On Behalf Of Yonik Seeley
Sent: Thursday, July 21, 2011 4:27 PM
To: solr-user@lucene.apache.org
Subject: Re: Determine which field term was found?
On Thu, Ju
On Thu, Jul 21, 2011 at 4:47 PM, Olson, Ron wrote:
> Is there an easy way to find out which field matched a term in an OR query
> using Solr? I have a document with names in two multi-valued fields and I am
> searching for "Smith", using the query "A_NAMES:smith OR B_NAMES:smith". I
> figure I
Hi all-
Is there an easy way to find out which field matched a term in an OR query
using Solr? I have a document with names in two multi-valued fields and I am
searching for "Smith", using the query "A_NAMES:smith OR B_NAMES:smith". I
figure I could loop through both result arrays, but that see