Skip to content

Commit

Permalink
GH-5149 Add search:numDocs property and maxQueryDocuments param in Lu…
Browse files Browse the repository at this point in the history
…ceneSail query
  • Loading branch information
ate47 committed Oct 28, 2024
1 parent 878ee68 commit 211c0f6
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ private static void append(Var var, StringBuilder buffer) {

private final Integer numDocs;

public QuerySpec(StatementPattern matchesPattern, Collection<QueryParam> queryPatterns,
StatementPattern scorePattern, StatementPattern typePattern,
StatementPattern idPattern, Resource subject) {
this(matchesPattern, queryPatterns, scorePattern, typePattern, idPattern, null, subject);
}

public QuerySpec(StatementPattern matchesPattern, Collection<QueryParam> queryPatterns,
StatementPattern scorePattern, StatementPattern typePattern,
StatementPattern idPattern, StatementPattern numDocsPattern, Resource subject) {
Expand Down

0 comments on commit 211c0f6

Please sign in to comment.