Vulnerability in EPiServer.Forms
I am new to Find, and I have recently taken over a solution based on Find. We are experiencing a problem with a counter, that works on and off.
IContentResult result = _findClient.Search(Language.Norwegian)
The property "TotalMatching" shows either correct number, or 0, on and off. The indexing job goes every 2nd hour.
Does anyone have a clue what might be wrong?
The search results show 0 hits on and off, any clue? We have turned off the indexing job, since this shouldn't be necessary and might also be causing problems.
I do not know why it is like that, but if you can reproduce it locally I would have had Fiddler to log the request to Find for both when it returns 0 and when it's not.
Then you could compare if you see any difference in the request
We have isolated the issue to be caused by wrong access rights in the Find index. Just when the index job has run, the access rights contains "RolesWithReadAccess": "Everyone". But after a while(about 2 hours), this changes and "Everyone" is removed from the RolesWithReadAccess. What could cause this? We have found no scheduled jobs that should do this.
FYI: We are not sure what was the cause or what fixed this, it seems to have been some bug with the find index. The last thing we did, was to set the ContentBatchSize to 10 and cleared the index from Find configuration. Then we reeindexed everything, and it is now stable.