Created a custom index as per the doc here ExamineComponent.cs · GitHub and it’s working fine as expected in my local environment, but it’s not working as expected in DEV(Azure).
ISSUE: The custom indexer is changing against the browser session & that’s weird.
For example: if we login to the Umbraco from a browser with normal mode and indexed successfully and tried to login from another browser or in incognito mode then go to examine settings and we can’t see the indexed data, it is changing against the browser session.
And if we try to search from the same browser session(session 1) then the result will show correctly, but if tried to login from another session (incognito mode), then it show’s the data is not indexed
We are experiencing a similar issue with the Umbraco Forms index. We have 1 backoffice instance and 3 website instances, but when using the forms index to determine if a record exists we get 3 different results, randomly displayed to the front-end.
Does the Umbraco Forms index also work in the same way as mentioned in the original thread? Ie as records are saved they are pushed to the website indexes?
And I should add that in a single website instance this works fine. So it feels like that maybe the subsequent instances are not getting updated properly.
Looks like, maybe a session affinity issue, because when we turned that on the issue seemed to go away. What concerns me there is, if I clear my session and login again will I see the correct results…. More testing to do.
I will add that having indexes on each instance seems like a bad idea to me (but I am fairly new to Umbraco). 15 years ago (was it that long?) Sitecore 6 did that and it was a complete mess keeping things in sync, now with solr and other technologies you can have a single index instance and not try to keep multiple copies in sync.