Hi Rupert,

I too would like to go with the first option for a project I'm working on.

I originally configured a SolrYard (called 'ledIndex') and a ReferencedSite ('led') upon an index I had deployed in {stanbol-working-dir}/datafiles

But since I'm on Drupal 7 I would like to use its Solr Search API module https://drupal.org/project/search_api_solr

So I've been thinking of using a SolrCore configuration, but I already have a Solr Index created with the EntityHub indexing tool - 'led.solrindex.zip' - and thought it would be enough in order to serve it via Solr.

So I went through the following:

On 06/06/2013 05:27, Rupert Westenthaler wrote:
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

I already have a led.solrindex.zip created with the indexing tool - should I not use that one and skip the above steps?

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.

Having already a SolrYard configured for use by a ReferencedSite and the above steps done (org.apache.stanbol.entityhub.yard.solr.configName is set to the filename of the 'led.solrindex.zip' created by the indexing tool),

how can I verify of the SolrCore has been created and what is the endpoint to access it?

With the default configuration I believed I would find it at http://{stanbol-host}/solr/ (as indicated by the org.apache.stanbol.commons.solr.web.SolrServerPublishingComponent) but to no avail.

Basically my doubt is whether the entityhub indexing tool creates a resource that has the same name as the one you need to configure a custom SolrCore, but is not the same thing.

As you might notice I don't dig Solr so please bear with any dumb question on my part.

Thanks

Alessandro


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





--
Alessandro Adamou, Ph.D.

Knowledge Media Institute
The Open University
Walton Hall, Milton Keynes MK7 6AA
United Kingdom


"I will give you everything, just don't demand anything."
(Ettore Petrolini, 1917)

Not sent from my iSnobTechDevice

Reply via email to