Title: Sphinx: create RT index without reload searchd
Tags: sphinx
Question: Is there any way to create RT without reloading the searchd?
For example, I have script generating sphinx.conf file, where the number of indexes
depends on how many instances of some class I have.
If I create another instance and reload searchd, then for some period of time other
instances can not use search.
Can I create RT indexes dynamically?
Comment: Am I right that ```kill -1 `cat path/to/pid\` ``` with `seamless_rotate = 1` in conf file will do the trick in some way? But can I reload not all indexes but the specific one?

Comment: @barryhunter thanks for help! But to make it all clear, SIGHUP will reload all indexes or just new ones? If all, are there any options to make it load only new ones? (to not waste memory)

Comment: How are you 'reloading' searchd? Sounds like you shutting it down, and starting it up again, which will entail a bit of downtime. Instead you should explicitly 'reload' it. If your init script doesnt have a reload option, then send SIGHUP to the process manaually. Eg with 'kill' command

Comment: Ah `kill -1` is SIGHUP was talking about :) Not sure seamless_rotate will make a direct difference as such, but keep it =1 is probably best.

Comment: Only new ones, or ones with new version available (files with .new. in filename, as prepared by indexer)



{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 0, 'CommentCount': 5, 'ContentLicense': 'CC BY-SA 3.0', 'CreationDate': '2016:00:11/24/16', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<sphinx>', 'Title': 'Sphinx: create RT index without reload searchd', 'ViewCount': 203, 'id': 40785812, 'user_AboutMe': '<p>Programming is my passion. When I first saw how people create things through programming I lost my breath. It was like a miracle, some kind of magic. Since that, I always wanted to learn that magic and build things by myself. Many say that you should work in the area that you like, so my dream always was to be a software / web developer.\nI love to learn new technologies and try new things. With my code, I hope to help others to reach their goals and solve problems. It always brings me pleasure.</p>\n', 'user_AccountId': 7092151.0, 'user_DisplayName': 'C1one_38', 'user_Reputation': 65.0, 'user_Views': 11.0, 'user_id': 5471438.0}}