Versions Compared

Key

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

...

QueryThe parsed query that was submitted to the server.
FilterQueriesA comma separated list of any filters that are in use on the query.
SearchTimeThe number of milliseconds it took to run the search on the server.
TotalCountThe total number of results for the query.
PageThe pagination offset for the list of results.
PageSizeThe number of results to display during pagination.
MatchingTermsA list of matching terms.
FilterFieldsA list of filter fields.
ResultsThe list of results.

Anchor
matchingterm
matchingterm
MatchingTerm Element

The MatchingTerm elements are returned from prefix or fuzzy match type queries and represent other possible searches that are similar to the current search request.

FieldNameThe name of the field that can be supplied to a new query.
TextText that is similar to the current query.
HitCountThe number of terms that matched the text.

Anchor
filterfield
filterfield
FilterField Element

FilterField elements represent terms and fields that can be used to facet or refine the current search.

FieldNameThe name of the field that can be used to refine the search.
DisplayNameThe display name of the field for use on a user interface.
FilterTermsA list of filter terms.

Anchor
#nameresult
#nameresult
NameResult Element

Actual search result.

Score 
NameId 
NameClassName 

GoverningCode

 
FullName 
PartialName 

...

querySearch string using the Search Query Syntax
filterAdditional filter to provide faceting of the results
skipNumber of records to skip when returning the results
takeThe number of records to return
orderby

Enables sorting of the results using the syntax:

fieldname [ASC|DESC]

...

Example Response

http://data.nzor.org.nz/names/search?query=lic*

...