I have an index that has a document with the following text:
John's car is at the shop.
Searching this text for John does not return the document (using the default analyzer). The indexer doesn't seem to consider the single quote as a stop character. The query does not have a single quote so I am not escaping anything - the indexed text has the single quote.
Note that when I search for John's (including the single quote) the correct results get returned. The single quote is ASCII character 39 not some fancy Unicode apostrophe character.
Is this a known issue and if so is there a workaround to this?
Thanks.