You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewArgumentException($"'{nameof(fieldName)}' cannot be null or empty",nameof(fieldName));
The name of the fieldName argument is added to the exception message, whereas the argument being checked here is actually the fieldValue. Hence, if you specify a null-or-empty fieldValue, you get a rather confusing exception that mentions the wrong argument.
The text was updated successfully, but these errors were encountered:
See:
Examine/src/Examine.Lucene/Search/LuceneSearchQueryBase.cs
Line 300 in 7ab3746
The name of the fieldName argument is added to the exception message, whereas the argument being checked here is actually the fieldValue. Hence, if you specify a null-or-empty fieldValue, you get a rather confusing exception that mentions the wrong argument.
The text was updated successfully, but these errors were encountered: