Details
-
Improvement
-
Resolution: Unresolved
-
High
-
None
-
None
-
None
-
None
Description
Allowing developers to access the db-based Search service even when Solr/Elastic is available comes with many benefits:
- expert devs can pick the best search service available based on their requirements (tradeoffs memory/speed)
- allows to access the DB for searching stuff without having to access directly the SPI (allows not to hardcode knowledge of db layout)
- allows easy comparison of data found in solr vs db
- allows to access the DB for searching stuff without having to wait for solr/elastic to commit their index (useful when creating stuff then immediately searching for it)
An example script that would benefit from this is `ezplatform:reindex`, as it could be rewritten to make use of db-based Search service instead of hardcoding usage of Doctrine and knowledge about db schema...