Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions core/rio/jsonld/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
<groupId>org.glassfish</groupId>
<artifactId>jakarta.json</artifactId>
<version>2.0.1</version>
<classifier>module</classifier>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,8 @@ public int compareRegion(ByteBuffer array1, int startIdx1, ByteBuffer array2, in
env = pp.get(0);
}

E(mdb_env_set_maxdbs(env, 12));
// 1 for contexts, 12 for triple indexes (2 per index)
E(mdb_env_set_maxdbs(env, 13));
E(mdb_env_set_maxreaders(env, 256));

// Open environment
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
/*******************************************************************************
* Copyright (c) 2025 Eclipse RDF4J contributors.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Distribution License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
package org.eclipse.rdf4j.sail.lmdb;

import static org.junit.Assert.*;

import java.io.File;

import org.eclipse.rdf4j.sail.lmdb.config.LmdbStoreConfig;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.io.TempDir;

/**
* Test ensuring {@link TripleStore} can handle up to 6 indexes.
*/
public class TripleStoreManyIndexesTest {
private File dataDir;

@BeforeEach
public void before(@TempDir File dataDir) throws Exception {
this.dataDir = dataDir;
}

@Test
public void testSixIndexes() throws Exception {
TripleStore tripleStore = new TripleStore(dataDir,
new LmdbStoreConfig("spoc,posc,ospc,cspo,cpos,cosp"));
tripleStore.startTransaction();
tripleStore.storeTriple(1, 2, 3, 1, true);
tripleStore.commit();

try (TxnManager.Txn txn = tripleStore.getTxnManager().createReadTxn()) {
var it = tripleStore.getTriples(txn, 1, 2, 3, 1, true);
assertNotNull("Store should have a stored statement", it.next());
}
}
}
12 changes: 6 additions & 6 deletions site/content/download.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ toc: true

You can either retrieve RDF4J via Apache Maven, or download the SDK or onejar directly.

## RDF4J 5.1.0 (latest)
## RDF4J 5.1.2 (latest)

RDF4J 5.1.0 is our latest stable release. It requires Java 11 minimally.
For details on what’s new and how to upgrade, see the [release and upgrade notes](/release-notes/5.1.0).
RDF4J 5.1.2 is our latest stable release. It requires Java 11 minimally.
For details on what’s new and how to upgrade, see the [release and upgrade notes](/release-notes/5.1.2).

- [RDF4J 5.1.0 SDK (zip)](http://www.eclipse.org/downloads/download.php?file=/rdf4j/eclipse-rdf4j-5.1.0-sdk.zip)<br/>
- [RDF4J 5.1.2 SDK (zip)](http://www.eclipse.org/downloads/download.php?file=/rdf4j/eclipse-rdf4j-5.1.2-sdk.zip)<br/>
Full Eclipse RDF4J SDK, containing all libraries, RDF4J Server, Workbench, and Console applications, and Javadoc API.

- [RDF4J 5.1.0 onejar](http://www.eclipse.org/downloads/download.php?file=/rdf4j/eclipse-rdf4j-5.1.0-onejar.jar)<br/>
- [RDF4J 5.1.2 onejar](http://www.eclipse.org/downloads/download.php?file=/rdf4j/eclipse-rdf4j-5.1.2-onejar.jar)<br/>
Single jar file for easy inclusion of the full RDF4J toolkit in your Java project.

- [RDF4J artifacts](https://search.maven.org/search?q=org.eclipse.rdf4j) on the [Maven Central Repository](http://search.maven.org/)
Expand All @@ -28,7 +28,7 @@ You can include RDF4J as a Maven dependency in your Java project by including th
<dependency>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-bom</artifactId>
<version>5.1.0</version>
<version>5.1.2</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
14 changes: 14 additions & 0 deletions site/content/news/rdf4j-511.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: "RDF4J 5.1.1 released"
date: 2025-01-28T06:36:24+0100
layout: "single"
categories: ["news"]
---
RDF4J 5.1.1 is now available. This is a patch release fixing 9 bugs.

For more details, have a look at the [release notes](/release-notes/5.1.1).
<!--more-->
### Links

- [Download RDF4J](/download/)
- [release notes](/release-notes/5.1.1).
14 changes: 14 additions & 0 deletions site/content/news/rdf4j-512.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: "RDF4J 5.1.2 released"
date: 2025-02-11T12:44:26+0100
layout: "single"
categories: ["news"]
---
RDF4J 5.1.2 is now available. This is a patch release fixing 1 bugs.

For more details, have a look at the [release notes](/release-notes/5.1.2).
<!--more-->
### Links

- [Download RDF4J](/download/)
- [release notes](/release-notes/5.1.2).
11 changes: 11 additions & 0 deletions site/content/release-notes/5.1.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: "5.1.1"
toc: true
---
RDF4J 5.1.1 is a patch release that fixes 9 issues.

For a complete overview, see [all issues fixed in 5.1.1](https://github.com/eclipse/rdf4j/milestone/116?closed=1).

### Acknowledgements

This release was made possible by contributions from Håvard M. Ottestad, Andreas Schwarte and Benji Herber.
7 changes: 7 additions & 0 deletions site/content/release-notes/5.1.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "5.1.2"
toc: true
---
RDF4J 5.1.2 is a patch release that fixes 1 issues.

For a complete overview, see [all issues fixed in 5.1.2](https://github.com/eclipse/rdf4j/milestone/117?closed=1).
Binary file added site/static/javadoc/5.1.1.tgz
Binary file not shown.
Binary file added site/static/javadoc/5.1.2.tgz
Binary file not shown.
Binary file modified site/static/javadoc/latest.tgz
Binary file not shown.
Loading