15380: Improves list filter search documentation
authorEric Biagiotti <ebiagiotti@veritasgenetics.com>
Wed, 3 Jul 2019 14:01:45 +0000 (10:01 -0400)
committerEric Biagiotti <ebiagiotti@veritasgenetics.com>
Wed, 3 Jul 2019 14:01:45 +0000 (10:01 -0400)
Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

doc/api/methods.html.textile.liquid

index 59c6a88fbc974acbffe7f3ef28a601b217ccc820..0e01b3c6dd740abe04210381bd0877931e1366c3 100644 (file)
@@ -108,15 +108,15 @@ table(table table-bordered table-condensed).
 |@exists@|string|Test if a subproperty is present.|@["properties","exists","my_subproperty"]@|
 
 
-h4(#textsearchfilter). Filtering using text search
+h4(#substringsearchfilter). Filtering using substring search
 
-Resources can also be filtered by searching for a value in attributes of type @string@, @array of strings@, @text@, and @hash@. To use text search, the filter must:
+Resources can also be filtered by searching for a substring in attributes of type @string@, @array of strings@, @text@, and @hash@, which are indexed in the database specifically for search. To use substring search, the filter must:
 
 * Specify @any@ as the attribute
 * Use either the @like@ or @ilike@ operator
 * Have an operand of type @string@ that is wrapped in the SQL pattern match wildcard character @%@
 
-For example, the @["any", "like", "%foo%"]@ filter will return all resources that contain @foo@ in the content of at least one attribute of the previously defined types.
+For example, the @["any", "like", "%foo%"]@ filter will return all resources that contain @foo@ in the content of at least one attribute of the previously defined types. This is the recommended way to do keyword and file name search across the entire database. Note that only exact substring matches are returned and results are unranked and returned in the order specified by the @list@ @order@ argument.
 
 h4(#subpropertyfilters). Filtering on subproperties