T
T
tp1232015-05-22 13:46:06
Yii
tp123, 2015-05-22 13:46:06

How to do indexing with Sphinx?

There was a small question
. New data is constantly entered into the database, and the question arose of how to index them correctly, give the entire table to Sphinx ... but I think it's better to make a query starting from the last record of the last indexing!
Am I right !?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry, 2018-06-30
@php10

You are calling isAttributeRequired on an object which is null.

I
ivankomolin, 2015-05-22
@ivankomolin

Read about delta indexes.
This is exactly what you need in your situation.
The approximate essence is as follows:
There is a main index that is rarely indexed (this is a full indexing of the entire table)
There is a delta index that is indexed frequently (this is an indexing of new or changed records)
The search is carried out on both indexes

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question