Question regarding upgrade of search

cmeinck

Well-known member
I read the release notes and it appears to be no different than a typical XenForo upgrade. I just want to be sure, because the initial setup of search was not something I was able to do without seeking paid assistance.

Thanks!
 
Presumably you mean ES.

As long as you comply with the requirements listed in the announcement, it's just a standard add-on upgrade.

http://xenforo.com/community/threads/xenforo-enhanced-search-1-0-1-released.47025/

Requirements
XFES requires that you have elasticsearch 0.16.0 or newer installed. As such, this add-on is only applicable if you have root access to your server (such as with a dedicated server or VPS). XFES also requires XenForo 1.1.1 or newer.
 
You should rebuild the search index.

I'm quoting Mike here...

"A rebuild is not required, but to get the benefits, you will need to. But to get the benefits, you need to click "optimize" on the ES setup page, which would then force you to reindex as it would remove all of the old data"
 
You should rebuild the search index.

To expand

Stuff indexed before 1.0.1 will work as usual, but 1.0.1 includes serveral performance / size improvements (removing the source file), which will not take effect on old content until a full re-index is done. There is a new option in the search settings page one of them being "optimize" which will force you to re-index anyway.
 
I've just run the upgrade on CycleChat and changed the index name in the process (so I had the old and new ones to compare); old index 2.1GB - new optimsed index 1.2GB ... :D

Nice upgrade guys.

Thanks,
Shaun :D
 
Can I just confirm, that the optimise option is one option on the page that you use "after" rebuild, not before? I've used it prior, it still appears. I've used it after, it still appears.
 
Can I just confirm, that the optimise option is one option on the page that you use "after" rebuild, not before? I've used it prior, it still appears. I've used it after, it still appears.
Before, it will have to wipe out the index to properly optimize. I'm not sure why it's appearing still for you though. The only way I could check that is with FTP (or similar) access.

If you don't use ES, where does the default search store the search words? In vBulletin they were in a table called "words".
xf_search_index.
 
Hi Mike,

Now that I'm using ES, there are about 2,500 rows of old data in my xf_search_index, I assume it's safe to truncate this table.

Also is the xf_search table still being used? There are about 2,100 rows of data in it, should I truncate that too?
 
You can truncate the index, but not the search table.

Does ElasticSearch use the xf_index table, or is this table being used by other parts of the Xenforo program?

I wish there was a way of reading the BLOB data using phpmyadmin so I could see the contents of the xf_index table.
 
Top Bottom