Hi, I'm trying to understand what Solr is doing when a search for O'Connor and O'Conn* is done.
The first search returns 4 results, which is fine. I would expect the second search to return at least 4 (the same) results, however it fails to return any. I've debugged the query and this is the output: Debug for O'Connor : <str name="rawquerystring">surname:O'Connor</str> <str name="querystring">surname:O'Connor</str> <str name="parsedquery">PhraseQuery(surname:"o connor")</str> <str name="parsedquery_toString">surname:"o connor"</str> Debug for O'Conn* : <str name="rawquerystring">surname:O'Conno*</str> <str name="querystring">surname:O'Conno*</str> <str name="parsedquery">surname:O'Conno*</str> <str name="parsedquery_toString">surname:O'Conno*</str> So as you can see the queries are different but I don't understand why Solr changes them the way it does? Also, searching for Conno* does work. Thanks, C. -- View this message in context: http://lucene.472066.n3.nabble.com/Wildcard-weirdness-tp1849362p1849362.html Sent from the Solr - User mailing list archive at Nabble.com.
