Hi Martin
Are you sure that there are no errors? The web interface usually shows
the text "Invalid Query" in case of an error. The full stack trace can
be found in the logs ({stanbol-home}/sling/logs/error.log).
Regardless of that this are the steps I usually perform to check the
status of a "index" in case of problems.
1) go to RESTful API tab of "http//localhost:8080/entityhub"
2) check the the ReferencedSite for the new index present
3) Click on the link or directly go to
"http//localhost:8080/entityhub/site/{index}"
4) send "curl -H "Accept: application/rdf+xml"
"http://localhost:8080/entityhub/site/{index}" or click to link at the
bottom of the section "Referenced Site Metadata"
5) check for the triple http://localhost:8080/entityhub/site/{index},
http://www.iks-project.eu/ontology/rick/model/localMode,
"true"^^xsd:boolean
6) Go to http://localhost:8080/entityhub/site/{index}/find and search
for an term you know that is part of the index. Do not forget to
change the language and the field if necessary.
if:
2 fails -> this means the the configuration of the ReferencedSite was
not loaded -> this typically indicates that you have not installed the
bundle provided in the "indexing/dist" folder
4 fails -> this means that the configuration of the ReferencedSite was
not successful -> this is very unlikely and there should be some
errors in the log ({stanbol-home}/sling/log/error.log)
5 states that localMode= false : This means that the local index was
not yet initialized -> this typically indicated that you have not yet
copied the "{index}.solrindex.zip" file provided in the
"indexing/dist" folder to "{stanbol-home}/sling/datafiles"
6 fails: this is very unlikely if 1-5 where successful. See the Errors
in the logs
6 does not return the expected data: This indicates that some expected
information where not indexed correctly. You should try to go to
"http://localhost:8080/solr/default/{index}/select?q=*:*" and check
against the data returned by Solr
If steps 1-6 are successful, than a "KeywordLinkingEngine" configured
for {index} should work just fine.
I hope this helps
best
Rupert
2012/2/7 "Netzmühle Internetagentur - Dipl.-Ing. (FH) Martin
Mayrhofer-Reinhartshuber" <[email protected]>:
> Hello Rupert,
>
> i tried to create a new index for the Keyword Linking Engine following the
> online instructions. My Index is based on the Good Relations Schemas.
> It seemed that everything was alright until i tried to activate the engine.
> I registered the engine in the felix console and the Default Engine Chain
> recognized a new engine but when i tried to enhance an text i got no results
> (and also no errors).
>
> Is there a generell problem or did i something wrong during the build
> process of the index.
>
>
>
> Best regards,
> Martin Mayrhofer
>
> --
> Lernen Sie das sensationell neue Online-Shop-Konzept speziell
> für kreative Jungunternehmer und erfolgreiche Lifestyle-Marken kennen.
> Mehr Informationen unter: www.neoshopia.eu
>
> Netzmühle Internetagentur OG
> Franz-Josef-Straße 24
> 5020 Salzburg
> Österreich
>
> Mobil: +43 676 / 66 05 919
> Tel.: +43 662 / 21 66 99
> Fax: +43 662 / 870 127-15
>
> E-Mail: [email protected]
> Web: www.netzmuehle.at
> www.arzt-webdesign.com
> www.neoshopia.eu
>
> FB: www.facebook.com/netzmuehle
>
> UID: ATU66097216
> Firmenbuch: FN 355392 k
>
--
| Rupert Westenthaler [email protected]
| Bodenlehenstraße 11 ++43-699-11108907
| A-5500 Bischofshofen