projectdoc Toolbox

Controls whether or not the execution of queries without constraints are allowed or not.

ID
projectdoc.queries.allow-execution-of-unconstraint-queries
Datatype
boolean
Default Value
false
Since
2.5

A query without constrains typically fetches all documents found on the server. This is typically not intended. It also requires a lot of resources since every document in the database is retrieved and processed. This may take such a long time so that the document containing the query is no longer editable.

To prevent this from happening by accident, projectdoc rejects queries without constraints by default. If you need to change this default behavior, set the value of this space property to true.

Details

In case a query with no constraints is detected, instead of the search result, an error message is rendered.

Error Message in case no constraints have been provided for a query