clintropolis commented on code in PR #14760:
URL: https://github.com/apache/druid/pull/14760#discussion_r1286354173


##########
docs/querying/filters.md:
##########
@@ -410,6 +504,162 @@ The filter above is equivalent to the following OR of 
Bound filters:
 }
 ```
 
+
+## True filter
+The true filter is a filter which matches all values.  It can be used to 
temporarily disable other filters without removing the filter.
+
+```json
+{ "type" : "true" }
+```
+
+## False filter
+The false filter matches no values. It can be used to force a query to match 
nothing.
+
+```json
+{"type": "false" }
+```
+
+
+## Search filter
+
+Search filters can be used to filter on partial string matches.
+
+```json
+{
+    "filter": {
+        "type": "search",
+        "dimension": "product",
+        "query": {
+          "type": "insensitive_contains",
+          "value": "foo"
+        }
+    }
+}
+```
+
+| Property | Description | Required |
+| -------- | ----------- | -------- |
+| `type` | Must be "search". | Yes |
+| `dimension` | Input column or virtual column name to filter. | Yes |
+| `query`| A JSON object for the type of search. See [search query 
spec](#search-query-spec) for more information. | Yes |
+| `extractionFn` | [Extraction 
function](./dimensionspecs.md#extraction-functions) to apply to `dimension` 
prior to value matching. See [Filtering with Extraction 
Functions](#filtering-with-extraction-functions) for details. | No |
+
+The search filter supports the use of extraction functions, see [Filtering 
with Extraction Functions](#filtering-with-extraction-functions) for details.

Review Comment:
   oops, meant to delete this since its in the table now



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to