Changes between Version 2 and Version 4 of Ticket #108


Ignore:
Timestamp:
09/07/09 16:21:51 (5 years ago)
Author:
dread
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #108

    • Property Status changed from new to closed
    • Property Resolution changed from to fixed
  • Ticket #108 – Description

    v2 v4  
    55E.g. .../api/search/package?q=xyz 
    66 
    7 Query parameter q: 
    8   * keyword string (searches name, title, tags by default) 
     7Query parameters: 
     8  * q is keyword string (searches name, title, tags by default) 
    99    * split by words and ANDed 
    10   * Searching by specific fields (in addition to keyword string). Pass in a query parameter qjson '''instead''' of q. Payload to json is a JSON-encoded dict which is a dictionary with a q field for free text (keywords) and additional key/value pairs for specific fields 
     10  * additional parameters for specific fields 
     11  * qjson is alternative to q for Searching by specific fields (in addition to keyword string). Payload to json is a JSON-encoded dict which is a dictionary with a q field for free text (keywords) and additional key/value pairs for specific fields 
    1112     * if q and qjson specified ignore q and just process qjson value 
    1213