Le 2 avril 2012 13:01, Rüdiger Kurz <[email protected]> a écrit :
> Hi all,
>
> OpenCms currently uses lucene as search engine. Maybe a future version of
> OpenCms will support solr as well. For infrastructure reasons it would be
> good if there is only one solr server running. Either we would like to use
> the solr instance delivered by stanbol inside OpenCms or we want to tell
> stanbol to use the solr instance from OpenCms. How can we reach this
> targets:
>
> 1. Let Stanbol use the solr instance coming with OpenCms
> 2. Let OpenCms use the solr instance coming with Stanbol

Both solutions should be possible AFAIK: it should be possible to
register external solr server using the ReferencedSolrServer component
configuration:

https://svn.apache.org/repos/asf/incubator/stanbol/trunk/commons/solr/README.md

Alternatively, it should be possible to expose the Solr HTTP API of
the default ManagedSolrServer used by Stanbol services such as the
Content Hub and the Entity Hub on http://server:port/solr/default/ by
I have not yet managed to setup that configuration my self.

-- 
Olivier
http://twitter.com/ogrisel - http://github.com/ogrisel

Reply via email to