RE: Tried to compact a live TDB2 dataset using Lucene engine but failed

2020-12-08 Thread 李惠玲
Thank you Rob, we've tried what you suggested and it worked! Also glad to know there will be an enhancement about similar issue, it would definitely be helpful. Thank you all for spending time viewing and answering this question, it's grateful to have this mailing list for support. Thanks

Re: Tried to compact a live TDB2 dataset using Lucene engine but failed

2020-12-08 Thread Rob Vesse
Hi In your configuration file you currently define a single service that exposes your #dataset_fulltext dataset, what myself and Andy were suggesting was that you should also define another service that exposes #tdb_dataset_readwrite itself. Then you could submit compact requests to that

RE: Tried to compact a live TDB2 dataset using Lucene engine but failed

2020-12-07 Thread 李惠玲
Thank you Rob, for your answer and suggestion. But what exactly the "define another service that exposes the TDB2 dataset directly" means? Could you please share more details or examples? I apologize if this sounds rude, we basically set this service by personal understanding of online docs

Re: Tried to compact a live TDB2 dataset using Lucene engine but failed

2020-12-07 Thread Rob Vesse
Online compaction will only work if the dataset is directly a TDB2 dataset, if it's wrapped in another dataset e.g. TextDataset as in this example then that won't work You would need to define another service that exposes the TDB2 dataset directly and then instead call /$/compact/ Rob On

RE: Tried to compact a live TDB2 dataset using Lucene engine but failed

2020-12-06 Thread 李惠玲
Hi, To Lorenz: Yes, we are using SNAPSHOT version. To Andy: We tried using "http://location:8080/fuseki/$/compact/lod " to run online compact And here is the config file: @prefix : . @prefix

Re: Tried to compact a live TDB2 dataset using Lucene engine but failed

2020-12-04 Thread Andy Seaborne
Hi - without a config file it's not tpossible to be definitive. A guess - are you applying compact to the text dataset (which may use TDbB2 for storage)? A text dataset may have various different storages. I think you will need to directly expose the TDB2 dataset and send the "compact"