metamaps--metamaps/doc/api/traits/searchable.raml
2017-01-28 16:53:54 -05:00

12 lines
547 B
Plaintext

queryParameters:
q:
description: |
Search text columns for this string. A query of <code>"example"</code> will be passed to SQL as <code>LIKE %example%</code>. The searchable columns are: <pre><< searchFields >></pre>
required: false
type: string
searchfields:
description: |
A comma-seperated list of columns to search. For instance, to search a topic's name and description (but not link field) for the string "cognition", you could use `?q=cognition&searchfields=name,desc`.
required: false
type: string