Hi,

I recently installed FacetAPI and I get this error when clicking on a category of a node (which in turn will search for other nodes having the same term/category).
The search itself will return correct results, but I get this error at the top of the result page

Notice: Undefined index: @solr in facetapi_adapter_load() (line 272 of C:\srdc\www\SRDC\sites\all\modules\facetapi\facetapi.module).

By the way, I am using Solr integration module

Can anyone advise me as to the next course of action to take?

Thanks! :)

Comments

cpliakas’s picture

Assigned: xeddre » Unassigned
Priority: Major » Normal

What version of Apache Solr Search Integration are you using?

xeddre’s picture

Hi,

Im using 7.x-1.0-beta8

xeddre’s picture

cpliakas’s picture

If you clear cache does the error go away? Also, what environments do you have defined in apachesolr? Normally Solr adapter ID's are something like "apachesolr@solr", and it seems weird to me that the module is missing from yours.

xeddre’s picture

Nope even when I clear the cache it's not solving the problem.
I did not setup the environment for apachesolr, i guess it did auto-set it.

Is this a problem with facetapi or with apachesolr itself? How can I fix it?

Thanks!

softmax’s picture

Category: support » bug

I can confirm this in my environment.

Notice: Undefined index: @solr in facetapi_adapter_load() (line 272 of C:\xampp\htdocs\drupalcommerce\sites\all\modules\contrib\XTRA_SEARCH\facetapi\facetapi.module).

Facet API version = "7.x-1.0-beta3"
Drupal core = "7.2"

with

apachesolr-module version = "7.x-1.0-beta8" + http://drupal.org/files/issues/Params_should_be_an_array-1204450-4675102...

cpliakas’s picture

Thanks for confirming. This sounds like an Apache Solr Search Integration bug since it is the module that defines it's searchers, however I'll investigate further. Is this a clean install? Were the modules upgraded at any point? Any additional information would be helpful since I cannot replicate this issue.

Also, any debugging of why the module name isn't getting prefixed by either Apache Solr or Facet API would be helpful.

Thanks,
Chris

cpliakas’s picture

Status: Active » Closed (cannot reproduce)

I've done a few clean installs with the 7.x-1.0-beta6 module and the 7.x-1.0-beta8. let's re-open if this issue pops up again.