mediacloud / news-search-api

Internal API server that offers search access to the Media Cloud Online News Archive (in Elasticsearch).
https://mediacloud.org
GNU Affero General Public License v3.0
1 stars 3 forks source link

configure to point at multiple indexes #2

Closed rahulbot closed 10 months ago

rahulbot commented 11 months ago

We need to make sure this points at all the ES indexes and collections, used for load sharing and redundancy.

(Split off from https://github.com/mediacloud/story-indexer/issues/92 and https://github.com/mediacloud/story-indexer/issues/87)

rahulbot commented 10 months ago

Resolved, for now this is achieved via setting the INDEXES env-var, but you can only search one at a time. That's OK and we can open a separate bug if we want to search across multiple later.