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

Improve document index #804

Closed
ChristianGruen opened this issue Nov 24, 2013 · 5 comments
Closed

Improve document index #804

ChristianGruen opened this issue Nov 24, 2013 · 5 comments

Comments

@ChristianGruen
Copy link
Member

Replacing documents with REPLACE or db:replace takes some time and could possibly be sped up by a better persistent document index.

@ChristianGruen
Copy link
Member Author

Related to #798, #568, #429.

@cfoster
Copy link
Contributor

cfoster commented Nov 24, 2013

Thanks for taking a look at this Christian. If you manage to speed up the replacement of fragments, could the ADD and STORE commands make use of this? Or, at least something where a client is trying to insert a fragment doesn't need to know whether the URI is currently in use or not.

@ChristianGruen
Copy link
Member Author

I’m not sure why you think ADD could benefit from this speedup, because ADD is faster anyway, because it ignores duplicate paths. Could you please give me more info on what you mean?

Btw, STORE is different, as it simply stores files in the directory structure. This way, existing files will automatically be overwritten, but if an XML file exists with the same resource path, it won’t be replaced (well, this rarely happens).

@cfoster
Copy link
Contributor

cfoster commented Nov 27, 2013

Still aware of this and will come back.

@ChristianGruen
Copy link
Member Author

I believe this issue is more or less finalized. @cfoster and others: Feedback is welcome!

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

No branches or pull requests

2 participants