RE: Can't search words in quotes

2013-02-27 Thread Jilal Oussama
[mailto:jilal.ouss...@gmail.com] > Sent: 26 February 2013 12:17 PM > To: solr-user@lucene.apache.org > Subject: Re: Can't search words in quotes > > The pattern you are using in the PatternTokenizerFactory does not contain > double quotes, so indexing the text "The Prom

Re: Can't search words in quotes

2013-02-27 Thread Dotan Cohen
On Thu, Feb 28, 2013 at 8:14 AM, Alex Cougarman wrote: > Thanks, Oussama. That was very useful information and we have added the > double quotes. One interesting trick: we had to change the way we did it to > wrap the pattern value in single quotes so we could have double quotes inside. > Hi Al

RE: Can't search words in quotes

2013-02-27 Thread Alex Cougarman
srael Office: +972-4-835-8683 Cell: +972-54-241-4742 acoug...@bwc.org -Original Message- From: Oussama Jilal [mailto:jilal.ouss...@gmail.com] Sent: 26 February 2013 12:17 PM To: solr-user@lucene.apache.org Subject: Re: Can't search words in quotes The pattern you are us

Re: Can't search words in quotes

2013-02-26 Thread Oussama Jilal
The pattern you are using in the PatternTokenizerFactory does not contain double quotes, so indexing the text "The Promulgation of Universal Peace" will results in the following tokens : "The / Promulgation / of / Universal / Peace", that's why Peace will not match Peace". On 02/26/2013 08:0

Can't search words in quotes

2013-02-26 Thread Alex Cougarman
Hi. We have run into an interesting situation when searching for words that are within double-quotes in our documents. For example, when we enter the following search: promulgation AND peace The document in question has this text exactly (with the double quotes): "The Promulgation of Universal