We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a6b9f20 + 53060e1 commit 7c9e04fCopy full SHA for 7c9e04f
src/Umbraco.Examine.Lucene/BackOfficeExamineSearcher.cs
@@ -81,6 +81,11 @@ public IEnumerable<ISearchResult> Search(
81
{
82
query = "\"" + g + "\"";
83
}
84
+ else
85
+ {
86
+ // No Guid so no need to search the __Key field to prevent irrelevant results
87
+ fields.Remove(UmbracoExamineFieldNames.NodeKeyFieldName);
88
+ }
89
90
IUser? currentUser = _backOfficeSecurityAccessor?.BackOfficeSecurity?.CurrentUser;
91
0 commit comments