Jarn / collective.solr

9 stars 1 forks source link

exception when searching in Plone #3

Closed domruf closed 13 years ago

domruf commented 13 years ago

I installed collective.solr in my plone test site but I get the following exception when I search something

... Module zope.tal.talinterpreter, line 343, in interpret Module zope.tal.talinterpreter, line 533, in do_optTag_tal Module zope.tal.talinterpreter, line 518, in do_optTag Module zope.tal.talinterpreter, line 513, in no_tag Module zope.tal.talinterpreter, line 343, in interpret Module zope.tal.talinterpreter, line 583, in do_setLocal_tal Module zope.tales.tales, line 696, in evaluate

hannosch commented 13 years ago

You have a mismatch between your Solr schema and the collective.solr code. Please use the Solr schema from https://github.com/Jarn/collective.solr/blob/2.0/buildout/solr.cfg for collective.solr 2.0.

The current master (what will become 3.0) changes the way the "path" index is emulated and requires a schema change.

I'll fix the installation instructions as shown on PyPi to refer to the correct schema for each version.

domruf commented 13 years ago

yep now it works that was really quick thanks