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

Deprecate CamelCase PathHierarchy tokenizer name #10894

Merged
merged 1 commit into from
Nov 8, 2023

Conversation

lukas-vlcek
Copy link
Contributor

@lukas-vlcek lukas-vlcek commented Oct 24, 2023

Description

Deprecate CamelCase PathHierarchy tokenizer name in favor to LowerCase path_hierarchy.

Related Issues

See #2773 (comment)

Note: Taking out all items from the below check list relevant to "new functionality" as there is no new functionality in this PR.

Check List

New functionality includes testing.

  • All tests pass
    New functionality has been documented.
    New functionality has javadoc added
  • Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)
  • Commits are signed per the DCO using --signoff
  • Commit changes are listed out in CHANGELOG.md file (See: Changelog)
  • Public documentation issue/PR created

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

github-actions bot commented Oct 24, 2023

Compatibility status:

Checks if related components are compatible with change cb58488

Incompatible components

Incompatible components: [https://github.com/opensearch-project/performance-analyzer.git]

Skipped components

Compatible components

Compatible components: [https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/security-analytics.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/neural-search.git, https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/opensearch-oci-object-storage.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/custom-codecs.git, https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/cross-cluster-replication.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/reporting.git, https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/sql.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/alerting.git, https://github.com/opensearch-project/performance-analyzer-rca.git]

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@lukas-vlcek
Copy link
Contributor Author

BTW, when back-ported to 2.x changes in 30_tokenizers.yml rest test file should be dropped.

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@codecov
Copy link

codecov bot commented Oct 26, 2023

Codecov Report

Merging #10894 (cb58488) into main (be65f54) will decrease coverage by 0.03%.
Report is 27 commits behind head on main.
The diff coverage is 50.00%.

@@             Coverage Diff              @@
##               main   #10894      +/-   ##
============================================
- Coverage     71.21%   71.19%   -0.03%     
+ Complexity    58689    58677      -12     
============================================
  Files          4870     4870              
  Lines        276539   276545       +6     
  Branches      40190    40190              
============================================
- Hits         196945   196874      -71     
- Misses        63192    63223      +31     
- Partials      16402    16448      +46     
Files Coverage Δ
...ch/analysis/common/CommonAnalysisModulePlugin.java 90.90% <50.00%> (-1.19%) ⬇️

... and 479 files with indirect coverage changes

@lukas-vlcek
Copy link
Contributor Author

Update: While I was trying to implement a test for the deprecation I run into unexpected Lucene problem. See apache/lucene#12750
In the meantime I will need to find a different way of how to implement the test (I think there should be some alternative).

Copy link
Contributor

github-actions bot commented Nov 6, 2023

Gradle Check (Jenkins) Run Completed with:

  • RESULT: UNSTABLE ❕
  • TEST FAILURES:
      1 org.opensearch.repositories.azure.AzureBlobContainerRetriesTests.testWriteBlobWithRetries
      1 org.opensearch.client.PitIT.testDeleteAllAndListAllPits

@lukas-vlcek lukas-vlcek force-pushed the PathHierarchy branch 3 times, most recently from 168b256 to f6d25cd Compare November 6, 2023 16:13
Copy link
Contributor

github-actions bot commented Nov 6, 2023

Gradle Check (Jenkins) Run Completed with:

Copy link
Contributor

github-actions bot commented Nov 6, 2023

Gradle Check (Jenkins) Run Completed with:

Copy link
Contributor

github-actions bot commented Nov 6, 2023

Gradle Check (Jenkins) Run Completed with:

Deprecate CamelCase PathHierarchy tokenizer name in favor to lowercase path_hierarchy.

Signed-off-by: Lukáš Vlček <[email protected]>
Copy link
Contributor

github-actions bot commented Nov 6, 2023

Gradle Check (Jenkins) Run Completed with:

  • RESULT: UNSTABLE ❕
  • TEST FAILURES:
      3 org.opensearch.index.shard.RemoteIndexShardTests.classMethod
      1 org.opensearch.index.shard.RemoteIndexShardTests.testSegmentReplication_With_EngineClosedConcurrently

@reta reta added v3.0.0 Issues and PRs related to version 3.0.0 Indexing & Search labels Nov 6, 2023
@reta reta merged commit a782f4f into opensearch-project:main Nov 8, 2023
34 of 35 checks passed
@reta reta mentioned this pull request Nov 8, 2023
19 tasks
@lukas-vlcek lukas-vlcek deleted the PathHierarchy branch November 8, 2023 15:02
@reta reta mentioned this pull request Nov 15, 2023
19 tasks
rayshrey pushed a commit to rayshrey/OpenSearch that referenced this pull request Mar 18, 2024
…10894)

Deprecate CamelCase PathHierarchy tokenizer name in favor to lowercase path_hierarchy.

Signed-off-by: Lukáš Vlček <[email protected]>
shiv0408 pushed a commit to Gaurav614/OpenSearch that referenced this pull request Apr 25, 2024
…10894)

Deprecate CamelCase PathHierarchy tokenizer name in favor to lowercase path_hierarchy.

Signed-off-by: Lukáš Vlček <[email protected]>
Signed-off-by: Shivansh Arora <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Indexing & Search v3.0.0 Issues and PRs related to version 3.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants