You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the dev cluster the jena.query.ResultSet.hasNext method takes about four seconds to finish. However, the second time to insert the same document, it almost takes 0 second to finish it. Somehow, there is a cache system there. The code looks like:
Query query = QueryFactory.create(q);
QueryExecution qexec = QueryExecutionFactory.create(query, ontModel);
ResultSet results = qexec.execSelect();
String name = field.getName();
Set<String> values = new HashSet<String>();
// results.hasNext() takes a long time
while (results.hasNext()) {
QuerySolution solution = results.next();
The text was updated successfully, but these errors were encountered:
In the dev cluster the jena.query.ResultSet.hasNext method takes about four seconds to finish. However, the second time to insert the same document, it almost takes 0 second to finish it. Somehow, there is a cache system there. The code looks like:
The text was updated successfully, but these errors were encountered: