Prevent search tables from being populated when search is disabled

Darfuria

Active member
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?
 
Top Bottom