V
V
vtec2015-10-20 08:51:46
Sphinx
vtec, 2015-10-20 08:51:46

How to delete outdated shpinx indexes/records?

There is a mysql base, new directories are added to it with great frequency and old ones are deleted.
What needs to be done so that old values ​​​​are also deleted from sphinx, because "indexer --rotate index", adds new values ​​and updates the changed ones, but does not delete the old ones (this data is no longer in the mysql database).
There is only one index, and the data is added to it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Puma Thailand, 2015-10-20
@opium

indexer --rotate index
does a complete reindexing, old data will not be there unless of course your index is not a delta index.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question