Re: Exact match search problem

2009-02-09 Thread Chris Hostetter
: I have indexed my data as "custom123, customer, custom" for the : "UserName" field. I need to search the records for exact match, when I : am trying to search with UserName:"customer" I am finding the records : where UserName is custom123 and custom. : : As per my understanding solr splits t

Re: Exact match search problem

2009-02-02 Thread Stephen Weiss
Try using fieldtype "string" instead of "text" for the UserName field. Then it will not be tokenized so it should only give exact matches. -- Steve On Feb 2, 2009, at 2:27 AM, mahendra mahendra wrote: Hi, I have indexed my data as "custom123, customer, custom" for the "UserName" fiel

Exact match search problem

2009-02-01 Thread mahendra mahendra
Hi, I have indexed my data as "custom123, customer, custom" for the "UserName" field. I need to search the records for exact match, when I am trying to search with UserName:"customer" I am finding the records where UserName is custom123 and custom. As per my understanding solr splits the Alpha