Copied to clipboard

Flag this post as spam?

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


  • pbl_dk 150 posts 551 karma points
    Aug 24, 2018 @ 14:41
    pbl_dk
    0

    Cant search for "+" or "#"

    Hi there. I am working on a site where content is tutorials for C++ and C# among other stuff. I am using Ezsearch.

    But suddenly I found out, that I cannot search for # or +, it returns nothing. So users can't search for "C#" or "C++". Kind of a problem, since the site has tutorials for these..

    What to do?

    the search link is:

    /search?type=bookclub&q=C%23
    
  • Yakov Lebski 591 posts 2346 karma points
    Sep 10, 2018 @ 16:36
    Yakov Lebski
    0
      • this is special characters, you should escape it, you can use built-in Examine function or escape in the raw query - https://lucene.apache.org/core/294/queryparsersyntax.html
Please Sign in or register to post replies

Write your reply to:

Draft