Hi Alessandra
On 10.05.2012, at 19:29, Alessandra Donnini wrote:
> I'm using content-hub, and I would like to provide a script to change my
> thesaurus enhancer engine. Is it sufficient:
> - to update the rdf file in indexing/resources
you mean copying the rdf file to "indexing/resources/rdfdata"
Thats correct. However I would also advise you to delete the
"indexing/resources/tdb" folder to make sure that the old data (cached in this
folder) do not mix with the new one. If so you might still see concepts that
where removed or labels that had chanted in the meantime.
> - to rerun java -Xmx1024m -jar
> org.apache.stanbol.entityhub.indexing.dblp-*-jar-with-dependencies.jar index
> - to update the zip file in {stanbol-root}/sling/datafiles
You need to delete the old file. Wait for >5sec and than copy the new file in
this folder
> - and finally restart stanbol?
Normally the new data should be updated automatically (if you wait the 5sec
instead of just replacing the file). However if this does not work you will
need to go to the Apache Felix Web Console
(http://{host}:{port}/system/console/bundles), search the bundle
"org.apache.stanbol.data.site.{siteid}" and stop/start it. Restarting Stanbol
is not required and will not help.
>
> Moreover I tried to insert in my SKOS thesaurus skos:definition for some
> concepts and my expectation was to find it in enhancement but it did not
> happen. There is a way to control enhancement? Is it possible to add manual
> enhancement to contents in content hub?
>
Currently the KeywordLinkingEngine (or "thesaurus enhancer engine" as you
called it earlier in this mail) does only include a fixed set of properties to
the Enhancement metadata (this mail [1] lists all those properties and
skos:definition is not included. I created STANBOL-611 [2] in response to this
limitation.
best
Rupert
[1] http://markmail.org/message/aqyhogz56rxf7ac6
[2] https://issues.apache.org/jira/browse/STANBOL-611
> thanks
>
> Alessandra Donnini
> Etcware s.r.l. via Etna 13 - 00141 Roma
> [email protected]
> mobile +39 333 8914865
> tel/fax 06 64495131
>
>
>
>
>