Re: Searching for string having apostrophe

2014-06-17 Thread Erick Erickson
I really have to ask why you want to search for apostrophes. Usually these are considered junk characters and are best ignored. Best, Erick On Tue, Jun 17, 2014 at 6:03 AM, Shawn Heisey wrote: > On 6/16/2014 11:34 PM, Gaurav Deshpande wrote: >> I want to perform name searches in Solr on String a

Re: Searching for string having apostrophe

2014-06-17 Thread Shawn Heisey
On 6/16/2014 11:34 PM, Gaurav Deshpande wrote: > I want to perform name searches in Solr on String and text datatypes but > names contain apostrophes in it. > > Is there a way I can escape these apostrophes and perform searches ? > > Using '\' before apostrophe results in forbidden access due to

Re: Searching for string having apostrophe

2014-06-16 Thread Ahmet Arslan
Hi, Apostrophes are not part of the special query parser characters. You don't need to escape it. Can you give some examples ? On Tuesday, June 17, 2014 8:35 AM, Gaurav Deshpande wrote: Hi, I want to perform name searches in Solr on String and text datatypes but names contain apostrophes i

Searching for string having apostrophe

2014-06-16 Thread Gaurav Deshpande
Hi, I want to perform name searches in Solr on String and text datatypes but names contain apostrophes in it. Is there a way I can escape these apostrophes and perform searches ? Using '\' before apostrophe results in forbidden access due to cross site scripting attacks. Any help or pointers