Epi find "relation" to other object in index possible?



If the following is possible:

I'm using normal episerver find search (Not unified). Version:

I have a custom Index class in EpiServer find named "PersonIndexItem" which contains information name, email, address and other information about a user.

I also have a Custom Index for Schools named "SchoolIndexItem". The school have a principal. When i search for a school and get a hit i would like to display information about the school and also show information about the principal with the exact information as a "PersonIndexItem" hit. I wonder if it is possible in some way create a reference or relationship from SchoolIndexItem:Principal to PersonIndexItem. So that the Principal of the school information is always up to date.

Because the PersonIndexItem updates more frequently than the SchoolIndexItem so the SchoolIndexItem shows old information.

Jul 16, 2018 15:08

It is possible to do that, you could add a property on the class that is an instance of the other class as a extension of the class and then add it to the indexing conversion.

the most important thing to remember is that you are responsible for making shore that all the objects that has connections to the updated object also are updated in the index. 

Jul 16, 2018 19:39
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.