DAVID_ROA
DAVID_ROA

Reputation: 309

Sphinx: Parallel Indexing

I use distributed index in sphinx with 5 cores cpu system. So when I want to index/reindex data, I use indexer command like this:

indexer idx1 idx2 idx3 idx4 idx5 [--rotate].

When command issued, indexer starts to indexing data sequential from idx1 to idx5 and works fine. My question is: How can I do this in parallel to make it faster?

Upvotes: 0

Views: 207

Answers (1)

barryhunter
barryhunter

Reputation: 21091

Need to spawn multiple indexer processes in parellel explicitly

The xargs -P is a useful tool.

Upvotes: 1

Related Questions