Re: Determine which field term was found?

2011-07-21 Thread Yonik Seeley
On Thu, Jul 21, 2011 at 4:47 PM, Olson, Ron rol...@lbpc.com 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

RE: Determine which field term was found?

2011-07-21 Thread Olson, Ron
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, Jul 21, 2011

Re: Determine which field term was found?

2011-07-21 Thread Jonathan Rochkind
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