File: simple_example.log

package info (click to toggle)
groonga 15.0.4%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 163,080 kB
  • sloc: ansic: 770,564; cpp: 48,925; ruby: 40,447; javascript: 10,250; yacc: 7,045; sh: 5,602; python: 2,821; makefile: 1,672
file content (15 lines) | stat: -rw-r--r-- 648 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Execution example::

  plugin_register token_filters/stop_word
  # [[0,1337566253.89858,0.000355720520019531],true]
  table_create Terms TABLE_PAT_KEY ShortText   --default_tokenizer TokenBigram   --normalizer NormalizerAuto   --token_filters TokenFilterStopWord
  # [[0,1337566253.89858,0.000355720520019531],true]
  column_create Terms is_stop_word COLUMN_SCALAR Bool
  # [[0,1337566253.89858,0.000355720520019531],true]
  load --table Terms
  [
  {"_key": "and", "is_stop_word": true}
  ]
  # [[0,1337566253.89858,0.000355720520019531],1]
  table_tokenize Terms "Hello and Good-bye" --mode GET
  # [[0,1337566253.89858,0.000355720520019531],[]]