metamaps--metamaps/doc/api/traits/searchable.raml

12 lines
547 B
Text
Raw Normal View History

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
2017-01-28 21:53:54 +00:00
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