Bug #18046
closedpage will be indexed twice for one user
0%
Description
Indexing pages with different users will return wrong searchresults in the following stituation:
I've three useres: user1 (grlist 0,-1), user2 (grlist 0,-2,23), user3 (grlist 0,-2,1)
user1 and user2 will see the same page content.
page content is: word1 word2 word3.
Now I'm visiting this page with all these useres and I get the indexes shown in the image (step 1).
Because of user1 and user2 have the same content they have the same pHash for the site and only one indexed page.
Now I'm changing the content in: word1 word2
Then I'm visiting the page with user1 again.
Now I have two indexes for user one (Image step2). Therefore, if I search for "word3" I will get a result for this page, because "word3" is always in the second index. Even the word does not exist in the content of the page.
I think, the grlist entry for user1 had to be deleted in the grlist of the second index.
(issue imported from #M7259)
Files