Skip to content

Commit e1c952c

Browse files
committed
Drop examples of LIKE/RLIKE vs QUERY/MATCH equivalance
This drops the examples of LIKE/RLIKE vs QUERY/MATCH equivalance from the docs.
1 parent 540f90e commit e1c952c

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

docs/reference/query-languages/sql/sql-like-rlike-operators.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -90,16 +90,4 @@ Even though `RLIKE` is a valid option when searching or filtering in Elasticsear
9090

9191
When using `LIKE`/`RLIKE`, do consider using [full-text search predicates](/reference/query-languages/sql/sql-functions-search.md) which are faster, much more powerful and offer the option of sorting by relevancy (results can be returned based on how well they matched).
9292

93-
For example:
94-
95-
| | |
96-
| --- | --- |
97-
| **LIKE/RLIKE** | **QUERY/MATCH** |
98-
| ``foo LIKE 'bar'`` | ``MATCH(foo, 'bar')`` |
99-
| ``foo LIKE 'bar' AND tar LIKE 'goo'`` | ``MATCH('foo^2, tar^5', 'bar goo', 'operator=and')`` |
100-
| ``foo LIKE 'barr'`` | ``QUERY('foo: bar~')`` |
101-
| ``foo LIKE 'bar' AND tar LIKE 'goo'`` | ``QUERY('foo: bar AND tar: goo')`` |
102-
| ``foo RLIKE 'ba.*'`` | ``MATCH(foo, 'ba', 'fuzziness=AUTO:1,5')`` |
103-
| ``foo RLIKE 'b.{{1}}r'`` | ``MATCH(foo, 'br', 'fuzziness=1')`` |
104-
10593

0 commit comments

Comments
 (0)