Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mark 255 posts 612 karma points
    Dec 09, 2013 @ 18:26
    Mark
    0

    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:

    <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.&nbsp; If they are currently in Year&nbsp;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?

     

  • Mark 255 posts 612 karma points
    Dec 09, 2013 @ 18:37
    Mark
    0

    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?

  • Mark 255 posts 612 karma points
    Dec 09, 2013 @ 20:48
    Mark
    100

    It seems something had got messed up with the index. I rebuilt and it started working. Something I'll always try in future...

Please Sign in or register to post replies

Write your reply to:

Draft