[MGNLEESOLR-19] In case of change in content EventListener is triggered twice Created: 19/Dec/14 Updated: 31/Dec/14 Resolved: 22/Dec/14 |
|
| Status: | Closed |
| Project: | Solr Search Provider |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.0 |
| Type: | Bug | Priority: | Neutral |
| 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)
|
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
| Date of First Response: |
| Description |
|
In case of change in content EventListener is triggered twice. First it's because of changes on page, second is because of changes in last modification date property. DeferredChangeListener should be registered (info.magnolia.module.indexer.DataIndexerFactory#init) instead of standard EventListener. |
| Comments |
| Comment by Jaroslav Simak [ 22/Dec/14 ] |
|
Would it be possible to make those delays configurable? |