lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Foster" <>
Subject [Lucene.Net] escaping single quotes when using query parser
Date Thu, 07 Apr 2011 09:01:23 GMT


How should we escape single quotes when working with the query parser?


Currently we have a description field that may contain single quotes.


Whilst this field is correctly indexed when we search the description no
results are returned. I'm assuming it's because we need to replace the
single quote in the search term with an escaped version.


Many thanks,


Ben Foster


The Elms, Hawton
NG24 3RL




  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message