Skip to content
Discussion options

You must be logged in to vote

Thanks for the detailed write-up @bachlge - you've actually surfaced several real problems, not just a usage misunderstanding. I dug into the code and you're right on most of it. Here's what's going on and what we're tracking.

Why your three tests behave differently

The root cause is that EclipseStore has no dirty tracking, and a GigaMap index (Lucene included) is only ever refreshed through the GigaMap mutation methods - add / update / apply / replace / remove. The DocumentPopulator runs inside those calls, not at store() time:

  • internalAdd / internalUpdateIndices call documentPopulator().populate(...) synchronously, and with the default autoCommit=true the Lucene writer is flushed and c…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by bachlge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants