Search results incomplete during full indexing.
Bug #1497122 reported by
Travis Tripp
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Searchlight |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
When a full reindex is being performed, the index is cleared for each document type. There is no way for a client to detect that they have partial results. I believe we need the following:
In /v1/search/plugins
provide a status for each plugin:
Active, Disabled, Indexing
In the future, we might include things like cache latency if we get really smart.
But in addition, we should respond to search queries with some way to detect cache / indexing state. Either a field injected into response body (easiest to pass through proxy layers like horizon django server) or a header. Or ever an outright http rejection with appropriate status code.
Changed in searchlight: | |
milestone: | none → next |
To post a comment you must log in.
I opened a new blueprint on this that should superced this bug. So closing this one for now: https:/ /blueprints. launchpad. net/searchlight /+spec/ zero-downtime- reindexing