Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where is the index persisted? #17

Open
nghianja opened this issue Jan 15, 2012 · 3 comments
Open

Where is the index persisted? #17

nghianja opened this issue Jan 15, 2012 · 3 comments

Comments

@nghianja
Copy link

Hi all,

After I quick started the indextank-engine and indexed some documents, what will happen to the documents if I shut down the engine? Will the documents along with the index be persisted in some files or do I have to reindexed each time I restart the engine?

Sorry for this series of questions but I can't find any user-guide on deploying my personal indextank. Thank you.

@lsemel
Copy link

lsemel commented Jan 15, 2012

Looks like it writes some files out to ./target/base/index, but I haven't figured out how to get it to reload them when restarting the process. Also, I saw a "dir" parameter referenced in the source code, but changing it doesn't seem to have an effect on where the index is saved.

@santip
Copy link
Contributor

santip commented Jan 18, 2012

It only persists a portion of the required elements to start over. Under the full stack installation indexengines were never stopped and restarted but merely respawned somewhere else by reindexing from log storage.

Adrnai is working on making the persistence more complete so that an engine can be stopped and restarted in a clean fashion. In the mean time, the only approach for the standalone engine implementation would be to reindex from the source.

@lsemel
Copy link

lsemel commented Jan 18, 2012

That's pretty important because without that we'd have to be 100%
perfect at keeping it running without it stopping or crashing, or face
long periods of downtime as it reloads from the logs whenever it
restarts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants