RE: Exact match on a filter

2010-06-17 Thread Pete Chudykowski
Wonderful, Thank you both. Pete. -Original Message- From: Erik Hatcher [mailto:erik.hatc...@gmail.com] Sent: Thursday, June 17, 2010 3:33 PM To: solr-user@lucene.apache.org Subject: Re: Exact match on a filter And when you do that, a best practice for fq'ing on a string fie

Re: Exact match on a filter

2010-06-17 Thread Erik Hatcher
And when you do that, a best practice for fq'ing on a string field is: fq={!raw f=field_name}value That avoids query parsing and the hassles associated with escaping special characters. Erik On Jun 17, 2010, at 6:22 PM, Joe Calderon wrote: use a copyField and index the copy as

Re: Exact match on a filter

2010-06-17 Thread Joe Calderon
use a copyField and index the copy as type string, exact matches on that field should then work as the text wont be tokenized On Thu, Jun 17, 2010 at 3:13 PM, Pete Chudykowski wrote: > Hi, > > I'm trying with no luck to filter on the exact-match value of a field. > Speciffically: >  fq=brand:appl