Re: [I] segmentInfos.replace() doesn't set userData [lucene]

2023-11-17 Thread via GitHub
uschindler closed issue #12637: segmentInfos.replace() doesn't set userData URL: https://github.com/apache/lucene/issues/12637 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. T

Re: [I] segmentInfos.replace() doesn't set userData [lucene]

2023-10-15 Thread via GitHub
Shibi-bala commented on issue #12637: URL: https://github.com/apache/lucene/issues/12637#issuecomment-1763742706 @msfroh this impacts the ability to snapshot since you can't read old `userData`. Check out the test in my PR: https://github.com/apache/lucene/pull/12626 -- This is an automa

Re: [I] segmentInfos.replace() doesn't set userData [lucene]

2023-10-14 Thread via GitHub
Shibi-bala commented on issue #12637: URL: https://github.com/apache/lucene/issues/12637#issuecomment-1763086904 Yeah exactly. I'd say `userData` isn't metadata so it should get replaced as well. -- This is an automated message from the Apache Git Service. To respond to the message, pleas

Re: [I] segmentInfos.replace() doesn't set userData [lucene]

2023-10-14 Thread via GitHub
msfroh commented on issue #12637: URL: https://github.com/apache/lucene/issues/12637#issuecomment-1763041651 I was curious about this one, and whether it is a bug or intentional. I noticed that the `IndexWriter` constructor that calls `SegmentInfos.replace()` has a comment saying:

[I] segmentInfos.replace() doesn't set userData [lucene]

2023-10-08 Thread via GitHub
Shibi-bala opened a new issue, #12637: URL: https://github.com/apache/lucene/issues/12637 ### Description Found that the [replace method](https://github.com/qcri/solr-6/blob/master/lucene/core/src/java/org/apache/lucene/index/SegmentInfos.java#L875-L878) doesn't set `userData` with t