Simplify IndexReader constructor #919
Labels
good-first-issue
Good for newcomers
is:enhancement
New feature or request
performance
pri:low
up-for-grabs
This issue is open to be worked on by anyone
The
IndexReader
constructor is:lucenenet/src/Lucene.Net/Index/IndexReader.cs
Lines 84 to 90 in b1476ae
We can remove the check and error message, since it is declared
private protected
. But we will need aLUCENENET specific
comment to indicate we removed it in the .NET version and enforced it at the compiler level. There may also be tests to confirm this exception is thrown.This can be another issue that is outside of the scope of this PR.
Originally posted by @NightOwl888 in #914 (comment)
The text was updated successfully, but these errors were encountered: