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 2012/03/15 16:27:27 UTC

Error whene adding new index

Hello
i upgraded my stanbol version this week, when i have try to add new index i have this error 
Problem accessing /entityhub/sites/find. Reason:  Unable to initialize the Cache with Yard "name of my index"

so i not found the file entityhub in my sling file

OLD
sling
  -config
  -datafiles
  -entityhub
  -felix
  -installer
  -logs
  -startup

NEW
sling

  -config

  -datafiles

  -indexes

  -felix

  -installer

  -logs

  -startup


are there a configuration file to solve this mistake ?!!

:) Thank you 
 		 	   		  

Re: Error whene adding new index

Posted by Rupert Westenthaler <ru...@gmail.com>.
Hi

Have you added the {name}.solrindex.zip files for your indexes to the "/sling/datafiles" directory?

On 15.03.2012, at 16:27, Sonia Gomez wrote:

> 
> Hello
> i upgraded my stanbol version this week, when i have try to add new index i have this error 
> Problem accessing /entityhub/sites/find. Reason:  Unable to initialize the Cache with Yard "name of my index"
> 

The cache tries to read the cache configuration from the Index so it is usually the first to complain if the SolrIndex is not available.

> so i not found the file entityhub in my sling file
> 
> OLD
> sling
>  -config
>  -datafiles
>  -entityhub

in previous versions this contained the index data

>  -felix
>  -installer
>  -logs
>  -startup
> 
> NEW
> sling
> 
>  -config
> 
>  -datafiles
> 
>  -indexes
> 
this is the new location of the indexes.

there should be directories like

indexes/default/{index-name}-{date}

>  -felix
> 
>  -installer
> 
>  -logs
> 
>  -startup
> 
> 
> are there a configuration file to solve this mistake ?!!
> 
Nothing new.

 * add the {name}.solrindex.zip file to the sling/datafiles/ folder
 * install the org.apache.stanbol.data.site.{name}-1.0.0.jar bundle

best
Rupert