Hi rupert

The problem occured twice, but I don't know yet how I can reproduce it.
I'll check next time that it occurs.

Cheers,
Reto
On Apr 5, 2012 1:39 PM, "Rupert Westenthaler" <[email protected]>
wrote:

>
> On 05.04.2012, at 11:33, Reto Bachmann-Gmür wrote:
>
> > Hello,
> >
> > I'm getting the following error on invoking featuredSearch.search("a*");
> >
> > 04.04.2012 13:28:00.623 *INFO* [499054983@qtp-1780804346-0]
> > org.apache.stanbol.enhancer.jobmanager.event.impl.EventJobManagerImpl
> > Finished EnhancementJob for ContentItem
> > <urn:content-item-sha1-308ab8140c595dbad9d3ac81515fac02e6c3e988> after
> 15ms
> > 04.04.2012 13:28:00.628 *ERROR* [499054983@qtp-1780804346-0]
> > com.bradmcevoy.http.StandardFilter process
> java.lang.IllegalStateException:
> > Unknown prefix rdf (parsed from field rdf:type)!
> >    at
> >
> org.apache.stanbol.entityhub.yard.solr.impl.SolrFieldMapper.getFullFieldName(SolrFieldMapper.java:611)
> >
> [...]
> >
> > Has anyone seen this before or an idea waht is causing it?
> >
>
> Yes this happened sometimes before
> https://issues.apache.org/jira/browse/STANBOL-519 got fixed. But as this
> only appeared if new - formally unknown namespaces where added to a
> SolrIndex used by the SolrYard. Because of that it is nearly impossible to
> appear with the RDF namespace.
>
> The prefix mappings are stored in a SolrDocument with the ID
> "urn:eu.iksproject:rick.yard.solr:config.namespacePrefixConfig".
>
> You can actually look at the present mappings by querying for
>
>    q=uri:urn\:eu.iksproject\:rick.yard.solr\:config.namespacePrefixConfig
>
> e.g.
>
>
> http://dev.iks-project.eu:8081/solr/default/dbpedia/select?q=uri:urn\:eu.iksproject\:rick.yard.solr\:config.namespacePrefixConfig
>
> This document should define a field like
>
>    <arr name="_config/rdf">
>        <str>
>            http://www.w3.org/1999/02/22-rdf-syntax-ns#
>        </str>
>    </arr>
>
> defining the RDF namespace.
>
> Reto can you place check this.
>
> best
> Rupert
>
> > Cheers,
> > Reto
>
>

Reply via email to