I am doing a UnifiedSearchFor and I can see that I get results of type VersioningFile.
For these UnifiedSearchHit objects Url and Title properties are empty.
Search view in Find admin shows the file hits correctly.
I had a similiar problem for PageData hits before implementing ISearchContent on my base type.
I have tried projecting the properties in a manor like this without any luck:
SearchClient.Instance.Conventions.UnifiedSearchRegistry .ForInstanceOf<UnifiedFile>() .CustomizeProjection(x => x.ProjectUrlFrom<UnifiedFile>(file => file.VirtualPath));
In my init module I have:
SearchClient.Instance.Conventions.UnifiedSearchRegistry.Add(typeof(UnifiedFile));
I am doing a UnifiedSearchFor and I can see that I get results of type VersioningFile.
For these UnifiedSearchHit objects Url and Title properties are empty.
Search view in Find admin shows the file hits correctly.
I had a similiar problem for PageData hits before implementing ISearchContent on my base type.
I have tried projecting the properties in a manor like this without any luck:
In my init module I have: