Use the search backend for search API with on-the-fly indexing enabled
Review Request #9312 — Created Oct. 23, 2017 and submitted
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.