[MGNLEESOLR-8] After change on observed content all DataIndexers and CrawlerIndexers are reinitialized Created: 10/Dec/14 Updated: 22/Dec/14 Resolved: 11/Dec/14 |
|
| Status: | Closed |
| Project: | Solr Search Provider |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.0 |
| Type: | Improvement | Priority: | Major |
| Reporter: | Milan Divilek | Assignee: | Milan Divilek |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Description |
|
This is caused by storing "sitemap" property into configurationNode because it restarts content-indexer module which reinitialize all DataIndexers and CrawlerIndexers. "SiteMap" property stores map of indexed content (Key: nodePath, Value: nodeIdentifier), but the map is never used. Only usage of "SiteMap" is "set:set" entry which is added after first indexing. The "set:set" entry is then used in DataIndexer#init method to not retrigger whole indexing again. Also when content is moved just new entry is added into "SiteMap", but old entry(with oldPath) is not deleted. |