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

Need to be able to run queries against multiple indices #14

Closed pgulley closed 9 months ago

pgulley commented 10 months ago

We need to be able to submit queries that search across all indices- the elasticsearch python api supports this already, but the Enum approach to listing the collections makes it impossible to actually run one from an external client. It would be as simple as adding a "mediacloud_searchtext*" to the collections enum here- although overhauling how we find the collections in the api might be a better long term solution.

rahulbot commented 10 months ago

99% of the time the end-user need is to be able to query against all the indexes at once, from both the API and the user interface this software provides. Open questions:

It might be useful internally to keep a list of all the indexes that exist and make that available in addition #13.

rahulbot commented 10 months ago

Very related to #9

pgulley commented 9 months ago

addressed in #16