You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stanbol.apache.org by Sonia Gomez <go...@hotmail.com> on 2011/12/01 12:50:56 UTC

folder containing data submitted at the content hub

Hi i want reading all informations stored with using solr, but I'm not sure if it's this folder  "C:\Stanbol\sling\entityhub\solrYard\indexes\contenthub\data\index" can you confirm me if  it's the good folder.Thanks :) 		 	   		  

Re: folder containing data submitted at the content hub

Posted by Rupert Westenthaler <ru...@gmail.com>.
HI Sonia

On 01.12.2011, at 12:50, Sonia Gomez wrote:
> 
> Hi i want reading all informations stored with using solr, but I'm not sure if it's this folder  "C:\Stanbol\sling\entityhub\solrYard\indexes\contenthub\data\index" can you confirm me if  it's the good folder.Thanks :) 		 	   		  

The location changed recently:

Up to revision #1205331 the Solr index data are stored within

    {stanbol-dir}/sling/entityhub/solrYad/indexes/{index-name}

later versions store index data within

    {stanbol-dir}/sling/indexes/{solr-server-name}/{index-name}


### About {index-name}:

After starting Stanbol the first time you should see three indexes:

* entityhub: This is where data sent to "http://localhost:8080/entityhub/" are stored
* dbpedia: This is the index storing the local cache for dbpedia.org. In revisions < #1205331 this index is called dbpedia_43k
* contenthub: This index stores enhancements results sent to the "http://localhost:8080/conenthub" RESTful service.


### About {server-name}:

After revision #1205331 it is possible to manage/reference multiple SolrServers [1]. Currently Stanbol - in the default configuration - only uses a singe one with the name "default".


### Accessing Solr RESTful API

If you run a revision > #1195450 the RESTful API of the solrservers is also accessible. This allows easily to check for data stores within the different SolrIndexes

If stanbol is running on you local host you can try

* Contenthub: http://localhost:8080/solr/default/contenthub/select?q=*:*
* DBpedia: http://localhost:8080/solr/default/dbpedia/select?q=Paris (or http://localhost:8080/solr/default/dbpedia_43k/select?q=Paris if revision < #1205331)
* Entityhub: http://localhost:8080/solr/default/entityhub/select?q=*:*

best
Rupert


[1] http://svn.apache.org/repos/asf/incubator/stanbol/trunk/commons/solr/README.md