Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Within the top level query JSON object there is a query field "qt" that is an array of query term objects. Query term objects are described below and allow the following query types:

...

Info

In addition to the Lucene and Elasticsearch extensions described above, there are the following Infinit.e extensions:

  • "$cache": If points to the title or "_id" of a saved query, then will return the results of that saved query. Currently only works if it is the only query element (otherwise the call will error).

Anchor
Cached
Cached
Saved queries

Saved queries generated either directly from the API, or via the plugin manager GUI can be accessed via the API using the "ftext" query, simply create an ftext query with the custom job's name or _id prefixed by "$cache", eg:

Code Block
languagejs
{
	"ftext": "$cache:MY_SAVED_JOB"
}

Anchor
Entities
Entities

Entities

...