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

[Backport 2.x] Replace the deprecated IndexReader APIs with new storedFields() & termVectors() #8893

Merged

Conversation

luyuncheng
Copy link
Contributor

Backport 4fd6877 from 7792

Signed-off-by: luyuncheng <[email protected]>
@luyuncheng luyuncheng force-pushed the backport/backport-7792-to-2.x branch from 0c99745 to 2181d99 Compare July 26, 2023 17:08
@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

  • RESULT: UNSTABLE ❕
  • TEST FAILURES:
      1 org.opensearch.smoketest.SmokeTestMultiNodeClientYamlTestSuiteIT.test {yaml=pit/10_basic/Delete all}
      1 org.opensearch.repositories.azure.AzureBlobContainerRetriesTests.testWriteBlobWithRetries
      1 org.opensearch.indices.replication.SegmentReplicationTargetServiceTests.testShardAlreadyReplicating

@codecov
Copy link

codecov bot commented Jul 26, 2023

Codecov Report

Merging #8893 (2181d99) into 2.x (de5e971) will increase coverage by 0.07%.
Report is 3 commits behind head on 2.x.
The diff coverage is 57.14%.

@@             Coverage Diff              @@
##                2.x    #8893      +/-   ##
============================================
+ Coverage     70.73%   70.80%   +0.07%     
- Complexity    57308    57342      +34     
============================================
  Files          4745     4745              
  Lines        271057   271064       +7     
  Branches      39977    39978       +1     
============================================
+ Hits         191723   191921     +198     
+ Misses        62893    62714     -179     
+ Partials      16441    16429      -12     
Files Changed Coverage Δ
...opensearch/common/lucene/search/XMoreLikeThis.java 36.61% <0.00%> (-0.30%) ⬇️
...earch/fetch/subphase/highlight/HighlightUtils.java 40.00% <0.00%> (ø)
...rg/opensearch/index/engine/TranslogLeafReader.java 38.00% <50.00%> (+0.50%) ⬆️
...ensearch/index/termvectors/TermVectorsService.java 17.58% <50.00%> (+0.36%) ⬆️
...ensearch/gateway/PersistedClusterStateService.java 88.65% <100.00%> (+0.23%) ⬆️
...va/org/opensearch/index/engine/InternalEngine.java 73.75% <100.00%> (+0.97%) ⬆️
...opensearch/index/engine/LuceneChangesSnapshot.java 85.41% <100.00%> (ø)
...java/org/opensearch/index/get/ShardGetService.java 60.89% <100.00%> (ø)
...rg/opensearch/index/shard/ShardSplittingQuery.java 57.25% <100.00%> (+21.37%) ⬆️
...n/java/org/opensearch/search/fetch/FetchPhase.java 38.95% <100.00%> (ø)
... and 2 more

... and 470 files with indirect coverage changes

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

  • RESULT: UNSTABLE ❕
  • TEST FAILURES:
      1 org.opensearch.search.SearchWeightedRoutingIT.testStrictWeightedRoutingWithCustomString

@reta reta merged commit 1436a73 into opensearch-project:2.x Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants