Closed Kotodevochka closed 7 years ago
Okay, so I decided to go with Apache Lucene, not just with ordinary API requests to search across multiple endpoints for some value. Apache Lucene is much better performance-wise and at the same search results will be much more precise than those retrieved using API requests. Index will be built/updated from database entries using asynchronous tasks which will be executed every day (?) for following tables:
Index update is performed only for those entries, which have modified date_changed since last update (or for new entries). Mosty probably we will not keep index in RAM, but on the disk (on development environment we have only 800 mb free RAM).
<3 this task
Now implementing index updating process. Updating logic:
https://github.com/geocollections/geokogud/wiki/Indexing-for-global-search Documented global search.
As a user, I want to have a possibility to search globally (in all tables) for some information.
AC: