We are using the Search API module to implement the search pages on the site.
- A custom backend to store the index. It is powered by Lucene. We were able to get a new search API backend plugin to do CRUD on the indexes.
- This backend also implements the search functionality. It is implemented alright and I am able to retrieve the results in the view of the index.
The custom backend is used by other sites as well (not necessarily on Drupal) to store their index. I want to display results of these sites as well whenever a user does a search on our site.
However, there seems to a limitation in a way Search API module works.
In the custom backend we created, there are following lines which are responsible for letting the module know about the results
$item = $this->getFieldsHelper()->createItem($index, $row->item_id); $results->addResultItem($item);
We took the Database backend as a reference to build this custom functionality from the
search_api_db module which is a part of the
Question: How do I display results from other sites along with the current Drupal site?