Use the search backend for search API with on-the-fly indexing enabled

Review Request #9312 — Created Oct. 23, 2017 and submitted — Latest diff uploaded

Information

Review Board
release-3.0.x
65305f4...

Reviewers

We now only use the search backend (e.g., Whoosh or Elasticsearch) for
the search API resource when on-the-fly indexing is enabled to prevent
it from returning stale results.

Ran unit tests.