I am using syncMaster lucence index strategy (because I want real time data)
<strategies hint="list:AddStrategy">
<strategy ref="contentSearch/indexUpdateStrategies/syncMaster" />
</strategies>
I am using Luke - Lucene Index Toolbox to view the index documents.The question I want to ask is, When I rebuild the index my_country_index
. And I know there are 6 country items in sitecore for which I rebuild the index. So with Luke
I see 6 documents.
For one of above item with ID '{DEA26CDA-9EA9-4F67-BB3F-13CAF6A68061}
' with every update for this Item I see an additional document is added (I see with Like). So in the index I have this item with old and new data. Is it the correct behavior for the syncMaster
strategy.
_uniqueid
field in your index configuration: stackoverflow.com/a/26096271/5358985 – Søren Kruse_uniqueid
field. I added it and now its working. Thanks!!!! You made my day. – Kamran