-
I've run into an issue with serializing larger index files when modifications occur as described here. If I use this pattern while committing batches of changes to an index in a loop and serialize it into a large enough index file, it will occur that the file is still being written to by the serialization triggered by the previous index modification, resulting in an I am absolutely able to work around that by using e.g. a
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
That's surprising - I would have expected that the LIFTI indexing logic would wait for the index modification actions to complete before returning control back to your code to continue indexing the next batch. It could be a bug I guess, but are you missing an |
Beta Was this translation helpful? Give feedback.
-
I think I found the issue. Unlike the example I was reusing the same instance of |
Beta Was this translation helpful? Give feedback.
I think I found the issue. Unlike the example I was reusing the same instance of
FullTextIndexBuilder
and attached different modification actions (specific to each index) usingWithIndexModificationAction
to it before callingBuild
on it to build an index. That resulted in all index modifications being written to the file of last built index.