Re: How to use solr.PatternReplaceFilterFactory with ampersand in pattern

2011-07-15 Thread M Singh
That works. Thanks. From: Markus Jelsma To: solr-user@lucene.apache.org Cc: M Singh Sent: Thu, July 14, 2011 4:37:57 PM Subject: Re: How to use solr.PatternReplaceFilterFactory with ampersand in pattern You're in XML so you must escape it properly with

Re: How to use solr.PatternReplaceFilterFactory with ampersand in pattern

2011-07-14 Thread Markus Jelsma
You're in XML so you must escape it properly with & etc. > Hi: > > I am using the solr.PatternReplaceFilterFactory with pattern as follows to > escape ampersand and $ signs: > > replacement="" /> > > I am getting error due to embedded ampersand > > [Fatal Error] schema.xml:

How to use solr.PatternReplaceFilterFactory with ampersand in pattern

2011-07-14 Thread M Singh
Hi: I am using the solr.PatternReplaceFilterFactory with pattern as follows to escape ampersand and $ signs: I am getting error due to embedded ampersand [Fatal Error] schema.xml:82:71: The entity name must immediately follow the '&' in the entity reference. Exception in thread "main