[opencms-dev] Solr index creation

Rüdiger Kurz r.kurz at alkacon.com
Thu Sep 27 18:26:06 CEST 2012


Hi,

you have to set the right classes for the index, and the field 
configuration like:

<index class="org.opencms.search.solr.CmsSolrIndex">
    [...]
</index>

and

<fieldconfiguration 
class="org.opencms.search.solr.CmsSolrFieldConfiguration">
   [...]
</fieldconfiguration>

otherwise the Lucene search index implementation is used.

Greetings Rüdiger

Am 27.09.2012 18:04, schrieb Siegfried Ehret:
> Hi all,
>
> When I try to create an index with a solr_fields configuration, I got
> the following error : "org.opencms.search.solr.CmsSolrField cannot be
> cast to org.opencms.search.fields.CmsSearchField"
>
> The index is created with the field configuration though.
>
> Should I report this as a bug ?
>
> Peace !
>
> Siegfried Ehret


-- 
Kind Regards,
Rüdiger.

-------------------

Rüdiger Kurz

Alkacon Software GmbH  - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org



More information about the opencms-dev mailing list