Debian Codegraph @

doc/source/example/reference/commands/select/query_expander_substitute.log

raw
1 Execution example::
2
3 select Entries --match_columns content --query "mroonga"
4 # [
5 # [
6 # 0,
7 # 1337566253.89858,
8 # 0.000355720520019531
9 # ],
10 # [
11 # [
12 # [
13 # 1
14 # ],
15 # [
16 # [
17 # "_id",
18 # "UInt32"
19 # ],
20 # [
21 # "_key",
22 # "ShortText"
23 # ],
24 # [
25 # "content",
26 # "Text"
27 # ],
28 # [
29 # "n_likes",
30 # "UInt32"
31 # ],
32 # [
33 # "tag",
34 # "ShortText"
35 # ]
36 # ],
37 # [
38 # 3,
39 # "Mroonga",
40 # "I also started to use Mroonga. It's also very fast! Really fast!",
41 # 15,
42 # "Groonga"
43 # ]
44 # ]
45 # ]
46 # ]
47 select Entries --match_columns content --query "mroonga" --query_expander Thesaurus.synonym
48 # [
49 # [
50 # 0,
51 # 1337566253.89858,
52 # 0.000355720520019531
53 # ],
54 # [
55 # [
56 # [
57 # 2
58 # ],
59 # [
60 # [
61 # "_id",
62 # "UInt32"
63 # ],
64 # [
65 # "_key",
66 # "ShortText"
67 # ],
68 # [
69 # "content",
70 # "Text"
71 # ],
72 # [
73 # "n_likes",
74 # "UInt32"
75 # ],
76 # [
77 # "tag",
78 # "ShortText"
79 # ]
80 # ],
81 # [
82 # 3,
83 # "Mroonga",
84 # "I also started to use Mroonga. It's also very fast! Really fast!",
85 # 15,
86 # "Groonga"
87 # ],
88 # [
89 # 5,
90 # "Good-bye Tritonn",
91 # "I also migrated all Tritonn system!",
92 # 3,
93 # "Senna"
94 # ]
95 # ]
96 # ]
97 # ]
98 select Entries --match_columns content --query "((mroonga) OR (tritonn) OR (groonga mysql))"
99 # [
100 # [
101 # 0,
102 # 1337566253.89858,
103 # 0.000355720520019531
104 # ],
105 # [
106 # [
107 # [
108 # 2
109 # ],
110 # [
111 # [
112 # "_id",
113 # "UInt32"
114 # ],
115 # [
116 # "_key",
117 # "ShortText"
118 # ],
119 # [
120 # "content",
121 # "Text"
122 # ],
123 # [
124 # "n_likes",
125 # "UInt32"
126 # ],
127 # [
128 # "tag",
129 # "ShortText"
130 # ]
131 # ],
132 # [
133 # 3,
134 # "Mroonga",
135 # "I also started to use Mroonga. It's also very fast! Really fast!",
136 # 15,
137 # "Groonga"
138 # ],
139 # [
140 # 5,
141 # "Good-bye Tritonn",
142 # "I also migrated all Tritonn system!",
143 # 3,
144 # "Senna"
145 # ]
146 # ]
147 # ]
148 # ]