Commit Graph

15 Commits

Author SHA1 Message Date
Thibaud Fabre
79a9411923 Code architecture
- Remove circular dependency between indexer and record indexer
- Restore interface type hints on indexer methods
2016-10-18 21:17:38 +02:00
Jean-Yves Gaulier
cf40c99ea7 PHRAS-714_thesaurus_indexation
- new : if the thesaurus has been modified since it's last indexation, it will be re-indexed as soon a record is to be indexed.
 - nb : after thesaurus modification, the databox MUST be manually re-indexed (which will reindex the thesaurus before)
 - todo : remove useless dialog boxes from thesaurus app (... "this term was..."  "...add with/out reindexing ?..."). To be done in the future app using future routes.
2016-10-12 18:42:16 +02:00
Benoît Burnichon
d93983caeb Add RecordEvent when rotated 2016-02-18 15:28:11 +01:00
Benoît Burnichon
bc855f200d Index on every record change event 2015-12-22 16:49:40 +01:00
Jean-Yves Gaulier
80f3285737 #PHRAS-874 time 2d
type hinting / cs
events renamed / deleted
n+1 removed for status-bits & technical meta
events added (subdef creation / created)
fix : es indexes after all subdefs are created
2015-12-17 20:07:48 +01:00
Mathieu Darse
8262e245de Handle thesaurus events & update index 2015-09-08 14:45:12 +02:00
Benoît Burnichon
cd7d8b5d3b Properly clear cache at end of tests. Avoid side-effects on others tests.
Also prevent flushing empty queues as it load mocked configuration
2015-06-09 11:12:01 +02:00
Benoît Burnichon
d0dee9ea2b Delay indexer instantiation, indexer subscriber can be called synchronously or asynchronously 2015-06-05 14:37:50 +02:00
Nicolas Le Goff
973d7f68a2 Fix subdef path indexing 2015-03-12 20:10:13 +01:00
Mathieu Darse
733bdeb05d More imperative style indexer methods 2015-02-18 18:58:45 +01:00
Mathieu Darse
2faec3686e Refactor indexer job 2015-02-18 18:58:19 +01:00
Mathieu Darse
f422902887 Refactor record fetching
- Extract hydration responsibility into other specialized objects
- Delegate queries to FetcherDelegateInterface to keep a single fetcher
- Fix RecordDeletedEvent crashing
2015-02-17 18:38:17 +01:00
Mathieu Darse
87e5bda333 Fix some syntax errors 2015-02-09 19:23:26 +01:00
Mathieu Darse
0701dfbb30 Rollback media substituted event renaming 2015-02-09 19:19:20 +01:00
Mathieu Darse
a0dad0e96e WIP on reindexing events handling 2015-02-04 19:53:35 +01:00