collective.solr error

2 messages Options
Embed this post
Permalink
airin83 () collective.solr error
Reply Threaded More More options
Print post
Permalink
Hi,
I've tried to integrate Solr in a project installing collective.indexing and collective.solr.
When I set "Active" in Solr Settings of Site Setup, I've this Plone error:

  Module ZPublisher.Publish, line 119, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 42, in call_object
  Module zope.formlib.form, line 770, in __call__
  Module zope.formlib.form, line 762, in render
  Module zope.formlib.form, line 726, in resetForm
  Module plone.fieldsets.form, line 33, in setUpWidgets
  Module zope.formlib.form, line 379, in setUpEditWidgets
  Module zope.schema._field, line 354, in bind
  Module zope.schema._field, line 243, in bind
  Module zope.app.schema.vocabulary, line 34, in get
  Module collective.solr.vocabularies, line 17, in __call__
  Module collective.solr.manager, line 94, in getSchema
  Module collective.solr.solr, line 258, in getSchema
  Module collective.solr.parser, line 128, in __init__
  Module collective.solr.parser, line 142, in parse
KeyError: 'payloads'

Anyone have an idea of this kind of problem?

Valentina
Fred Toth () Re: collective.solr error
Reply Threaded More More options
Print post
Permalink
I had the same problem when trying to use the Solr nightly build. When I used the 1.3.0 release this problem went away.

This appears to have something to do with the Solr schema and what Plone is expecting. I believe that "payloads" is in the new schema but not the old.

Thanks,

Fred