sphinx-searchHow to create a delta index in SphinxSearch?
Creating a delta index in SphinxSearch is a two-step process.
- Create a main index and a delta index.
index main
{
type = plain
path = /var/data/main
}
index delta
{
type = delta
path = /var/data/delta
# main index to which delta index will be merged
# after indexing
# mandatory
main = main
}
- Merge the delta index with the main index.
indexer --merge main delta --merge-dst-range deleted 0 0
The --merge
option tells Sphinx to merge the delta index with the main index. The --merge-dst-range
option tells Sphinx to mark all documents in the delta index as deleted in the main index.
Helpful links
More of Sphinx Search
- How to order search results by relevance in SphinxSearch?
- How to specify stop words in SphinxSearch?
- How to use the MySQL protocol in SphinxSearch?
- How to get the version of SphinxSearch?
- How to use SphinxSearch with PHP?
- How to use regexp_filter in SphinxSearch?
- How to use query_log_format in SphinxSearch?
- How to configure max_children in SphinxSearch?
- How to use forward slash in SphinxSearch?
- How to use sql_attr_float in SphinxSearch?
See more codes...