1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 Should search find words in BBcode?

Discussion in 'Troubleshooting and Problems' started by rebelde, May 25, 2016.

  1. rebelde

    rebelde Member

    This time I will ask before submitting it as a bug.

    I colored text "gray" in a test post, editing the BBcode by hand. I then searched for that color and the post showed in the search results.

    I believe that the search shouldn't match the color that is inside a BBcode [].

    I use ElasticSearch on my board. Stripping tags is something that ElasticSearch can easily do.

    So, is it a bug?

    Here is my search.
    https://xenforo.com/community/search/8248512/?q=gray&o=relevance&c[node]=6&c[user][0]=1926

    Thanks!
     
  2. Mike

    Mike XenForo Developer Staff Member

    We don't strip the BB code from the post, so this is expected. There are situations where this could be useful as some things are printed or part of the content (quote attributions and URLs).

    But as it stands, this is known and working roughly as we would anticipate.
     
  3. rebelde

    rebelde Member

    Alright. Thanks, though as it stands, it can confuse users who find posts and threads without the terms that they searched for.
     

Share This Page