The semantic queries are always executed with some resource limitations such as the maximal number of documents or the maximal number of entities. When some of these limitations are exceeded, this is marked in the values of QueryResultFlags. There are three properties:
ExceededBooleanClausesLimit | this flag is used only when the Lucene engine is used as document repository. In Lucene, there is a limitation in the size of the query (the maximal number of Boolean clauses). |
ExceededDocumentResultLimit | for each document query, there is a mandatory parameter that specifies the maximal number of documents to be retrieved. When the limit is exceeded, the flag is set to: "true". |
ExceededEntityResultLimit | for each semantic query, there is a mandatory parameter that specifies the maximal number of rows to be retrieved. When the limit is exceeded, the flag is set to: "true". |
Labels: