Skip to content

Deprecate CamelCase PathHierarchy tokenizer name#10894

Merged
reta merged 1 commit intoopensearch-project:mainfrom
lukas-vlcek:PathHierarchy
Nov 8, 2023
Merged

Deprecate CamelCase PathHierarchy tokenizer name#10894
reta merged 1 commit intoopensearch-project:mainfrom
lukas-vlcek:PathHierarchy

Conversation

@lukas-vlcek
Copy link
Copy Markdown
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
Copy Markdown
Contributor

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Copy Markdown
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
Copy Markdown
Contributor

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Copy Markdown
Contributor

Gradle Check (Jenkins) Run Completed with:

@codecov
Copy link
Copy Markdown

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
Copy Markdown
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).

@github-actions
Copy link
Copy Markdown
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
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Nov 6, 2023

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Nov 6, 2023

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Copy Markdown
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 <lukas.vlcek@aiven.io>
@github-actions
Copy link
Copy Markdown
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
@reta reta mentioned this pull request Nov 8, 2023
18 tasks
@lukas-vlcek lukas-vlcek deleted the PathHierarchy branch November 8, 2023 15:02
@reta reta mentioned this pull request Nov 15, 2023
26 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 <lukas.vlcek@aiven.io>
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 <lukas.vlcek@aiven.io>
Signed-off-by: Shivansh Arora <hishiv@amazon.com>
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