I have a question about how punctuation and other special characters are handled in the Solr index when using the facets toolkit. I have an index of employees and facets based on their employer. Attempt to constrain the search based on facets works only as long as the company name doesn't contain an ampersand. So for example, the following query works:
fl=*,score&start=0&q=division_t:"Accounting"&company_facet:"Pricewaterhousecooper"&qt=standard&wt=ruby&rows=30 (I'm using acts_as_solr/Rails, so _t fields are Solr.TextField, and _facet fields are Solr.StrField.) However, the following query produces no hits, even though I know from the facets info that there are over 4000 matches in the index: fl=*,score&start=0&q=division_t:"Accounting"&company_facet:"Deloitte+%26+Touche"&qt=standard&wt=ruby&rows=30 I was under the impression that Solr.StrField just indexes the literal string, so I'm confused why this won't work. What's the proper way to feed this query into Solr and get results? Thanks- Jonathan -- View this message in context: http://www.nabble.com/How-does-solr.StrField-handle-punctuation--tp17759824p17759824.html Sent from the Solr - User mailing list archive at Nabble.com.