When you're using a wildcard search, the analysis stage of the query is not invoked. This means that "Please help*" does not go through the Shingle Filter, etc., and therefor doesn't give any hits.
As mentioned in the comments to your question - use an EdgeNgramFilter in the indexing phase instead, and then just submit your query as "Please help". This will then retrieve all documents where the field starts with "Please help", as it will create several versions of the same token (such as "P", "Pl", "Ple", "Plea", "Pleas", "Please", "Please ", "Please H", etc.).
You'll have to adjust the sequence of the filters to match what you need.
You can also use a KeywordTokenizer to get the complete input indexed as a single token (with a LowercaseFilter if you want to), and then use that to match the one, single token against your wildcard search (as no other analysis will need to take place).
Asked in February 2016Viewed 2,706 timesVoted 6Answered 1 times