Hi Kurt, I toke your fieldtype definition and could not reproduce your problem with solr 3.4.
But I think you have a problem with the ampersand in "A. J. Johnson & Co." Two comments: In your analysis html-example there is a gap of two positions between Johnson and Co. This must not be ("A. J. Johnson & Co." is indexed like "A J Johnson Co"). Possible you have an encoding problem with the ampersand? Do you use solrj for url generation? Best regards Karsten -------- Original-Nachricht -------- > Datum: Wed, 9 Nov 2011 21:47:20 +0000 > Von: "Nordstrom, Kurt" <kurt.nordst...@unt.edu> > An: "solr-user@lucene.apache.org" <solr-user@lucene.apache.org> > Betreff: Unable to determine why query won\'t return results > Hello all. > > I'm having an issue in regards to matching a quoted phrase in Solr, and > I'm not certain what the issue at hand is. > > I have tried this on both Solr 1.3 (Our production system) and 3.3 (Our > development system). > > The field is a text field, and has the following fieldType definition: > http://pastebin.com/SkmmucUE > > In the case where the search is failing, the field is indexed with the > following value: A. J. Johnson & Co. > > We are searching the field with the following string (in quotes): "A. J. > Johnson & Co." > > Unfortunately, we get a response of no results when searching the field in > question with the above specified string. If we search merely for "A. J. > Johnson" (with quotes), we get the desired result. Using the full string, > however, seems to cause the results not to match. > > I have attempted to use Solr's analyzer (without success) to trace the > problem. The results of this are here: > http://pastehtml.com/view/bdgpdrt0w.html > > Any suggestions?