searching for q terms that start with a dash/hyphen being interpreted as prohibited clauses

2013-01-17 Thread geeky2
hello environment: solr 3.5 problem statement: i have a requirement to search for part numbers that start with a dash / hyphen. example q= term: *-0004A-0436* example query:

Re: searching for q terms that start with a dash/hyphen being interpreted as prohibited clauses

2013-01-17 Thread Erick Erickson
I think all you need to do is escape the hyphen, or have you tried that already? Best Erick On Thu, Jan 17, 2013 at 1:38 PM, geeky2 gee...@hotmail.com wrote: hello environment: solr 3.5 problem statement: i have a requirement to search for part numbers that start with a dash / hyphen.

Re: searching for q terms that start with a dash/hyphen being interpreted as prohibited clauses

2013-01-17 Thread Jack Krupansky
Or put the term in quotes. -- Jack Krupansky -Original Message- From: Erick Erickson Sent: Thursday, January 17, 2013 6:59 PM To: solr-user@lucene.apache.org Subject: Re: searching for q terms that start with a dash/hyphen being interpreted as prohibited clauses I think all you