-----Original message-----
> From:Daisy <omnia.za...@gmail.com>
> Sent: Mon 24-Sep-2012 15:09
> To: solr-user@lucene.apache.org
> Subject: RE: Solr - Remove specific punctuation marks
> 
> Yes I am trying to index Arabic document. There is a problem that the &&
> regex couldn't be understood in the solr schema and it gives 500 - code
> error.

The config is XML. Try encoding the ampersand as &amp;

> Here is an example:
> 
> input:
> 
> هذا مثال: للتوضيح (مثال علي علامات الترقيم) انتهي.
> 
> I tried also the regex:  pattern="([\(\)\}\{\,[^.:\s+\S+]])"
> but I failed to remove the bracutes from the text above, when i searched for
> a bracket I found result.
> 
> 
> 
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Solr-Remove-specific-punctuation-marks-tp4009795p4009830.html
> Sent from the Solr - User mailing list archive at Nabble.com.
> 

Reply via email to