You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stanbol.apache.org by harish suvarna <hs...@gmail.com> on 2012/08/15 03:02:28 UTC
config param and engines
I am changing the minimum token size parameter in Stanbol configuration tag
in admin console. But the keywordxtraction engine is not picking up the
change.
Any clues?
Is there a way for me to save my engine chains, engine instance information
that gets stored in the 'stanbol' folder? If I update an engine, I am
removing the stanbol engine to make sure that the changes are picked up
correctly.? Dropping solr index zip is OK but redefining engine chains
again is an inconvenience.
-harish
Re: config param and engines
Posted by Rupert Westenthaler <ru...@gmail.com>.
Hi harish, all
If you want to manage your Stanbol Configuration not via the Felix
Webconsole but via configuration files you can use the "Sling File
Provider". The following text is copied from [3]
- - -
You can also use the Sling Maven Plugin [1] or configure the Sling
File Provider [2]. As there is no documentation here the needed steps
to setup the Sling File Provider
0. Install the "Sling File Provider" Bundle (not needed as this is
included by default)
1. Configure the "sling.fileinstall.dir" property: You can add this to
the "{stanbol-working-dir}/stanbol/sling.properties file" or parse it
as a system property '-Dsling.fileinstall.dir={path-to-dir}' when you
start stanbol.
2. Create the referenced Folder
After that the "Sling File Provider" will automatically
install/update/delete bundles and configurations added/updated/deleted
in that folder.
- - -
I use this for the configuration of the
"http://dev.iks-project.eu:8081/" server. as it makes it really easy
to upgrade Stanbol as it separates the configuration from the
Software.
An other Tip: it is also possible to move the "datafiles" Folder to an
other directory by providing a custom configuration for the
"org.apache.stanbol.commons.stanboltools.datafileprovider.impl.MainDataFileProvider"
component.
I hope this helps
Rupert
[1] http://sling.apache.org/site/sling.html
[2] http://svn.apache.org/repos/asf/sling/tags/org.apache.sling.installer.provider.file-1.0.2
[3] http://markmail.org/message/rtzkfkz2dml7joey
On Wed, Aug 15, 2012 at 12:28 PM, florent andré
<fl...@4sengines.com> wrote:
> You can create a "configbundle" that will store you engines/chains/etc
> configurations and apply them when build and start a new server.
>
> It's really simple and useful.
>
> This bundle is an example of such :
> https://svn.apache.org/repos/asf/incubator/stanbol/trunk/data/defaultconfig/
>
> HTH
> ++
>
>
> On 08/15/2012 03:02 AM, harish suvarna wrote:
>>
>> I am changing the minimum token size parameter in Stanbol configuration
>> tag
>> in admin console. But the keywordxtraction engine is not picking up the
>> change.
>> Any clues?
>>
>> Is there a way for me to save my engine chains, engine instance
>> information
>> that gets stored in the 'stanbol' folder? If I update an engine, I am
>> removing the stanbol engine to make sure that the changes are picked up
>> correctly.? Dropping solr index zip is OK but redefining engine chains
>> again is an inconvenience.
>>
>> -harish
>>
>
--
| Rupert Westenthaler rupert.westenthaler@gmail.com
| Bodenlehenstraße 11 ++43-699-11108907
| A-5500 Bischofshofen
Re: config param and engines
Posted by florent andré <fl...@4sengines.com>.
You can create a "configbundle" that will store you engines/chains/etc
configurations and apply them when build and start a new server.
It's really simple and useful.
This bundle is an example of such :
https://svn.apache.org/repos/asf/incubator/stanbol/trunk/data/defaultconfig/
HTH
++
On 08/15/2012 03:02 AM, harish suvarna wrote:
> I am changing the minimum token size parameter in Stanbol configuration tag
> in admin console. But the keywordxtraction engine is not picking up the
> change.
> Any clues?
>
> Is there a way for me to save my engine chains, engine instance information
> that gets stored in the 'stanbol' folder? If I update an engine, I am
> removing the stanbol engine to make sure that the changes are picked up
> correctly.? Dropping solr index zip is OK but redefining engine chains
> again is an inconvenience.
>
> -harish
>