Re: matching exact/whole phrase

2011-08-09 Thread Erick Erickson
Single quotes aren't part of the Lucene syntax. If you tack on &debugQuery=on, you'll see something like this returned: title_string:'One text:shot Note that the default field in my schema is "text", also note the single quote that's part of " 'One" but not "shot". Try with double quotes, that g

RE: matching exact/whole phrase

2010-01-29 Thread Chris Hostetter
: Is it safe to say in order to do exact matches the field should be a string. It depends on your definition of "exact" If you want exact matches, including unicode codepoints and leading/trailing whitespace, then StrField would probably make sense -- but you could equally use TextField with a

RE: matching exact/whole phrase

2010-01-26 Thread darniz
nse i will put some more questions. Thanks darniz Sandeep Shetty-2 wrote: > > That was the answer I was looking for, I will try that one out > > Thanks Daniel > > -Original Message- > From: Daniel Papasian [mailto:daniel.papas...@chronicle.com] > Sent

RE: matching exact/whole phrase

2008-04-01 Thread Sandeep Shetty
That was the answer I was looking for, I will try that one out Thanks Daniel -Original Message- From: Daniel Papasian [mailto:[EMAIL PROTECTED] Sent: 01 April 2008 16:03 To: solr-user@lucene.apache.org Subject: Re: matching exact/whole phrase Sandeep Shetty wrote: > Hi people, >

Re: matching exact/whole phrase

2008-04-01 Thread Daniel Papasian
Sandeep Shetty wrote: Hi people, I am looking to provide exact phrase match, along with the full text search with solr. I want to achieve the same effect in solr rather than use a separate SQL query. I want to do the following as an example The indexed field has the text "car repair" (without