Search results incomplete during full indexing.

Bug #1497122 reported by Travis Tripp
6
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
Revision history for this message
Travis Tripp (travis-tripp) wrote :

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

Changed in searchlight:
status: New → Invalid
importance: Undecided → Wishlist
milestone: next → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.