mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Don't analyze username in index
This commit is contained in:
@@ -60,7 +60,7 @@ namespace Orchard.Core.Common.Handlers {
|
||||
}
|
||||
|
||||
if (commonPart.Owner != null) {
|
||||
context.DocumentIndex.Add("author", commonPart.Owner.UserName).Analyze().Store();
|
||||
context.DocumentIndex.Add("author", commonPart.Owner.UserName).Store();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user