Debian Codegraph @

doc/source/example/reference/functions/snippet/usage_delimiter_regexp.log

raw
1 Execution example::
2
3 select Documents \
4 --output_columns 'snippet(content, \
5 { \
6 "default_open_tag": "[", \
7 "default_close_tag": "]", \
8 "delimiter_regexp": "\\\\.\\\\s*" \
9 })' \
10 --match_columns content \
11 --query "fast performance"
12 # [
13 # [
14 # 0,
15 # 1337566253.89858,
16 # 0.000355720520019531
17 # ],
18 # [
19 # [
20 # [
21 # 1
22 # ],
23 # [
24 # [
25 # "snippet",
26 # null
27 # ]
28 # ],
29 # [
30 # [
31 # "Groonga is a [fast] and accurate full text search engine based on inverted index",
32 # "These characteristics result in superior [performance] on real-time applications"
33 # ]
34 # ]
35 # ]
36 # ]
37 # ]