Hi Jerry,

Based on [1] this exception indicates that the index was build with a
newer Solr version as the server used to load the index. This
indicates that your launcher uses an older Solr version as the
Entityhub indexing tool.

I guess that this is related to STANBOL-1162 [2] - upgrade from Solr
4.2 to Solr 4.4. Can you please verify that the
org.apache.stanbol.commons.solr.* bundles used in your launcher are of
a version later as r1525560 [3]

You can also check the exported Solr version for the
org.apache.stanbol.commons.solr.core bundle. Just go to the Bundle tab
of the Felix WebConsole
(http://localhost:8080/system/console/bundles). Search  for the
'org.apache.stanbol.commons.solr.core' bundle and click it to get to
the details view.

This view gives you all the details (e.g. the names of the embedded
jars - those jars should note {name}-4.4.0.jar; the list of exported
packages - those should note {},version=4.4.0) If you find this to be
an earlier version this would explain your problem.

best
Rupert

[1] 
http://lucene.apache.org/core/4_0_0/core/org/apache/lucene/index/IndexFormatTooNewException.html
[2] https://issues.apache.org/jira/browse/STANBOL-1162
[3] http://svn.apache.org/r1525560

On Thu, Oct 17, 2013 at 5:08 AM, Jerry Jacob <jerry.ja...@gmail.com> wrote:
> I am re-sending this as I was not subscribed to the mailing list when I
> initially sent this message last week.
>
>
> Hi,
>
> First of all, Congratulations and Thank You to the Stanbol team for coming
> up with such a fantastic semantic library.
>
> We are trying to create a custom Vocabulary with our Organization specific
> metadata. We are facing an issue while Activating the Bundle through the
> admin console. Below is the error. Also attached the complete stack trace.
>
> Caused by: org.apache.lucene.index.IndexFormatTooNewException: Format
> version is not supported (resource:
> MMapIndexInput(path="C:\Tools\Stanbol\NewIKSBuild\stanbol\indexes\default\lncollaterals-2013.10.11\data\index\_2.nvm")):
> 1 (needs to be between 0 and 0)
>
> Stanbol is started using
> org.apache.stanbol.launchers.full-0.10.0-SNAPSHOT.jar<http://dev.iks-project.eu/downloads/stanbol-launchers/trunk/org.apache.stanbol.launchers.full-0.10.0-SNAPSHOT.jar>
> from
> the trunk and the index is created using
> org.apache.stanbol.entityhub.indexing.genericrdf-0.12.0-SNAPSHOT.jar<http://dev.iks-project.eu/downloads/stanbol-launchers/trunk/org.apache.stanbol.entityhub.indexing.genericrdf-0.12.0-SNAPSHOT.jar>
>
> Is this a version issue? I understand that there is a version difference
> b/w the launcher and the indexing tool but I could not find a proper
> indexing tool that matches the launcher version.
>
> Any help with this is greatly appreciated.
>
> Thanks,
> Jerry



-- 
| Rupert Westenthaler             rupert.westentha...@gmail.com
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen

Reply via email to