<query id="{queryid}" href="https://{hostname}/@api/deki/site/query/log/{queryid}"> <date.searched>{date.searched}</date.searched> <sorted-terms>{sorted-terms}</sorted-terms> <raw>{raw}</raw> <count.results>{count.results}</count.results> <terms> <!-- multiple search terms are supported --> <term>{term}</term> ... </terms> <selected-results count="{selected-results/@count}"> <!-- multiple selected results are supported --> <result type="{result/@type}"> <position>{result/position}</position> <rank>{result/rank}</rank> <date.selected>{result/date.selected}</date.selected> <page id="{result/page/@id}" href="https://{hostname}/@api/deki/pages/{result/page/@id}"/> </result> ... </selected-results> </query>
Name | Type | Description |
---|---|---|
{queryid} | int | Unique search query id for tracking |
{hostname} | string | The Expert site hostname |
{date.searched} | datetime | ISO 8601 representation of when the search query was executed |
{sorted-terms} | string | A list of search terms normalized and ordered alphabetically |
{raw} | string | The raw search query with no processing applied |
{count.results} | int | Total count of matching results |
{term} | string | A single search term |
{selected-results/@count} | int | Count of search results that were selected as a result of the search query |
{result/@type} | {page, recommended, file} | The search result type |
{result/position} | int | The search result's position within all results including recommended search results |
{result/rank} | int | The search engine's weighted ranking of the search result (between 0 and 1) |
{result/page/@id} | int | Local page id - if the page is exported and imported into a different Expert site, a new local page id will be assigned |