[ 
https://issues.apache.org/jira/browse/JENA-164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13571770#comment-13571770
 ] 

Elli Schwarz commented on JENA-164:
-----------------------------------

Is any further work planned on this issue? I use Fuseki as a remote endpoint, 
connecting to it via creation of an UpdateExecutionFactory and executing it. I 
would really like my indexes to be updated after execution of this update. Is 
there any way to do this?

I already modified my Fuseki pom file to add the LARQ dependency, so I do have 
the Lucene index available, but it is very inconvenient for me to have to take 
down the server and run the command line larqbuilder command to regenerate the 
index. I'd be happy to work on this extension for myself if it's not too 
difficult and if someone could provide me with some tips. I've read all the 
comments here, but I'm not sure how they apply through my pathway of connected 
to Fuseki via the remote endpoint. I don't necessarily care if the index is 
updated automatically via the StatementListener, I just want the index updated 
after my update script is run (anyway, I don't want the listener invoked for 
each statement added by the update script, only when the update script is 
complete).

Thanks!
                
> LARQ needs to update the Lucene index when a SPARQL Update request is received
> ------------------------------------------------------------------------------
>
>                 Key: JENA-164
>                 URL: https://issues.apache.org/jira/browse/JENA-164
>             Project: Apache Jena
>          Issue Type: New Feature
>          Components: LARQ
>            Reporter: Paolo Castagna
>            Assignee: Paolo Castagna
>            Priority: Minor
>   Original Estimate: 96h
>  Remaining Estimate: 96h
>
> LARQ used not to update the Lucene index as RDF statements were added/removed 
> from a Jena Model.
> LARQ is currently extending StatementListener [1] to keep a Lucene index in 
> sync with a Jena Model, however this notification mechanism is not applicable 
> in the case of SPARQL Update requests.
> LARQ needs to update the Lucene index when a SPARQL Update request is 
> received.
> See also a relevant thread from jena-users mailing list:
>  - How to be notified of triples added/deleted to/from a Graph? -- 
> http://markmail.org/thread/l4ymug3ujoqifnty
>  [1] 
> http://svn.apache.org/repos/asf/incubator/jena/Jena2/LARQ/trunk/src/main/java/org/apache/jena/larq/IndexBuilderModel.java

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to