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

SOLR-15356: MergeIndexes should not use UninvertingReader. #84

Merged
merged 3 commits into from Apr 21, 2021

Conversation

dsmiley
Copy link
Contributor

@dsmiley dsmiley commented Apr 20, 2021

Also change some tests to avoid Lucene's new FieldInfo consistency checks in LUCENE-9334

https://issues.apache.org/jira/browse/SOLR-15356

I'm not sure if there's a valid use-case for addIndexes/merge to use UninvertingReader like some sort of non-docValues to getting docValues migration? If that would work (not even sure), it would require merging into an empty index to keep the FieldInfo's consistent.

Also change some tests to avoid Lucene's new FieldInfo consistency checks in LUCENE-9334
@@ -1765,22 +1765,24 @@ public void testRealtimeGet() throws Exception
@Test
public void testUpdateField() throws Exception {
//no versions
// Use a simple float field. "price"->"price_c" has problems: SOLR-15357 & SOLR-15358
final String field = "price_f";
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@madrob maybe you are interested in this

@dsmiley dsmiley merged commit d6ff3dd into apache:main Apr 21, 2021
epugh pushed a commit to epugh/solr that referenced this pull request Oct 22, 2021
Also change some tests to avoid Lucene's new FieldInfo consistency checks in LUCENE-9334
@dsmiley dsmiley deleted the SOLR-15356_misc branch August 2, 2023 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants