Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Search Not Working

darbeeydarbeey New
edited March 2012 in Vanilla 2.0 - 2.8

When I use the search field or the search page to find something on my website it says No results for keyword. Is there any way i can get the search function to work correctly.

Tagged:

Best Answer

Answers

  • full text index takes a while to index.

    you can try adding + before words, this sometimes helps.

    grep is your friend.

  • OnlyAnExcuseOnlyAnExcuse ✭✭
    edited March 2012

    You could try putting the following into Google it may help until the search index is complete.

    site:http://vanillaforums.org/discussions *search query*

    That works by telling Google to search this site. Replace search query with what you're looking for.

    Might work, but handy for any website as well as this one.

  • ToddTodd Vanilla Staff

    Our host is causing us real pain right now, but the search should be up again.

  • Todd said:
    Our host is causing us real pain right now, but the search should be up again.

    Need a sledge hammer to teach them some lessons? Or is that too harsh?

    There was an error rendering this rich post.

  • x00x00 MVP
    edited June 2012

    @johansonlocker why are you editing the core? If you want like search you can just set a config option. read the code.

    if ($this->_SearchMode == 'like')

    set

    $Configuration['Garden']['Search']['Mode'] = 'like'; // matchboolean, match, boolean, like

    Like search is slow, becuase it isn't a search index.

    grep is your friend.

  • edited June 2012

    @x00,

    why are you editing the core?

    just because of match-mode doesn't work at all. the second point is to write a code with an acceptable results. I don't like the one on this site where searching the word "search" doesn't show topic "Searching" which is found with word combination "search engine", and on the contrary searching words "searching engine" doesn't show this topic "Search Not Working". Also I don't like these both topics are somewhere below inspiteof they are the most appropriate, and have a large quantity of posts where the first of searched words *"search" is present.

    $Configuration['Garden']['Search']['Mode'] = 'like';

    thnx :)

    Like search is slow, becuase it isn't a search index.

    Nonetheless, sometimes the result is more critical than the speed :)

Sign In or Register to comment.