Use QueryAST.QueryOptions instead.
QueryAST.QueryOptions
Optional
Query only local spaces, or remote on agent.
QueryOptions.DataLocation.LOCAL
Options:
Return only the first limit results.
limit
Query only in specific spaces.
Use spaceIds instead.
spaceIds
Deprecated
Use
QueryAST.QueryOptionsinstead.