Hi,

I am trying to use Sarnia + Search API + Search API Solr to retrieve search results from a solr server that indexes "people" from an oracle database. We are trying to create a directory of users within this one website, but the data is constantly changing and is stored in another more secure oracle system.

I have my oracle database indexed in solr and it works exactly like we need it do. I can search by the users first name, last name, email, employee id, and much more. So the solr side of things are good.

That being said, I have tried to use Sarnia + Search API + Search API Solr like some people suggested. Unfortunately, everytime I enable my new search server, it breaks my entire site completely with this error:

SearchApiException: Unknown or invalid item type . in search_api_get_datasource_controller() (line 1278 of/afs/asu.edu/it/drupal/dev/wsi/sites/all/modules/contrib/search_api/search_api.module).

The only way to get the site back up, is to flush the search api & sarnia tables & cache tables.

The thing is, after I create the sarnia server is the UI, I can see it connected to solr and it even recognizes my custom field names, I can see them in the UI. The moment I leave the sarnia UI pages though, it breaks my entire drupal site? I have searched for this error, and some other people experienced it with the UUID module, but we aren't even using that?

To me, the error suggests it is having a problem handling the custom result data being returned to the search api module. I thought Sarnia was supposed to handle that?

I really appreciate any help.

Also, we are using a *ton* of contributed modules on this site....

Thanks!

Comments

Anonymous’s picture

About to try the same exercise... oracle grants database back end, will report how it goes here.

becw’s picture

Status: Active » Needs review

Have you applied the Search API Solr patch from #1413504: Clearing cache results in fatal error because autoloader isn't registered yet (patch)? (Use the latest patch, which at this point is "1413504--solr_client_in_hook_boot-14.patch" from comment #14).

That patch is currently required to run 7.x-1.1-beta2 or 7.x-1.x-dev. If it fixes your issue, please comment in #1413504 and say that the hook_boot patch works for you!

jmdeleon’s picture

Priority: Critical » Normal
Status: Needs review » Closed (cannot reproduce)

Since this issue is over two years old, and appears to be related to configuration, I am closing it.

You are encouraged to try the 2015 beta4 releases which work with the current versions of Search API and Search API Solr.