Custom object should has 'SearchText' property
var client = ServiceLocator.Current.GetInstance<IClient>(); client.Conventions.UnifiedSearchRegistry.Add<TestItem>(); client.Conventions.ForInstancesOf<TestItem>() .IdIs(p => p.Id) .IncludeField(p => p.Name()) .IncludeField(p => p.SearchText());
Good morning,
We are indexing some external data (created additional job for this).
1. What should we do to get this object as a result from UnifiedSearchFor operation?
I get only episerver content in the next request.
2. How can we configure what data will be present in the 'Title', 'ImageUrl'...?
3. How can we set boosting weights to our fields?
It works when we using 'Explore' tab from EPiServer Find (http://localhost/EPiServer/Find/#overview/explore)
I hope you guys can help us to resolve this.
Best regards,
Pavel