sustainability-zhaw / .github

SDG Indexing and Dashboard
0 stars 0 forks source link

add object indexer service #2

Closed phish108 closed 1 year ago

phish108 commented 1 year ago

the sdg-indexer operates on the entire corpus. This is highly inefficient, if only a few new objects are added to the corpus. In those cases a variation of the initial indexer should operate only on those few objects.

The algorithm is pretty straight forward:

phish108 commented 1 year ago

This can be nicely integrated into the regular indexer via the message queue.

The algorithm will run all index terms against the reduced corpus of the added objects.

phish108 commented 1 year ago

We use only indexer.add for corpus indexing via the UI We use only indexer.update

We use only importer.object for indexing newly imported objects