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 legacy index restoreSortFields speed. #8887

Merged
merged 1 commit into from Feb 28, 2017

Conversation

MishaDemianenko
Copy link
Contributor

@MishaDemianenko MishaDemianenko commented Feb 23, 2017

Recently introduced restoreSortFields have significant performance impact in case if
index contains bunch of fields. This pr fix issue by avoiding multiple iterations
over all document fields.

cl: Improve legacy index restoreSortFields speed. Fix for GH issue #8840

Recently introduced restoreSortFields have significant performance impact in case if
index contains bunch of fields. This pr fix issue by avoiding multiple iterations
over all document fields.
@MishaDemianenko
Copy link
Contributor Author

Fixes #8840

public TargetDirectory.TestDirectory directory = TargetDirectory.testDirForTest( getClass() );

@Test( timeout = TEST_TIMEOUT )
public void legacyIndexPopulationWithBunchOfFields() throws Exception
Copy link
Member

Choose a reason for hiding this comment

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

Is this the performance test that guided the changes? It has unclear goals/assertions IMHO

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

Successfully merging this pull request may close these issues.

None yet

2 participants