I want users to have the possibility to define filters on the
searchindex and to only search in this domain, what would be the best
approach to realize this?
The different filters can be very long and over many terms, in a way
that it would be impratical to rely on filtering at querytime.
The problem that comes to mind when defining flags at indexing time,
is the inability to change a filter without reindexing.
Is it possible to define filters or secondary indices in elasticsearch
that will automatically be cached, in a way that:
- When a user changes a filter, the cache will be updated.
- When new documents are indexed, the cache will be updated. (could I
use a percolator for this?)
- Would it be possible to periodically update the index without
reindexing, updating the flags for the filters. (Could I use a river
Another thing I wondering about, is it possible to merge different indices?