Schema for sdx:actions and parameters, used in cocoon-xsp context. TODO : refactoring with abstract elements and inherited types

@search

Search @params give what to search in a document. According to the type of search (simple, field, date ...), different values should be provided. The groups are

  • query* : simple string query (analysed)
  • value* : simple value usually used in fields query
  • field* : a field isolated at indexation process where to find value*
  • op* : an operator (and, or, not) about field:value query

A query is not repeated. The trio (value, field, op) could be repeated, they are linked by same index in array.

Sort specification

A query is by default sorted by scoring. Order could be given against a field.

  • sf* : repeatable field name
  • so* : sort order for each field
Results from a query (, ...) could be long. By default, SDX answers with a first page of 20 results (hpp). This value is modified by attributes @hpp*. To retrieve next/previous page, each query is cached for a client session. By default, an id is generated, given in the root element of or . ... ... Id of a cached query (, ...), used for next/prev page in results. Id of a cached query (sdx:search or sdx:terms), used for next/prev page in results. If present, the results are cached with the id given. (query executed one time per session) Id of a results object, already cached used as a base query (to search in results)

@sdx:upload

pattern with no more than one star, like *.xml or tmp* to filter file names (here includes) pattern with no more than one star, like *.xml or tmp* to filter file names (here excludes) TODOC TODOC TODOC TODOC TODOC get an xml document in a string to serialize could be used as a default value if errors in param