Hi,
My search results for file attachments are bringing back the following error:
Notice: Undefined property: stdClass::$zm_parent_entity in theme_apachesolr_search_snippets__file() (line 545 of /home/italaw/dev/sites/all/modules/apachesolr_attachments/apachesolr_attachments.module).
Warning: Invalid argument supplied for foreach() in theme_apachesolr_search_snippets__file() (line 545 of /home/italaw/dev/sites/all/modules/apachesolr_attachments/apachesolr_attachments.module)
My setup is:
Acquia Connecter 7.x-2.4
Apache Solr search attachments 7.x-1.0+16-dev
Apache Solr search 7.x-1.0-beta19
I see from .../admin/reports/apachesolr/conf/schema.xml that the schema version is drupal-3.0-beta4 and it doesn't define zm_* field types. Which seems like it might be the source of the problem, as discussed at #9 here: http://drupal.org/node/1543216
Does this sound right? And, if so, is there any way to update the schema.xml file? I see that the beta19 of Apache Solr search module is up to beta16 for schema.xml (and defines zm_* fields).
Thanks.
Comments
Comment #1
nick_vhYou should be able to select beta16-19 in the admin pane of your subscription? Can you confirm and close when appropriate?
Comment #2
nick_vhYou should be able to select beta16-19 in the admin pane of your subscription? Can you confirm and close when appropriate?
Comment #3
nick_vhComment #4
Anonymous (not verified) commentedHad this error too. Check out the README file included with the Drupal apachesolr module. There are some XML files provided in a folder within that module that you can copy into your Solr configuration.
Comment #5
pwolanin commentedIf you are using Acquia Search, you need to select a newer version of the configuration in the Acquia Network website interface, it cannot be done via the module at present.