At the same time, I added the sail parameter maxQueryDocuments to set the maximum amount of documents the user can query. By default, it takes the value of maxDocuments to keep a backward compatibility.
LuceneSail lc = new LuceneSail();
lc.setParameter(LuceneSail.MAX_QUERY_DOCUMENTS_KEY, "200");
GitHub issue resolved: #5149
Briefly describe the changes proposed in this PR:
I added a virtual property to specify the maximum amount of results the user wants in a LuceneSail search.
For example, with the example in rdf4j.org it gives something like that:
At the same time, I added the sail parameter
maxQueryDocuments
to set the maximum amount of documents the user can query. By default, it takes the value ofmaxDocuments
to keep a backward compatibility.PR Author Checklist (see the contributor guidelines for more details):
mvn process-resources
to format from the command line)