Skip to content

Replace LinkedDictionary with OrderedDictionary#1200

Merged
paulirwin merged 1 commit intoapache:masterfrom
ksanjeev284:master
Oct 4, 2025
Merged

Replace LinkedDictionary with OrderedDictionary#1200
paulirwin merged 1 commit intoapache:masterfrom
ksanjeev284:master

Conversation

@ksanjeev284
Copy link
Copy Markdown
Contributor

@ksanjeev284 ksanjeev284 commented Oct 4, 2025

  • 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.

Fixes #1199

Description

Replaced all usages of JCG.LinkedDictionary with JCG.OrderedDictionary across the codebase for consistency and to better match the semantics of LinkedHashMap in the JDK. Updated comments to clarify the change as Lucene.NET specific.

Replaced all usages of JCG.LinkedDictionary with JCG.OrderedDictionary across the codebase for consistency and to better match the semantics of LinkedHashMap in the JDK. Updated comments to clarify the change as Lucene.NET specific.
Copy link
Copy Markdown
Contributor

@paulirwin paulirwin left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! This looks good.

@paulirwin
Copy link
Copy Markdown
Contributor

I just noticed that this is the same issue (#1199) that was assigned to @PrakhyaDas. I'm assuming you two are not the same person.

@ksanjeev284 - Thank you for your contribution, but this might have caused duplicated effort, since the work item was assigned to @PrakhyaDas first. I am going to merge this PR this time, but going forward please check to see if the issue is assigned to someone before working on it or submitting a PR.

@PrakhyaDas - My apologies for this mixup. I hope you'll be interested in contributing to another one of our issues. Please let me know if you need guidance on choosing one! Thanks again.

@paulirwin paulirwin merged commit e9a0be2 into apache:master Oct 4, 2025
276 checks passed
@ksanjeev284
Copy link
Copy Markdown
Contributor Author

Sure @paulirwin, I will make sure to check next time

@NightOwl888 NightOwl888 added notes:breaking-change Has changes that will break backward compatibility notes:performance-improvement Contains a performance improvement labels Nov 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

notes:breaking-change Has changes that will break backward compatibility notes:performance-improvement Contains a performance improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace LinkedDictionary<TKey, TValue> with OrderedDictionary<TKey, TValue>

3 participants