Hi João, If you want to use a customized SolrCore configuration for the Entityhub SolrYard the following steps are necessary.
* create your SolrCore configuration within the {name} folder * create a Zip archive of the {name} older * rename the zip to {name}.solrindex.zip files * copy the {name}.solrindex.zip file to the stanbol/datafiles folder NOTE: Is is important that the {name} of the root directory and the {name} in the filename are the same! After that you can configure a new SolrYard instance. Make sure to * enable "Allow Initialization" (org.apache.stanbol.entityhub.yard.solr.useDefaultConfig) * set the "Index Configuration" (org.apache.stanbol.entityhub.yard.solr.configName) to the name of your {name}.solrindex.zip The SolrYard will create the SolrCore on the default Managed SolrServer by using the SolrCore configuration provided by you. An alternative is to use a Referenced SolrServer. In this case you need to manually configured a Solr CoreContainer in the file system. After that you can create a Referenced Solr Server (org.apache.stanbol.commons.solr.managed.impl.ReferencedSolrServer) instance e.g. via the Felix WebConsole. For this component you will need to configure the {server-name} and the file system path to the directory containing the solr.xml. Indexes will be registered as OSGI services and can be referenced within Stanbol by using "{server-name}:{index-name}". Where {server-name} is the name as specified for the Referenced Solr Server and {index-name} are the names of the SolrCore(s) configured in the solr.xml file. best Rupert [1] http://stanbol.apache.org/docs/trunk/components/entityhub/managedsite#configuration-of-a-solryard On Wed, Jun 5, 2013 at 7:18 PM, João Pedro Oliveira <joao.pe...@metatheke.com> wrote: > Hello all. > > Is it possible to create a new Solr Core in a Stanbol instance and configure > it with our own schema.xml file? > If so how can I do it? By the OSGI console? > I've read the information in the site about the Solr integration > (https://stanbol.apache.org/docs/trunk/utils/commons-solr) but I'm still > with a lot of doubts. > > Best Regards > João > > -- > > João Oliveira > Developer > > joao.pe...@metatheke.com > > > Metatheke Software > Rua Senhor dos Milagres, 19 r/c esq - Vera Cruz > 3800-261 Aveiro, Portugal > tel. +351 234 287 203 | fax. +351 234 287 204 > www.metatheke.com | i...@metatheke.com > -- | Rupert Westenthaler rupert.westentha...@gmail.com | Bodenlehenstraße 11 ++43-699-11108907 | A-5500 Bischofshofen