E
E
eldar_web2017-10-28 18:42:58
Sphinx
eldar_web, 2017-10-28 18:42:58

What does realtime mean in sphinxsearch (thinking-sphinx)?

Started working at thinking-sphinx on a rail project.
The documentation contains the following code parts:
ThinkingSphinx::Index.define :article, :with => :real_time do
and
ThinkingSphinx::Index.define :article, :with => :active_record do
What does this mean and which one should I put?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Puma Thailand, 2017-10-29
@opium

realtime means you put the data in the sphinx yourself, and do not index any tables or pipes
read the sphinx documentation

D
Dimonchik, 2017-10-28
@dimonchik2013

well, active_record, presumably, is an ORM wrapper, but realtime xs what the author had in mind, if not rt-indexes (unlikely), maybe just put raw sql , you
'll figure it out there))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question