Re: Proper Escaping of Ampersands

2010-08-24 Thread Nikolas Tautenhahn
Hi Chris, On 23.08.2010 21:37, Chris Hostetter wrote: > : The document is indexed correctly, a search for "at s" found it and all > : fields looked great ("at&s and not for example, at&s). > : > : As my stopword list does not contain "at" or "&" or "&", I don't > : quite understand, why my result

Re: Proper Escaping of Ampersands

2010-08-23 Thread Yonik Seeley
I'd recommend going back to the "textgen" field type as defined in the example schema. Your move of the StopFilter is what is causing the problem. At index time, the "s" gets removed (because the StopFilter is now after the WDF). But a query of "at&s" is transformed into "at s" (the s isn't removed

Re: Proper Escaping of Ampersands

2010-08-23 Thread Chris Hostetter
: The document is indexed correctly, a search for "at s" found it and all : fields looked great ("at&s and not for example, at&s). : : As my stopword list does not contain "at" or "&" or "&", I don't : quite understand, why my result is found, when I disable the : stopword-list. My stopwordlist ca

Re: Proper Escaping of Ampersands

2010-08-23 Thread Nikolas Tautenhahn
Hi Yonik, I got it working, but I think the Stopword Filter is not behaving as expected - (The document could be found when I disabled the stopword filter, details later in this mail...) On 20.08.2010 16:57, Yonik Seeley wrote > On Thu, Aug 19, 2010 at 11:33 AM, Nikolas Tautenhahn > wrote: >> Bu

Re: Proper Escaping of Ampersands

2010-08-20 Thread Yonik Seeley
On Thu, Aug 19, 2010 at 11:33 AM, Nikolas Tautenhahn wrote: > Hi, > > I have a problem with, for example, company names like "AT&S". > A Job is sending data to the solr 1.4 (also tested it with 1.4.1) index > via python in XML, everything is escaped properly ("&" becomes "&"). > > When I search fo

Re: Proper Escaping of Ampersands

2010-08-20 Thread Nikolas Tautenhahn
Hi all, just some further information: https://issues.apache.org/jira/browse/SOLR-1250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel seems to be the same problem - but searching the archives yielded nothing I could use. Any hints on this? best regards, Nikolas Tautenhahn Am

Proper Escaping of Ampersands

2010-08-19 Thread Nikolas Tautenhahn
Hi, I have a problem with, for example, company names like "AT&S". A Job is sending data to the solr 1.4 (also tested it with 1.4.1) index via python in XML, everything is escaped properly ("&" becomes "&"). When I search for "at s"(q=%22at%20s%22), using the dismax handler, I find the dataset to