Skip to content

Replace lucene.testSettings.config references with lucene.testsettings.json#1035

Merged
paulirwin merged 1 commit into
apache:masterfrom
paulirwin:issue/997
Nov 19, 2024
Merged

Replace lucene.testSettings.config references with lucene.testsettings.json#1035
paulirwin merged 1 commit into
apache:masterfrom
paulirwin:issue/997

Conversation

@paulirwin

Copy link
Copy Markdown
Contributor
  • You've read the Contributor Guide and Code of Conduct.
  • You've included unit or integration tests for your change, where applicable.
  • You've included inline docs for your change, where applicable.
  • There's an open issue for the PR that you are making. If you'd like to propose a change, please open an issue to discuss the change or find an existing issue.

Replace lucene.testSettings.config references with lucene.testsettings.json

Fixes #997

Description

There were still some places in comments where we were referencing lucene.testSettings.config as the file name for setting your seed/culture, when it should be lucene.testsettings.json. This does a solution-wide find and replace for those occurrences in comments.

@paulirwin paulirwin added the notes:website-or-documentation Documentation or website changes label Nov 19, 2024
@paulirwin paulirwin merged commit 3989c5a into apache:master Nov 19, 2024
@paulirwin paulirwin deleted the issue/997 branch November 19, 2024 17:04
NightOwl888 added a commit that referenced this pull request May 29, 2025
…ress concurrency problems (Fixes #1035, #1135, and #1159) (#1161)

* Lucene.Net.Analysis.Th.ThaiTokenizer + Lucene.Net.Analysis.Icu.Segmentation.ICUTokenizer: Removed static locks that were used to prevent concurent access to BreakIterator. The concurrency issue with BreakIterator has been addressed in ICU4N 60.1.0-alpha.437. Fixes #1044. Fixes #1135.

* .build/dependencies.props: Bumped ICU4N to 60.1.0-alpha.438.g06cf803beb

* azure-pipelines.yml: Bumped SDK version to 9.0.300 so we copy all of the ICU4N satellite assemblies to the build output.

* .build/runbuild.ps1: Bumped minimum SDK version to 9.0.200 so ICU4N satellite assemblies are copied to the build output.

* BUG: Lucene.Net.Analysis.Th.ThaiWordBreaker::SetText(): Clear the transitions array when resetting the text, since there may be state from a previous use.

* Lucene.Net.Analysis.BaseTokenStreamTestCase::CheckAnalysisConsistency(): AssertTokenStreamContents already consumes the token stream and calls Close(), so removed duplicate Close() call in finally block. See #1159.

* Lucene.Net.Analysis.BaseTokenStreamTestCase::AssertTokenStreamContents(): reset the token stream upon error so Close() doesn't throw an invalid state exception that would obscure our real test error message.

* Lucene.Net.Analysis.BaseTokenStreamTestCase (AssertTokenStreamComponents() + CheckAnalysisConsistency()): When using MockTokenizer, disable the state checks upon exception so our call to Close() won't throw another exception that may obscure the original test failure.

* Lucene.Net.Analysis.Th.TestThaiAnalyzer::AssertAnalyzer(): When using MockTokenizer, disable the state checks upon exception so our call to Close() won't throw another exception that may obscure the original test failure.

* Lucene.Net.Analysis (BaseTokenStreamTestCase + Th.TestThaiAnalyzer): Log any secondary exceptions from TokenStream.Close(), since we don't want them to obscure our original test failure message. Throw only in the case where there was no other failure and Close() throws.

* .build/dependencies.props: bumped ICU4N to 60.1.0-alpha.438

* Lucene.Net.Analysis.Th.ThaiTokenizer: Removed extra helper methods/overloads that only existed to synchronize access to the BreakIterator instances
paulirwin added a commit to paulirwin/lucene.net that referenced this pull request Jun 16, 2026
This was referenced Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

notes:website-or-documentation Documentation or website changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix references in docs to lucene.testSettings.config

1 participant