Bart

Firstly TDB is entirely thread safe as it implements serialisable
transactions with a Multiple Reader + Single Writer concurrency model

Secondly it should be possible to configure Fuseki with a TDB dataset that
is attached to a Text Index such that the text index is automatically
updated.  See 
https://github.com/apache/jena/blob/master/jena-fuseki/config-tdb-text.ttl
for an example assembler file that does just this.

Of course if you do updates by taking your Fuseki instance offline and
then using tdbupdate (or an application that updates the TDB dataset) then
the index would not automatically updated and would need to be rebuilt
separately.  A re-index would require read access to the TDB dataset and
write access to the Lucene index so I would guess it could be run while
Fuseki is online though I'm not sure anyone has necessarily ever tried
that.

More details of your workflow would be useful

Thanks,

Rob

On 18/11/2014 16:21, "Bart van Leeuwen" <[email protected]> wrote:

>Hi,
>
>I've played around with Fuseki  1.1.1
>I created a TDB store which I filled with data through the Fuseki control
>panel
>
>I followed the instruction for full text queries at:
>http://jena.apache.org/documentation/query/text-query.html
>
>Everything is up and running and works like expected.
>
>Now the data in the TDB store will be updated now and then is it possible
>to run the index updater while fuseki is still up and running ?
>or do I need to bring fuseki down during that process ? ( I know TDB is
>not thread safe but afaik the indexer is not touching TDB for writing )
>
>What would be the best practice for online index updating ?
>
>Met Vriendelijke Groet / With Kind Regards
>Bart van Leeuwen
>
>##############################################################
># twitter: @semanticfire
># netage.nl
># http://netage.nl
># Enschedepad 76
># 1324 GJ Almere
># The Netherlands
># tel. +31(0)36-5347479
>##############################################################




Reply via email to