We're seeing an issue where some strings of text are fetching zero results, but shortening the string fetches the results.
E.g. we have a document with the following html:
<p>If your son or daughter is currently in year 11, they will have to continue in education or training until at least the end of the school year in which they turn 17. If they are currently in Year 10 or below, they will have to continue until at least their 18th birthday.</p>
If we search for the term "If your son or daughter is currently in year 11" we get nothing. But searching for "If your son or" gets the results we need. There are lots of other examples I could provide.
Is there a limit on the number of characters allowed in the search term? Or is there a max word count?
It seems the problem is caused when there is a word in the search term that gets converted to a ? character. Is there a way of searching the term without converting those words?
Lucene search term strangeness
We're seeing an issue where some strings of text are fetching zero results, but shortening the string fetches the results.
E.g. we have a document with the following html:
If we search for the term "If your son or daughter is currently in year 11" we get nothing. But searching for "If your son or" gets the results we need. There are lots of other examples I could provide.
Is there a limit on the number of characters allowed in the search term? Or is there a max word count?
It seems the problem is caused when there is a word in the search term that gets converted to a ? character. Is there a way of searching the term without converting those words?
It seems something had got messed up with the index. I rebuilt and it started working. Something I'll always try in future...
is working on a reply...