You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jena.apache.org by GitBox <gi...@apache.org> on 2022/07/07 14:33:52 UTC
[GitHub] [jena] kdejaeger opened a new issue, #1432: Fuseki stops updating lucene indexes after /$/compact/
kdejaeger opened a new issue, #1432:
URL: https://github.com/apache/jena/issues/1432
### Version
4.5.0
### What happened?
We have been tirelessly trying to figure out why we couldn't find data anymore through text:query. Now it turns out everything works fine but as soon as you call /$/compact new or updated data doesn't get indexed anymore.
We run the compact like this
`
String[] compactCMD = {
"curl", "-u", "admin:" + appProperties.getFuseki().getAdminPassword(), "-XPOST",
appProperties.getFuseki().getUrl() + "/$/compact/fedora?deleteOld=true"
};
var compactProcess = Runtime.getRuntime().exec(compactCMD);
`
### Relevant output and stacktrace
```shell
@prefix : <http://base/#> .
@prefix fuseki: <http://jena.apache.org/fuseki#> .
@prefix ja: <http://jena.hpl.hp.com/2005/11/Assembler#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix tdb2: <http://jena.apache.org/2016/tdb#> .
@prefix text: <http://jena.apache.org/text#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix ibron: <http://surf.nl/ibron/item/2020/07/> .
tdb2:GraphTDB rdfs:subClassOf ja:Model .
ja:ModelRDFS rdfs:subClassOf ja:Model .
ja:RDFDatasetSink rdfs:subClassOf ja:RDFDataset .
<http://jena.hpl.hp.com/2008/tdb#DatasetTDB>
rdfs:subClassOf ja:RDFDataset .
tdb2:GraphTDB2 rdfs:subClassOf ja:Model .
<http://jena.apache.org/text#TextDataset>
rdfs:subClassOf ja:RDFDataset .
ja:RDFDatasetZero rdfs:subClassOf ja:RDFDataset .
:service_tdb_all rdf:type fuseki:Service ;
rdfs:label "TDB2 fedora" ;
fuseki:dataset :text_dataset ;
fuseki:name "fedora" ;
fuseki:serviceQuery "query" , "" , "sparql" ;
fuseki:serviceReadGraphStore "get" ;
fuseki:serviceReadWriteGraphStore
"data" ;
fuseki:serviceUpdate "" , "update" ;
fuseki:serviceUpload "upload" .
ja:ViewGraph rdfs:subClassOf ja:Model .
ja:GraphRDFS rdfs:subClassOf ja:Model .
tdb2:DatasetTDB rdfs:subClassOf ja:RDFDataset .
<http://jena.hpl.hp.com/2008/tdb#GraphTDB>
rdfs:subClassOf ja:Model .
ja:DatasetTxnMem rdfs:subClassOf ja:RDFDataset .
tdb2:DatasetTDB2 rdfs:subClassOf ja:RDFDataset .
ja:RDFDatasetOne rdfs:subClassOf ja:RDFDataset .
ja:MemoryDataset rdfs:subClassOf ja:RDFDataset .
:text_dataset rdf:type text:TextDataset ;
text:dataset :tdb_dataset_readwrite ;
text:index <#lucene> ;
.
:tdb_dataset_readwrite rdf:type tdb2:DatasetTDB2 ;
tdb2:location "/fuseki-base/databases/fedora" .
ja:DatasetRDFS rdfs:subClassOf ja:RDFDataset .
<#lucene> a text:TextIndexLucene ;
text:directory <file:/fuseki-base/databases/lucene-fedora> ;
text:storeValues true ;
text:entityMap <#entity-map> ;
.
<#entity-map> a text:EntityMap ;
text:entityField "uri" ;
# text:graphField "graph" ; ## enable graph-specific indexing
text:defaultField "text" ; ## Must be defined in the text:map
text:uidField "uid" ;
# text:langField "lang" ;
text:map (
[ text:field "text" ; text:predicate dc:title ]
[ text:field "text" ; text:predicate ibron:subTitle ]
)
```
### Are you interested in making a pull request?
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org
[GitHub] [jena] afs commented on issue #1432: Fuseki stops updating lucene indexes after /$/compact/
Posted by GitBox <gi...@apache.org>.
afs commented on issue #1432:
URL: https://github.com/apache/jena/issues/1432#issuecomment-1184180734
The next release is 4.6.0.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org
[GitHub] [jena] kdejaeger commented on issue #1432: Fuseki stops updating lucene indexes after /$/compact/
Posted by GitBox <gi...@apache.org>.
kdejaeger commented on issue #1432:
URL: https://github.com/apache/jena/issues/1432#issuecomment-1184181288
Around september I guess?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org
[GitHub] [jena] afs closed issue #1432: Fuseki stops updating lucene indexes after /$/compact/
Posted by GitBox <gi...@apache.org>.
afs closed issue #1432: Fuseki stops updating lucene indexes after /$/compact/
URL: https://github.com/apache/jena/issues/1432
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org
[GitHub] [jena] kdejaeger commented on issue #1432: Fuseki stops updating lucene indexes after /$/compact/
Posted by GitBox <gi...@apache.org>.
kdejaeger commented on issue #1432:
URL: https://github.com/apache/jena/issues/1432#issuecomment-1184175140
Hi, is this going into 4.5.1 or later in 4.6?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org
[GitHub] [jena] afs commented on issue #1432: Fuseki stops updating lucene indexes after /$/compact/
Posted by GitBox <gi...@apache.org>.
afs commented on issue #1432:
URL: https://github.com/apache/jena/issues/1432#issuecomment-1179185138
I've managed to recreate this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org