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

XF 1.2 Search integrity here on Xenforo?

Ludachris

Well-known member
#1
I'm wondering if this is how the search will function when I switch my site over from vb... I'm a little concerned. Is there a document that explains how the search functionality works here? One thing I noticed is that I sometimes get unexpected results. How does the search handle multiple keyword terms and partials? And how does the upgraded search differ?

It looks like the doing a search for "announcement" here in the forums returns this post, but I'm not sure why since that keyword is not in the post:
http://xenforo.com/community/threads/converting-a-large-vbulletin-site-to-xenforo.52621/
 

Brogan

XenForo moderator
Staff member
#2
Enhanced Search is installed here, which included the stemming analyzer function.

http://xenforo.com/help/enhanced-search/
The stemming analyzer separates words based on spaces and some punctuation, but goes a step farther and reduces words to their root. This allows a search for "tests" to automatically match results for "test", "testing", "tested", and other similar words. As the algorithm to find the root of a word is language-dependent, this analyzer only works correctly with English content.
The word 'announced' is in the first post.
 

Brogan

XenForo moderator
Staff member
#4
It only works for the Enhanced Search add-on.
If you use standard MySQL search on your own site you don't need to worry about it.
 

Mike

XenForo developer
Staff member
#5
Even with ES, you do need to enable it, but there's no way to disable it on a per search basis (it's likely that the root word is all that's been indexed).
 

Ludachris

Well-known member
#6
I have a forum with nearly 4 million posts and I believe the Enhanced Search is suggested. So I'm trying to figure out how it will work.