Project

General

Profile

Actions

Query » History » Revision 3

« Previous | Revision 3/29 (diff) | Next »
Alison Craig, 03/03/2015 02:17 PM


Query

For the Query Protocol, the user will send messages of the format: [field1]=[search1],[field2]=[search2],?=[search3], where field1 and field2 are Name components, ? indicates an autocomplete search, and search* is what to use for searching on. (See Schema)

In response, the Query backend of the Catalog will make Data available that includes a list of names that match the query.


TLV Formats

Query Interest TLV

Type = Interest (0x05)
Length
Value
Type = [field|?] (32768+)
Length = 2000 bytes (Want enough room for search)
Value = [search]

Query Results Data TLV
The Query results TLV Data matches the Query Interest TLV. It has an added payload of the List of Names that match the Query.

Updated by Alison Craig over 9 years ago · 29 revisions