Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.1.10 DXP FP13, 7.2.10 DXP FP1, 7.2.10.1 DXP SP1, 7.2.1 CE GA2
-
7.2.x, 7.1.x, 7.0.x
-
Committed
-
3
-
4
-
Search| S03 Sprint 9, Search|S03 Sprint 10 |1.6-1.24
-
Regression Bug
Description
Solution notes
In order to get rid of the duplicate data from the System index server admins have to perform a full reindex through the server admin.
Description:
After running a full reindex, there are documents in the system index for company assets such as Journal Articles, Blogs, Bookmarks, Docs & Media, Dynamic Data Lists, Forms, KB, Message Boards, and Wiki.
Steps to Reproduce:
1) Startup Liferay with Remote Elasticsearch (v6.8.3)
2) Create a new Site
3) Create Web Content titled "vanilla" in newly created Site
4) Reindex
5) Hit Elasticsearch port to verify that an index for the new Site was create. For example:
- http://localhost:9200/_cat/indices?v
- Observe liferay-0 & liferay-20101
6) Go to [http://localhost:9200/liferay-[site-index] (i.e 20101)|http://localhost:9200/liferay-[site-index]%20(i.e%2020101)]/_search?q=vanilla&pretty
7) Verify the "vanilla" web content exists
8) Go to http://localhost:9200/liferay-0/_search?q=vanilla&pretty
Expected Result: "vanilla" Web Content does not appear due to it existing in a different Site
Actual Result: The index is duplicated in liferay-0
Additonal Testing:
Repeat same tests in Liferay 7.2 GA1 and observe that liferay-0 index does not return duplicate data
Attachments
Issue Links
- is caused by
-
LPS-93762 Reindex does not consider SYSTEM company index: this can prevent index replication on Elasticsearch
- Closed
- relates
-
LPS-115203 Documents double indexed into System index and company index when performing a reindex on a single model
- Closed