Re: Highlighting... is highlighting too many fields

2009-09-09 Thread AHMET ARSLAN
--- On Wed, 9/9/09, John Eberly wrote: > From: John Eberly > Subject: Re: Highlighting... is highlighting too many fields > To: solr-user@lucene.apache.org > Date: Wednesday, September 9, 2009, 7:12 PM > Thanks Ahmet, > > Your second suggestion about using the filter qu

Re: Highlighting... is highlighting too many fields

2009-09-09 Thread John Eberly
Thanks Ahmet, Your second suggestion about using the filter query works. Ideally I would like to be able to use the first solution with hl.requireFieldMatch=true, but I cannot seem to get it to work no matter what I do. I changed the query to just 'smith~' and hl.requireFieldMatch=true and I get

Re: Highlighting... is highlighting too many fields

2009-09-08 Thread AHMET ARSLAN
> I currently have highlighting working, but when I search for > Query: "smith~ category_id:(1 OR 2 OR 3)" > Results: "name: Mr. John Smith, > addresses: 1 Main St, NYC, > NY, 552666" > Why does it show highlights on the addresses, when I > specifically sent in a > query for category_id?  When I s

Highlighting... is highlighting too many fields

2009-09-08 Thread John Eberly
I currently have highlighting working, but when I search for Query: "smith~ category_id:(1 OR 2 OR 3)" Results: "name: Mr. John Smith, addresses: 1 Main St, NYC, NY, 552666" Why does it show highlights on the addresses, when I specifically sent in a query for category_id? When I set hl.requireFi