Prevent search tables from being populated when search is disabled

Darfuria

Active member
Licensed customer
Is it necessary for the search tables to be populated when search is disabled on XF? If so, is there any way of preventing this from happening?
 
Is it necessary for the search tables to be populated when search is disabled on XF?

I suppose if storage space is a problem then you could free up some space by removing the search index records. Or you could buy more storage from your host which is usually very cheap.

In my testing I found that XenForo maintains the search index records even if the search engine is disabled. I don't see an option disable this.

You can always manually empty the search index from time to time with this query:

Code:
TRUNCATE TABLE xf_search_index;

Then you can rebuild the search index if you ever decide to use the search feature:

Admin CP -> Tools -> Rebuild Caches -> Rebuild Search Index
 
I suppose if storage space is a problem then you could free up some space by removing the search index records. Or you could buy more storage from your host which is usually very cheap.

In my testing I found that XenForo maintains the search index records even if the search engine is disabled. I don't see an option disable this.

You can always manually empty the search index from time to time with this query:

Code:
TRUNCATE TABLE xf_search_index;

Then you can rebuild the search index if you ever decide to use the search feature:

Admin CP -> Tools -> Rebuild Caches -> Rebuild Search Index
Is doing such a thing intensive?
 
The query isn't intensive.

The rebuild is intensive, but that only needs to be done once if you decide to use the search feature at a later time.
 
Back
Top Bottom