rroonga 5.1.1-x86-mingw32 → 6.0.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +2 -1
- data/bin/grndump +9 -0
- data/doc/text/cross-compile.md +72 -0
- data/doc/text/install.md +121 -0
- data/doc/text/news.md +1451 -0
- data/doc/text/release.md +135 -0
- data/doc/text/tutorial.md +402 -0
- data/ext/groonga/rb-grn-column.c +54 -24
- data/ext/groonga/rb-grn-config.c +131 -10
- data/ext/groonga/rb-grn-context.c +0 -10
- data/ext/groonga/rb-grn-encoding.c +0 -2
- data/ext/groonga/rb-grn-expression.c +63 -3
- data/ext/groonga/rb-grn-index.c +34 -0
- data/ext/groonga/rb-grn-object.c +10 -10
- data/ext/groonga/rb-grn-operator.c +7 -0
- data/ext/groonga/rb-grn-plugin.c +39 -0
- data/ext/groonga/rb-grn-utils.c +5 -65
- data/ext/groonga/rb-grn.h +9 -9
- data/ext/groonga/rb-groonga.c +31 -1
- data/lib/2.1/groonga.so +0 -0
- data/lib/2.2/groonga.so +0 -0
- data/lib/2.3/groonga.so +0 -0
- data/lib/groonga.rb +1 -0
- data/lib/groonga/column.rb +13 -0
- data/lib/groonga/dumper.rb +3 -1
- data/lib/groonga/expression-builder.rb +66 -18
- data/lib/groonga/{expression-builder-19.rb → index.rb} +11 -19
- data/lib/groonga/record.rb +1 -1
- data/lib/rroonga.rb +16 -0
- data/rroonga-build.rb +6 -6
- data/rroonga.gemspec +1 -1
- data/test/groonga-test-utils.rb +0 -8
- data/test/test-column.rb +107 -1
- data/test/test-config.rb +18 -0
- data/test/test-database.rb +0 -2
- data/test/test-error-message.rb +20 -0
- data/test/test-expression-builder.rb +172 -29
- data/test/test-plugin.rb +25 -1
- data/test/test-table-dumper.rb +35 -6
- data/test/test-table-select.rb +0 -1
- data/vendor/local/bin/grndb.exe +0 -0
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-2.dll +0 -0
- data/vendor/local/bin/libmsgpack-4.dll +0 -0
- data/vendor/local/bin/libmsgpackc-2.dll +0 -0
- data/vendor/local/bin/libonig-5.dll +0 -0
- data/vendor/local/bin/libstdc++-6.dll +0 -0
- data/vendor/local/bin/lz4.exe +0 -0
- data/vendor/local/bin/lz4c.exe +0 -0
- data/vendor/local/bin/lz4cat +0 -0
- data/vendor/local/bin/mecab-config +5 -5
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/onig-config +1 -1
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
- data/vendor/local/include/groonga/groonga.h +16 -11
- data/vendor/local/include/groonga/groonga/array.h +76 -0
- data/vendor/local/include/groonga/groonga/command.h +3 -5
- data/vendor/local/include/groonga/groonga/config.h +65 -0
- data/vendor/local/include/groonga/groonga/dat.h +100 -0
- data/vendor/local/include/groonga/groonga/dump.h +34 -0
- data/vendor/local/include/groonga/groonga/expr.h +21 -16
- data/vendor/local/include/groonga/groonga/file_reader.h +2 -5
- data/vendor/local/include/groonga/groonga/geo.h +2 -5
- data/vendor/local/include/groonga/groonga/groonga.h +28 -270
- data/vendor/local/include/groonga/groonga/hash.h +89 -0
- data/vendor/local/include/groonga/groonga/ii.h +3 -5
- data/vendor/local/include/groonga/groonga/nfkc.h +4 -5
- data/vendor/local/include/groonga/groonga/normalizer.h +3 -5
- data/vendor/local/include/groonga/groonga/obj.h +7 -5
- data/vendor/local/include/groonga/groonga/output.h +3 -5
- data/vendor/local/include/groonga/groonga/pat.h +102 -0
- data/vendor/local/include/groonga/groonga/plugin.h +29 -12
- data/vendor/local/include/groonga/groonga/portability.h +3 -5
- data/vendor/local/include/groonga/groonga/request_canceler.h +2 -5
- data/vendor/local/include/groonga/groonga/scorer.h +3 -5
- data/vendor/local/include/groonga/groonga/thread.h +2 -5
- data/vendor/local/include/groonga/groonga/token.h +5 -6
- data/vendor/local/include/groonga/groonga/token_filter.h +3 -5
- data/vendor/local/include/groonga/groonga/tokenizer.h +3 -5
- data/vendor/local/include/groonga/groonga/type.h +31 -0
- data/vendor/local/include/groonga/groonga/util.h +3 -5
- data/vendor/local/include/groonga/groonga/windows.h +2 -5
- data/vendor/local/include/groonga/groonga/windows_event_logger.h +2 -5
- data/vendor/local/include/mecab.h +1336 -96
- data/vendor/local/include/msgpack.h +3 -11
- data/vendor/local/include/msgpack.hpp +4 -11
- data/vendor/local/include/msgpack/adaptor/adaptor_base.hpp +84 -0
- data/vendor/local/include/msgpack/adaptor/array_ref.hpp +174 -0
- data/vendor/local/include/msgpack/adaptor/bool.hpp +41 -33
- data/vendor/local/include/msgpack/adaptor/boost/fusion.hpp +160 -0
- data/vendor/local/include/msgpack/adaptor/boost/msgpack_variant.hpp +430 -0
- data/vendor/local/include/msgpack/adaptor/boost/optional.hpp +96 -0
- data/vendor/local/include/msgpack/adaptor/boost/string_ref.hpp +87 -0
- data/vendor/local/include/msgpack/adaptor/char_ptr.hpp +132 -53
- data/vendor/local/include/msgpack/adaptor/check_container_size.hpp +18 -12
- data/vendor/local/include/msgpack/adaptor/cpp11/array.hpp +106 -44
- data/vendor/local/include/msgpack/adaptor/cpp11/array_char.hpp +59 -54
- data/vendor/local/include/msgpack/adaptor/cpp11/array_unsigned_char.hpp +89 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/forward_list.hpp +65 -46
- data/vendor/local/include/msgpack/adaptor/cpp11/reference_wrapper.hpp +68 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/shared_ptr.hpp +82 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/tuple.hpp +88 -64
- data/vendor/local/include/msgpack/adaptor/cpp11/unique_ptr.hpp +82 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/unordered_map.hpp +151 -111
- data/vendor/local/include/msgpack/adaptor/cpp11/unordered_set.hpp +142 -104
- data/vendor/local/include/msgpack/adaptor/define.hpp +15 -13
- data/vendor/local/include/msgpack/adaptor/deque.hpp +78 -53
- data/vendor/local/include/msgpack/adaptor/detail/{cpp03_define.hpp → cpp03_define_array.hpp} +225 -210
- data/vendor/local/include/msgpack/adaptor/detail/cpp03_define_map.hpp +2791 -0
- data/vendor/local/include/msgpack/adaptor/detail/cpp03_msgpack_tuple.hpp +3070 -3079
- data/vendor/local/include/msgpack/adaptor/detail/{cpp11_define.hpp → cpp11_define_array.hpp} +71 -62
- data/vendor/local/include/msgpack/adaptor/detail/cpp11_define_map.hpp +163 -0
- data/vendor/local/include/msgpack/adaptor/detail/cpp11_msgpack_tuple.hpp +105 -42
- data/vendor/local/include/msgpack/adaptor/ext.hpp +237 -0
- data/vendor/local/include/msgpack/adaptor/fixint.hpp +178 -92
- data/vendor/local/include/msgpack/adaptor/float.hpp +87 -69
- data/vendor/local/include/msgpack/adaptor/int.hpp +243 -123
- data/vendor/local/include/msgpack/adaptor/list.hpp +76 -53
- data/vendor/local/include/msgpack/adaptor/map.hpp +244 -157
- data/vendor/local/include/msgpack/adaptor/msgpack_tuple.hpp +3 -11
- data/vendor/local/include/msgpack/adaptor/nil.hpp +45 -29
- data/vendor/local/include/msgpack/adaptor/pair.hpp +58 -38
- data/vendor/local/include/msgpack/adaptor/raw.hpp +47 -39
- data/vendor/local/include/msgpack/adaptor/set.hpp +156 -102
- data/vendor/local/include/msgpack/adaptor/string.hpp +58 -50
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_map.hpp +120 -113
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_set.hpp +114 -106
- data/vendor/local/include/msgpack/adaptor/v4raw.hpp +106 -0
- data/vendor/local/include/msgpack/adaptor/vector.hpp +94 -60
- data/vendor/local/include/msgpack/adaptor/vector_bool.hpp +59 -51
- data/vendor/local/include/msgpack/adaptor/vector_char.hpp +62 -54
- data/vendor/local/include/msgpack/adaptor/vector_unsigned_char.hpp +89 -0
- data/vendor/local/include/msgpack/cpp_config.hpp +37 -22
- data/vendor/local/include/msgpack/detail/cpp03_zone.hpp +17 -11
- data/vendor/local/include/msgpack/detail/cpp11_zone.hpp +19 -19
- data/vendor/local/include/msgpack/fbuffer.h +3 -11
- data/vendor/local/include/msgpack/fbuffer.hpp +7 -11
- data/vendor/local/include/msgpack/gcc_atomic.h +3 -11
- data/vendor/local/include/msgpack/iterator.hpp +9 -13
- data/vendor/local/include/msgpack/meta.hpp +51 -0
- data/vendor/local/include/msgpack/object.h +3 -11
- data/vendor/local/include/msgpack/object.hpp +390 -290
- data/vendor/local/include/msgpack/object_fwd.hpp +57 -44
- data/vendor/local/include/msgpack/pack.h +6 -12
- data/vendor/local/include/msgpack/pack.hpp +58 -30
- data/vendor/local/include/msgpack/pack_define.h +3 -11
- data/vendor/local/include/msgpack/pack_template.h +35 -15
- data/vendor/local/include/msgpack/predef.h +19 -0
- data/vendor/local/include/msgpack/predef/architecture.h +30 -0
- data/vendor/local/include/msgpack/predef/architecture/alpha.h +60 -0
- data/vendor/local/include/msgpack/predef/architecture/arm.h +71 -0
- data/vendor/local/include/msgpack/predef/architecture/blackfin.h +47 -0
- data/vendor/local/include/msgpack/predef/architecture/convex.h +67 -0
- data/vendor/local/include/msgpack/predef/architecture/ia64.h +49 -0
- data/vendor/local/include/msgpack/predef/architecture/m68k.h +83 -0
- data/vendor/local/include/msgpack/predef/architecture/mips.h +74 -0
- data/vendor/local/include/msgpack/predef/architecture/parisc.h +65 -0
- data/vendor/local/include/msgpack/predef/architecture/ppc.h +73 -0
- data/vendor/local/include/msgpack/predef/architecture/pyramid.h +43 -0
- data/vendor/local/include/msgpack/predef/architecture/rs6k.h +56 -0
- data/vendor/local/include/msgpack/predef/architecture/sparc.h +55 -0
- data/vendor/local/include/msgpack/predef/architecture/superh.h +68 -0
- data/vendor/local/include/msgpack/predef/architecture/sys370.h +44 -0
- data/vendor/local/include/msgpack/predef/architecture/sys390.h +44 -0
- data/vendor/local/include/msgpack/predef/architecture/x86.h +38 -0
- data/vendor/local/include/msgpack/predef/architecture/x86/32.h +87 -0
- data/vendor/local/include/msgpack/predef/architecture/x86/64.h +50 -0
- data/vendor/local/include/msgpack/predef/architecture/z.h +43 -0
- data/vendor/local/include/msgpack/predef/compiler.h +41 -0
- data/vendor/local/include/msgpack/predef/compiler/borland.h +64 -0
- data/vendor/local/include/msgpack/predef/compiler/clang.h +57 -0
- data/vendor/local/include/msgpack/predef/compiler/comeau.h +62 -0
- data/vendor/local/include/msgpack/predef/compiler/compaq.h +67 -0
- data/vendor/local/include/msgpack/predef/compiler/diab.h +57 -0
- data/vendor/local/include/msgpack/predef/compiler/digitalmars.h +57 -0
- data/vendor/local/include/msgpack/predef/compiler/dignus.h +57 -0
- data/vendor/local/include/msgpack/predef/compiler/edg.h +57 -0
- data/vendor/local/include/msgpack/predef/compiler/ekopath.h +58 -0
- data/vendor/local/include/msgpack/predef/compiler/gcc.h +69 -0
- data/vendor/local/include/msgpack/predef/compiler/gcc_xml.h +53 -0
- data/vendor/local/include/msgpack/predef/compiler/greenhills.h +67 -0
- data/vendor/local/include/msgpack/predef/compiler/hp_acc.h +62 -0
- data/vendor/local/include/msgpack/predef/compiler/iar.h +57 -0
- data/vendor/local/include/msgpack/predef/compiler/ibm.h +73 -0
- data/vendor/local/include/msgpack/predef/compiler/intel.h +66 -0
- data/vendor/local/include/msgpack/predef/compiler/kai.h +57 -0
- data/vendor/local/include/msgpack/predef/compiler/llvm.h +58 -0
- data/vendor/local/include/msgpack/predef/compiler/metaware.h +54 -0
- data/vendor/local/include/msgpack/predef/compiler/metrowerks.h +78 -0
- data/vendor/local/include/msgpack/predef/compiler/microtec.h +54 -0
- data/vendor/local/include/msgpack/predef/compiler/mpw.h +64 -0
- data/vendor/local/include/msgpack/predef/compiler/palm.h +57 -0
- data/vendor/local/include/msgpack/predef/compiler/pgi.h +61 -0
- data/vendor/local/include/msgpack/predef/compiler/sgi_mipspro.h +67 -0
- data/vendor/local/include/msgpack/predef/compiler/sunpro.h +67 -0
- data/vendor/local/include/msgpack/predef/compiler/tendra.h +54 -0
- data/vendor/local/include/msgpack/predef/compiler/visualc.h +92 -0
- data/vendor/local/include/msgpack/predef/compiler/watcom.h +57 -0
- data/vendor/local/include/msgpack/predef/detail/_cassert.h +17 -0
- data/vendor/local/include/msgpack/predef/detail/_exception.h +15 -0
- data/vendor/local/include/msgpack/predef/detail/comp_detected.h +10 -0
- data/vendor/local/include/msgpack/predef/detail/endian_compat.h +26 -0
- data/vendor/local/include/msgpack/predef/detail/os_detected.h +10 -0
- data/vendor/local/include/msgpack/predef/detail/platform_detected.h +10 -0
- data/vendor/local/include/msgpack/predef/detail/test.h +17 -0
- data/vendor/local/include/msgpack/predef/language.h +15 -0
- data/vendor/local/include/msgpack/predef/language/objc.h +43 -0
- data/vendor/local/include/msgpack/predef/language/stdc.h +54 -0
- data/vendor/local/include/msgpack/predef/language/stdcpp.h +124 -0
- data/vendor/local/include/msgpack/predef/library.h +14 -0
- data/vendor/local/include/msgpack/predef/library/c.h +18 -0
- data/vendor/local/include/msgpack/predef/library/c/_prefix.h +13 -0
- data/vendor/local/include/msgpack/predef/library/c/gnu.h +62 -0
- data/vendor/local/include/msgpack/predef/library/c/uc.h +48 -0
- data/vendor/local/include/msgpack/predef/library/c/vms.h +48 -0
- data/vendor/local/include/msgpack/predef/library/c/zos.h +57 -0
- data/vendor/local/include/msgpack/predef/library/std.h +23 -0
- data/vendor/local/include/msgpack/predef/library/std/_prefix.h +23 -0
- data/vendor/local/include/msgpack/predef/library/std/cxx.h +47 -0
- data/vendor/local/include/msgpack/predef/library/std/dinkumware.h +53 -0
- data/vendor/local/include/msgpack/predef/library/std/libcomo.h +48 -0
- data/vendor/local/include/msgpack/predef/library/std/modena.h +46 -0
- data/vendor/local/include/msgpack/predef/library/std/msl.h +54 -0
- data/vendor/local/include/msgpack/predef/library/std/roguewave.h +57 -0
- data/vendor/local/include/msgpack/predef/library/std/sgi.h +52 -0
- data/vendor/local/include/msgpack/predef/library/std/stdcpp3.h +54 -0
- data/vendor/local/include/msgpack/predef/library/std/stlport.h +60 -0
- data/vendor/local/include/msgpack/predef/library/std/vacpp.h +45 -0
- data/vendor/local/include/msgpack/predef/make.h +89 -0
- data/vendor/local/include/msgpack/predef/os.h +31 -0
- data/vendor/local/include/msgpack/predef/os/aix.h +67 -0
- data/vendor/local/include/msgpack/predef/os/amigaos.h +47 -0
- data/vendor/local/include/msgpack/predef/os/android.h +46 -0
- data/vendor/local/include/msgpack/predef/os/beos.h +46 -0
- data/vendor/local/include/msgpack/predef/os/bsd.h +95 -0
- data/vendor/local/include/msgpack/predef/os/bsd/bsdi.h +48 -0
- data/vendor/local/include/msgpack/predef/os/bsd/dragonfly.h +50 -0
- data/vendor/local/include/msgpack/predef/os/bsd/free.h +60 -0
- data/vendor/local/include/msgpack/predef/os/bsd/net.h +84 -0
- data/vendor/local/include/msgpack/predef/os/bsd/open.h +171 -0
- data/vendor/local/include/msgpack/predef/os/cygwin.h +46 -0
- data/vendor/local/include/msgpack/predef/os/haiku.h +47 -0
- data/vendor/local/include/msgpack/predef/os/hpux.h +48 -0
- data/vendor/local/include/msgpack/predef/os/ios.h +51 -0
- data/vendor/local/include/msgpack/predef/os/irix.h +47 -0
- data/vendor/local/include/msgpack/predef/os/linux.h +47 -0
- data/vendor/local/include/msgpack/predef/os/macos.h +66 -0
- data/vendor/local/include/msgpack/predef/os/os400.h +46 -0
- data/vendor/local/include/msgpack/predef/os/qnxnto.h +60 -0
- data/vendor/local/include/msgpack/predef/os/solaris.h +47 -0
- data/vendor/local/include/msgpack/predef/os/unix.h +76 -0
- data/vendor/local/include/msgpack/predef/os/vms.h +53 -0
- data/vendor/local/include/msgpack/predef/os/windows.h +51 -0
- data/vendor/local/include/msgpack/predef/other.h +14 -0
- data/vendor/local/include/msgpack/predef/other/endian.h +205 -0
- data/vendor/local/include/msgpack/predef/platform.h +19 -0
- data/vendor/local/include/msgpack/predef/platform/mingw.h +70 -0
- data/vendor/local/include/msgpack/predef/platform/windows_desktop.h +44 -0
- data/vendor/local/include/msgpack/predef/platform/windows_phone.h +42 -0
- data/vendor/local/include/msgpack/predef/platform/windows_runtime.h +44 -0
- data/vendor/local/include/msgpack/predef/platform/windows_store.h +42 -0
- data/vendor/local/include/msgpack/predef/version.h +15 -0
- data/vendor/local/include/msgpack/predef/version_number.h +54 -0
- data/vendor/local/include/msgpack/preprocessor.hpp +19 -0
- data/vendor/local/include/msgpack/preprocessor/arithmetic.hpp +25 -0
- data/vendor/local/include/msgpack/preprocessor/arithmetic/add.hpp +51 -0
- data/vendor/local/include/msgpack/preprocessor/arithmetic/dec.hpp +288 -0
- data/vendor/local/include/msgpack/preprocessor/arithmetic/detail/div_base.hpp +61 -0
- data/vendor/local/include/msgpack/preprocessor/arithmetic/div.hpp +39 -0
- data/vendor/local/include/msgpack/preprocessor/arithmetic/inc.hpp +288 -0
- data/vendor/local/include/msgpack/preprocessor/arithmetic/mod.hpp +39 -0
- data/vendor/local/include/msgpack/preprocessor/arithmetic/mul.hpp +53 -0
- data/vendor/local/include/msgpack/preprocessor/arithmetic/sub.hpp +50 -0
- data/vendor/local/include/msgpack/preprocessor/array.hpp +32 -0
- data/vendor/local/include/msgpack/preprocessor/array/data.hpp +28 -0
- data/vendor/local/include/msgpack/preprocessor/array/detail/get_data.hpp +55 -0
- data/vendor/local/include/msgpack/preprocessor/array/elem.hpp +29 -0
- data/vendor/local/include/msgpack/preprocessor/array/enum.hpp +33 -0
- data/vendor/local/include/msgpack/preprocessor/array/insert.hpp +55 -0
- data/vendor/local/include/msgpack/preprocessor/array/pop_back.hpp +37 -0
- data/vendor/local/include/msgpack/preprocessor/array/pop_front.hpp +38 -0
- data/vendor/local/include/msgpack/preprocessor/array/push_back.hpp +35 -0
- data/vendor/local/include/msgpack/preprocessor/array/push_front.hpp +35 -0
- data/vendor/local/include/msgpack/preprocessor/array/remove.hpp +54 -0
- data/vendor/local/include/msgpack/preprocessor/array/replace.hpp +49 -0
- data/vendor/local/include/msgpack/preprocessor/array/reverse.hpp +29 -0
- data/vendor/local/include/msgpack/preprocessor/array/size.hpp +28 -0
- data/vendor/local/include/msgpack/preprocessor/array/to_list.hpp +47 -0
- data/vendor/local/include/msgpack/preprocessor/array/to_seq.hpp +46 -0
- data/vendor/local/include/msgpack/preprocessor/array/to_tuple.hpp +33 -0
- data/vendor/local/include/msgpack/preprocessor/assert_msg.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/cat.hpp +35 -0
- data/vendor/local/include/msgpack/preprocessor/comma.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/comma_if.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/comparison.hpp +24 -0
- data/vendor/local/include/msgpack/preprocessor/comparison/equal.hpp +34 -0
- data/vendor/local/include/msgpack/preprocessor/comparison/greater.hpp +38 -0
- data/vendor/local/include/msgpack/preprocessor/comparison/greater_equal.hpp +38 -0
- data/vendor/local/include/msgpack/preprocessor/comparison/less.hpp +46 -0
- data/vendor/local/include/msgpack/preprocessor/comparison/less_equal.hpp +39 -0
- data/vendor/local/include/msgpack/preprocessor/comparison/not_equal.hpp +814 -0
- data/vendor/local/include/msgpack/preprocessor/config/config.hpp +101 -0
- data/vendor/local/include/msgpack/preprocessor/config/limits.hpp +30 -0
- data/vendor/local/include/msgpack/preprocessor/control.hpp +22 -0
- data/vendor/local/include/msgpack/preprocessor/control/deduce_d.hpp +22 -0
- data/vendor/local/include/msgpack/preprocessor/control/detail/dmc/while.hpp +536 -0
- data/vendor/local/include/msgpack/preprocessor/control/detail/edg/while.hpp +534 -0
- data/vendor/local/include/msgpack/preprocessor/control/detail/msvc/while.hpp +277 -0
- data/vendor/local/include/msgpack/preprocessor/control/detail/while.hpp +536 -0
- data/vendor/local/include/msgpack/preprocessor/control/expr_if.hpp +30 -0
- data/vendor/local/include/msgpack/preprocessor/control/expr_iif.hpp +31 -0
- data/vendor/local/include/msgpack/preprocessor/control/if.hpp +30 -0
- data/vendor/local/include/msgpack/preprocessor/control/iif.hpp +34 -0
- data/vendor/local/include/msgpack/preprocessor/control/while.hpp +312 -0
- data/vendor/local/include/msgpack/preprocessor/debug.hpp +18 -0
- data/vendor/local/include/msgpack/preprocessor/debug/assert.hpp +44 -0
- data/vendor/local/include/msgpack/preprocessor/debug/error.hpp +33 -0
- data/vendor/local/include/msgpack/preprocessor/debug/line.hpp +35 -0
- data/vendor/local/include/msgpack/preprocessor/dec.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/detail/auto_rec.hpp +293 -0
- data/vendor/local/include/msgpack/preprocessor/detail/check.hpp +48 -0
- data/vendor/local/include/msgpack/preprocessor/detail/dmc/auto_rec.hpp +286 -0
- data/vendor/local/include/msgpack/preprocessor/detail/is_binary.hpp +30 -0
- data/vendor/local/include/msgpack/preprocessor/detail/is_nullary.hpp +30 -0
- data/vendor/local/include/msgpack/preprocessor/detail/is_unary.hpp +30 -0
- data/vendor/local/include/msgpack/preprocessor/detail/null.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/detail/split.hpp +35 -0
- data/vendor/local/include/msgpack/preprocessor/empty.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/enum.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/enum_params.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/enum_params_with_a_default.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/enum_params_with_defaults.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/enum_shifted.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/enum_shifted_params.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/expand.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/expr_if.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/facilities.hpp +23 -0
- data/vendor/local/include/msgpack/preprocessor/facilities/apply.hpp +34 -0
- data/vendor/local/include/msgpack/preprocessor/facilities/detail/is_empty.hpp +55 -0
- data/vendor/local/include/msgpack/preprocessor/facilities/empty.hpp +23 -0
- data/vendor/local/include/msgpack/preprocessor/facilities/expand.hpp +28 -0
- data/vendor/local/include/msgpack/preprocessor/facilities/identity.hpp +23 -0
- data/vendor/local/include/msgpack/preprocessor/facilities/intercept.hpp +277 -0
- data/vendor/local/include/msgpack/preprocessor/facilities/is_1.hpp +23 -0
- data/vendor/local/include/msgpack/preprocessor/facilities/is_empty.hpp +56 -0
- data/vendor/local/include/msgpack/preprocessor/facilities/is_empty_or_1.hpp +31 -0
- data/vendor/local/include/msgpack/preprocessor/facilities/is_empty_variadic.hpp +57 -0
- data/vendor/local/include/msgpack/preprocessor/facilities/overload.hpp +25 -0
- data/vendor/local/include/msgpack/preprocessor/for.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/identity.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/if.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/inc.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/iterate.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/iteration.hpp +19 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/bounds/lower1.hpp +99 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/bounds/lower2.hpp +99 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/bounds/lower3.hpp +99 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/bounds/lower4.hpp +99 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/bounds/lower5.hpp +99 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/bounds/upper1.hpp +99 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/bounds/upper2.hpp +99 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/bounds/upper3.hpp +99 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/bounds/upper4.hpp +99 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/bounds/upper5.hpp +99 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/finish.hpp +99 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/iter/forward1.hpp +1342 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/iter/forward2.hpp +1338 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/iter/forward3.hpp +1338 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/iter/forward4.hpp +1338 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/iter/forward5.hpp +1338 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/iter/reverse1.hpp +1296 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/iter/reverse2.hpp +1296 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/iter/reverse3.hpp +1296 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/iter/reverse4.hpp +1296 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/iter/reverse5.hpp +1296 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/local.hpp +812 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/rlocal.hpp +782 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/self.hpp +21 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/detail/start.hpp +99 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/iterate.hpp +82 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/local.hpp +26 -0
- data/vendor/local/include/msgpack/preprocessor/iteration/self.hpp +19 -0
- data/vendor/local/include/msgpack/preprocessor/library.hpp +36 -0
- data/vendor/local/include/msgpack/preprocessor/limits.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/list.hpp +37 -0
- data/vendor/local/include/msgpack/preprocessor/list/adt.hpp +73 -0
- data/vendor/local/include/msgpack/preprocessor/list/append.hpp +40 -0
- data/vendor/local/include/msgpack/preprocessor/list/at.hpp +39 -0
- data/vendor/local/include/msgpack/preprocessor/list/cat.hpp +42 -0
- data/vendor/local/include/msgpack/preprocessor/list/detail/dmc/fold_left.hpp +279 -0
- data/vendor/local/include/msgpack/preprocessor/list/detail/edg/fold_left.hpp +536 -0
- data/vendor/local/include/msgpack/preprocessor/list/detail/edg/fold_right.hpp +794 -0
- data/vendor/local/include/msgpack/preprocessor/list/detail/fold_left.hpp +279 -0
- data/vendor/local/include/msgpack/preprocessor/list/detail/fold_right.hpp +277 -0
- data/vendor/local/include/msgpack/preprocessor/list/enum.hpp +41 -0
- data/vendor/local/include/msgpack/preprocessor/list/filter.hpp +54 -0
- data/vendor/local/include/msgpack/preprocessor/list/first_n.hpp +58 -0
- data/vendor/local/include/msgpack/preprocessor/list/fold_left.hpp +303 -0
- data/vendor/local/include/msgpack/preprocessor/list/fold_right.hpp +40 -0
- data/vendor/local/include/msgpack/preprocessor/list/for_each.hpp +49 -0
- data/vendor/local/include/msgpack/preprocessor/list/for_each_i.hpp +65 -0
- data/vendor/local/include/msgpack/preprocessor/list/for_each_product.hpp +141 -0
- data/vendor/local/include/msgpack/preprocessor/list/rest_n.hpp +55 -0
- data/vendor/local/include/msgpack/preprocessor/list/reverse.hpp +40 -0
- data/vendor/local/include/msgpack/preprocessor/list/size.hpp +58 -0
- data/vendor/local/include/msgpack/preprocessor/list/to_array.hpp +155 -0
- data/vendor/local/include/msgpack/preprocessor/list/to_seq.hpp +32 -0
- data/vendor/local/include/msgpack/preprocessor/list/to_tuple.hpp +61 -0
- data/vendor/local/include/msgpack/preprocessor/list/transform.hpp +49 -0
- data/vendor/local/include/msgpack/preprocessor/logical.hpp +29 -0
- data/vendor/local/include/msgpack/preprocessor/logical/and.hpp +30 -0
- data/vendor/local/include/msgpack/preprocessor/logical/bitand.hpp +38 -0
- data/vendor/local/include/msgpack/preprocessor/logical/bitnor.hpp +38 -0
- data/vendor/local/include/msgpack/preprocessor/logical/bitor.hpp +38 -0
- data/vendor/local/include/msgpack/preprocessor/logical/bitxor.hpp +38 -0
- data/vendor/local/include/msgpack/preprocessor/logical/bool.hpp +288 -0
- data/vendor/local/include/msgpack/preprocessor/logical/compl.hpp +36 -0
- data/vendor/local/include/msgpack/preprocessor/logical/nor.hpp +30 -0
- data/vendor/local/include/msgpack/preprocessor/logical/not.hpp +30 -0
- data/vendor/local/include/msgpack/preprocessor/logical/or.hpp +30 -0
- data/vendor/local/include/msgpack/preprocessor/logical/xor.hpp +30 -0
- data/vendor/local/include/msgpack/preprocessor/max.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/min.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/punctuation.hpp +22 -0
- data/vendor/local/include/msgpack/preprocessor/punctuation/comma.hpp +21 -0
- data/vendor/local/include/msgpack/preprocessor/punctuation/comma_if.hpp +31 -0
- data/vendor/local/include/msgpack/preprocessor/punctuation/detail/is_begin_parens.hpp +48 -0
- data/vendor/local/include/msgpack/preprocessor/punctuation/is_begin_parens.hpp +51 -0
- data/vendor/local/include/msgpack/preprocessor/punctuation/paren.hpp +23 -0
- data/vendor/local/include/msgpack/preprocessor/punctuation/paren_if.hpp +38 -0
- data/vendor/local/include/msgpack/preprocessor/punctuation/remove_parens.hpp +39 -0
- data/vendor/local/include/msgpack/preprocessor/repeat.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/repeat_2nd.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/repeat_3rd.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/repeat_from_to.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/repeat_from_to_2nd.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/repeat_from_to_3rd.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/repetition.hpp +32 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/deduce_r.hpp +22 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/deduce_z.hpp +22 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/detail/dmc/for.hpp +536 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/detail/edg/for.hpp +534 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/detail/for.hpp +536 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/detail/msvc/for.hpp +277 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/enum.hpp +66 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/enum_binary_params.hpp +54 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/enum_params.hpp +41 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/enum_params_with_a_default.hpp +25 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/enum_params_with_defaults.hpp +24 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/enum_shifted.hpp +68 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/enum_shifted_binary_params.hpp +51 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/enum_shifted_params.hpp +44 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/enum_trailing.hpp +63 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/enum_trailing_binary_params.hpp +53 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/enum_trailing_params.hpp +38 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/for.hpp +306 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/repeat.hpp +825 -0
- data/vendor/local/include/msgpack/preprocessor/repetition/repeat_from_to.hpp +87 -0
- data/vendor/local/include/msgpack/preprocessor/selection.hpp +18 -0
- data/vendor/local/include/msgpack/preprocessor/selection/max.hpp +39 -0
- data/vendor/local/include/msgpack/preprocessor/selection/min.hpp +39 -0
- data/vendor/local/include/msgpack/preprocessor/seq.hpp +44 -0
- data/vendor/local/include/msgpack/preprocessor/seq/cat.hpp +49 -0
- data/vendor/local/include/msgpack/preprocessor/seq/detail/binary_transform.hpp +48 -0
- data/vendor/local/include/msgpack/preprocessor/seq/detail/split.hpp +284 -0
- data/vendor/local/include/msgpack/preprocessor/seq/elem.hpp +304 -0
- data/vendor/local/include/msgpack/preprocessor/seq/enum.hpp +288 -0
- data/vendor/local/include/msgpack/preprocessor/seq/filter.hpp +54 -0
- data/vendor/local/include/msgpack/preprocessor/seq/first_n.hpp +30 -0
- data/vendor/local/include/msgpack/preprocessor/seq/fold_left.hpp +1070 -0
- data/vendor/local/include/msgpack/preprocessor/seq/fold_right.hpp +288 -0
- data/vendor/local/include/msgpack/preprocessor/seq/for_each.hpp +60 -0
- data/vendor/local/include/msgpack/preprocessor/seq/for_each_i.hpp +61 -0
- data/vendor/local/include/msgpack/preprocessor/seq/for_each_product.hpp +126 -0
- data/vendor/local/include/msgpack/preprocessor/seq/insert.hpp +28 -0
- data/vendor/local/include/msgpack/preprocessor/seq/pop_back.hpp +29 -0
- data/vendor/local/include/msgpack/preprocessor/seq/pop_front.hpp +27 -0
- data/vendor/local/include/msgpack/preprocessor/seq/push_back.hpp +19 -0
- data/vendor/local/include/msgpack/preprocessor/seq/push_front.hpp +19 -0
- data/vendor/local/include/msgpack/preprocessor/seq/remove.hpp +29 -0
- data/vendor/local/include/msgpack/preprocessor/seq/replace.hpp +29 -0
- data/vendor/local/include/msgpack/preprocessor/seq/rest_n.hpp +30 -0
- data/vendor/local/include/msgpack/preprocessor/seq/reverse.hpp +39 -0
- data/vendor/local/include/msgpack/preprocessor/seq/seq.hpp +44 -0
- data/vendor/local/include/msgpack/preprocessor/seq/size.hpp +547 -0
- data/vendor/local/include/msgpack/preprocessor/seq/subseq.hpp +28 -0
- data/vendor/local/include/msgpack/preprocessor/seq/to_array.hpp +28 -0
- data/vendor/local/include/msgpack/preprocessor/seq/to_list.hpp +29 -0
- data/vendor/local/include/msgpack/preprocessor/seq/to_tuple.hpp +27 -0
- data/vendor/local/include/msgpack/preprocessor/seq/transform.hpp +48 -0
- data/vendor/local/include/msgpack/preprocessor/seq/variadic_seq_to_seq.hpp +28 -0
- data/vendor/local/include/msgpack/preprocessor/slot.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/slot/counter.hpp +25 -0
- data/vendor/local/include/msgpack/preprocessor/slot/detail/counter.hpp +269 -0
- data/vendor/local/include/msgpack/preprocessor/slot/detail/def.hpp +49 -0
- data/vendor/local/include/msgpack/preprocessor/slot/detail/shared.hpp +247 -0
- data/vendor/local/include/msgpack/preprocessor/slot/detail/slot1.hpp +267 -0
- data/vendor/local/include/msgpack/preprocessor/slot/detail/slot2.hpp +267 -0
- data/vendor/local/include/msgpack/preprocessor/slot/detail/slot3.hpp +267 -0
- data/vendor/local/include/msgpack/preprocessor/slot/detail/slot4.hpp +267 -0
- data/vendor/local/include/msgpack/preprocessor/slot/detail/slot5.hpp +267 -0
- data/vendor/local/include/msgpack/preprocessor/slot/slot.hpp +32 -0
- data/vendor/local/include/msgpack/preprocessor/stringize.hpp +33 -0
- data/vendor/local/include/msgpack/preprocessor/tuple.hpp +35 -0
- data/vendor/local/include/msgpack/preprocessor/tuple/detail/is_single_return.hpp +28 -0
- data/vendor/local/include/msgpack/preprocessor/tuple/eat.hpp +106 -0
- data/vendor/local/include/msgpack/preprocessor/tuple/elem.hpp +201 -0
- data/vendor/local/include/msgpack/preprocessor/tuple/enum.hpp +22 -0
- data/vendor/local/include/msgpack/preprocessor/tuple/insert.hpp +37 -0
- data/vendor/local/include/msgpack/preprocessor/tuple/pop_back.hpp +64 -0
- data/vendor/local/include/msgpack/preprocessor/tuple/pop_front.hpp +65 -0
- data/vendor/local/include/msgpack/preprocessor/tuple/push_back.hpp +31 -0
- data/vendor/local/include/msgpack/preprocessor/tuple/push_front.hpp +32 -0
- data/vendor/local/include/msgpack/preprocessor/tuple/rem.hpp +149 -0
- data/vendor/local/include/msgpack/preprocessor/tuple/remove.hpp +64 -0
- data/vendor/local/include/msgpack/preprocessor/tuple/replace.hpp +37 -0
- data/vendor/local/include/msgpack/preprocessor/tuple/reverse.hpp +117 -0
- data/vendor/local/include/msgpack/preprocessor/tuple/size.hpp +28 -0
- data/vendor/local/include/msgpack/preprocessor/tuple/to_array.hpp +39 -0
- data/vendor/local/include/msgpack/preprocessor/tuple/to_list.hpp +118 -0
- data/vendor/local/include/msgpack/preprocessor/tuple/to_seq.hpp +119 -0
- data/vendor/local/include/msgpack/preprocessor/variadic.hpp +23 -0
- data/vendor/local/include/msgpack/preprocessor/variadic/detail/is_single_return.hpp +28 -0
- data/vendor/local/include/msgpack/preprocessor/variadic/elem.hpp +94 -0
- data/vendor/local/include/msgpack/preprocessor/variadic/size.hpp +30 -0
- data/vendor/local/include/msgpack/preprocessor/variadic/to_array.hpp +32 -0
- data/vendor/local/include/msgpack/preprocessor/variadic/to_list.hpp +25 -0
- data/vendor/local/include/msgpack/preprocessor/variadic/to_seq.hpp +25 -0
- data/vendor/local/include/msgpack/preprocessor/variadic/to_tuple.hpp +24 -0
- data/vendor/local/include/msgpack/preprocessor/while.hpp +17 -0
- data/vendor/local/include/msgpack/preprocessor/wstringize.hpp +29 -0
- data/vendor/local/include/msgpack/sbuffer.h +3 -11
- data/vendor/local/include/msgpack/sbuffer.hpp +34 -16
- data/vendor/local/include/msgpack/sysdep.h +102 -116
- data/vendor/local/include/msgpack/type.hpp +17 -0
- data/vendor/local/include/msgpack/unpack.h +3 -11
- data/vendor/local/include/msgpack/unpack.hpp +23 -47
- data/vendor/local/include/msgpack/unpack_define.h +3 -11
- data/vendor/local/include/msgpack/unpack_template.h +322 -328
- data/vendor/local/include/msgpack/util.h +3 -11
- data/vendor/local/include/msgpack/version.h +3 -11
- data/vendor/local/include/msgpack/version.hpp +3 -11
- data/vendor/local/include/msgpack/version_master.h +2 -2
- data/vendor/local/include/msgpack/versioning.hpp +27 -35
- data/vendor/local/include/msgpack/vrefbuffer.h +3 -11
- data/vendor/local/include/msgpack/vrefbuffer.hpp +7 -11
- data/vendor/local/include/msgpack/zbuffer.h +17 -25
- data/vendor/local/include/msgpack/zbuffer.hpp +9 -13
- data/vendor/local/include/msgpack/zone.h +3 -11
- data/vendor/local/include/msgpack/zone.hpp +3 -11
- data/vendor/local/lib/groonga/plugins/functions/string.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.la +41 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.la +4 -4
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +4 -4
- data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.la +4 -4
- data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.la +4 -4
- data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.la +4 -4
- data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.la +4 -4
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +4 -4
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +4 -4
- data/vendor/local/lib/groonga/scripts/ruby/accessor.rb +5 -0
- data/vendor/local/lib/groonga/scripts/ruby/command_line/grndb.rb +202 -90
- data/vendor/local/lib/groonga/scripts/ruby/command_line_parser.rb +156 -0
- data/vendor/local/lib/groonga/scripts/ruby/context.rb +2 -4
- data/vendor/local/lib/groonga/scripts/ruby/expression_rewriters.rb +5 -5
- data/vendor/local/lib/groonga/scripts/ruby/expression_size_estimator.rb +2 -1
- data/vendor/local/lib/groonga/scripts/ruby/fixed_size_column.rb +5 -0
- data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +5 -0
- data/vendor/local/lib/groonga/scripts/ruby/logger.rb +1 -3
- data/vendor/local/lib/groonga/scripts/ruby/require.rb +4 -1
- data/vendor/local/lib/groonga/scripts/ruby/scan_info.rb +3 -0
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +29 -1
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +18 -14
- data/vendor/local/lib/groonga/scripts/ruby/table.rb +8 -0
- data/vendor/local/lib/groonga/scripts/ruby/table_cursor.rb +2 -0
- data/vendor/local/lib/groonga/scripts/ruby/variable_size_column.rb +5 -0
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +4 -4
- data/vendor/local/lib/liblz4.a +0 -0
- data/vendor/local/lib/liblz4.dll +0 -0
- data/vendor/local/lib/liblz4.dll.1 +0 -0
- data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmecab.la +4 -4
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +2 -2
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +2 -2
- data/vendor/local/lib/libonig.a +0 -0
- data/vendor/local/lib/libonig.dll.a +0 -0
- data/vendor/local/lib/libonig.la +4 -4
- data/vendor/local/lib/libz.a +0 -0
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
- data/vendor/local/lib/pkgconfig/liblz4.pc +5 -5
- data/vendor/local/lib/pkgconfig/msgpack.pc +2 -2
- data/vendor/local/lib/pkgconfig/oniguruma.pc +6 -6
- data/vendor/local/lib/pkgconfig/zlib.pc +3 -3
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/sbin/groonga-httpd-restart +1 -1
- data/vendor/local/sbin/groonga-httpd.exe +0 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +5 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +288 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +2 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/alias.txt +164 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ctx.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_geo.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/command_version.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_copy.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/config_delete.txt +95 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/config_get.txt +96 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/config_set.txt +96 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/lock_acquire.txt +102 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/lock_clear.txt +10 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/lock_release.txt +98 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_exist.txt +7 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_inspect.txt +385 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_remove.txt +140 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/reindex.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/schema.txt +627 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_list.txt +3 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/configuration.txt +50 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/grndb.txt +41 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/operations/geolocation_search.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/regular_expression.txt +4 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/tokenizers.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/types.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/server/memcached.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/server/package.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/pygments.css +2 -0
- data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/client.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/community.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +14 -14
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +57 -57
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +16 -16
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +16 -16
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/development.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/genindex.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/index.html +117 -97
- data/vendor/local/share/doc/groonga/en/html/install.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +20 -20
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +15 -15
- data/vendor/local/share/doc/groonga/en/html/install/others.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +13 -13
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +20 -20
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +15 -15
- data/vendor/local/share/doc/groonga/en/html/limitations.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/news.html +350 -102
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +117 -97
- data/vendor/local/share/doc/groonga/en/html/reference/alias.html +447 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +40 -40
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +21 -21
- data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +61 -53
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +14 -14
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_delete.html +255 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_get.html +239 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_set.html +237 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +35 -35
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +46 -46
- data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +60 -60
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +35 -35
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_acquire.html +247 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +43 -42
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_release.html +246 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +33 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +53 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +43 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +63 -63
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +135 -135
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +43 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +41 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +43 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_inspect.html +592 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_remove.html +324 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +37 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +33 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/schema.html +1188 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +187 -187
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +41 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +56 -56
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +52 -52
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +35 -35
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +42 -42
- data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +37 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +55 -55
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/configuration.html +178 -0
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +43 -10
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +14 -14
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +13 -13
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +20 -20
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +15 -15
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +47 -47
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +41 -41
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +16 -16
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +18 -18
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +35 -35
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +40 -40
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +46 -46
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/search.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/server/http.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/server/memcached.html +8 -7
- data/vendor/local/share/doc/groonga/en/html/server/package.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/spec.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +13 -13
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +16 -16
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +14 -14
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +13 -13
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +13 -13
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +18 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +18 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +16 -16
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +5 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +288 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +2 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/alias.txt +164 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ctx.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_geo.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/command_version.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_copy.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/config_delete.txt +95 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/config_get.txt +96 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/config_set.txt +96 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/lock_acquire.txt +102 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/lock_clear.txt +10 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/lock_release.txt +98 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_exist.txt +7 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_inspect.txt +385 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_remove.txt +140 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/reindex.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/schema.txt +627 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_list.txt +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/configuration.txt +50 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/grndb.txt +41 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/operations/geolocation_search.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/regular_expression.txt +4 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tokenizers.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/types.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/memcached.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/package.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/pygments.css +2 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/client.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/community.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +57 -57
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +16 -16
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +16 -16
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/development.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/index.html +116 -96
- data/vendor/local/share/doc/groonga/ja/html/install.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +15 -15
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +13 -13
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +15 -15
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news.html +329 -100
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +116 -96
- data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +419 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +40 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +21 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +56 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +15 -15
- data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_delete.html +254 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_get.html +235 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_set.html +234 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +35 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +46 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +60 -60
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +37 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_acquire.html +242 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +43 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_release.html +242 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +33 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +53 -53
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +43 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +63 -63
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +135 -135
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +43 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +48 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +41 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +41 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_inspect.html +595 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_remove.html +306 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +37 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +33 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/schema.html +1196 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +187 -187
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +33 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +45 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +56 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +52 -52
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +35 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +42 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +37 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +55 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/configuration.html +167 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +35 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +35 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +13 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +15 -15
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +48 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +41 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +16 -16
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +17 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +18 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +35 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +40 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +46 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/search.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +16 -16
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +8 -7
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/spec.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +13 -13
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +16 -16
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +13 -13
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +13 -13
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +18 -18
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +18 -18
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +16 -16
- data/vendor/local/share/groonga/html/admin.old/index.html +1 -1
- data/vendor/local/share/groonga/html/admin.old/index.ja.html +1 -1
- data/vendor/local/share/groonga/html/admin.old/js/{jquery.flot-0.7.js → jquery.flot-0.8.3.js} +1540 -817
- data/vendor/local/share/groonga/html/admin.old/js/jquery.flot.license.txt +1 -1
- data/vendor/local/share/groonga/mruby/LEGAL +29 -29
- data/vendor/local/share/license/mruby/AUTHORS +3 -1
- data/vendor/local/share/license/mruby/MITL +1 -1
- data/vendor/local/share/license/mruby/README.md +13 -45
- data/vendor/local/share/license/msgpack/COPYING +4 -13
- data/vendor/local/share/license/msgpack/LICENSE_1_0.txt +23 -0
- data/vendor/local/share/license/msgpack/NOTICE +14 -0
- data/vendor/local/share/license/msgpack/{README → README.md} +4 -4
- data/vendor/local/share/man/ja/man1/groonga.1 +3429 -398
- data/vendor/local/share/man/man1/groonga.1 +3670 -500
- metadata +523 -89
- data/lib/2.0/groonga.so +0 -0
- data/vendor/local/bin/libmecab-1.dll +0 -0
- data/vendor/local/bin/libwinpthread-1.dll +0 -0
- data/vendor/local/include/groonga/groonga/conf.h +0 -42
- data/vendor/local/include/msgpack/adaptor/bool_fwd.hpp +0 -39
- data/vendor/local/include/msgpack/adaptor/char_ptr_fwd.hpp +0 -43
- data/vendor/local/include/msgpack/adaptor/cpp11/array_char_fwd.hpp +0 -45
- data/vendor/local/include/msgpack/adaptor/cpp11/array_fwd.hpp +0 -44
- data/vendor/local/include/msgpack/adaptor/cpp11/forward_list_fwd.hpp +0 -44
- data/vendor/local/include/msgpack/adaptor/cpp11/tuple_fwd.hpp +0 -62
- data/vendor/local/include/msgpack/adaptor/cpp11/unordered_map_fwd.hpp +0 -53
- data/vendor/local/include/msgpack/adaptor/cpp11/unordered_set_fwd.hpp +0 -52
- data/vendor/local/include/msgpack/adaptor/deque_fwd.hpp +0 -40
- data/vendor/local/include/msgpack/adaptor/detail/cpp03_msgpack_tuple_fwd.hpp +0 -4341
- data/vendor/local/include/msgpack/adaptor/detail/cpp11_msgpack_tuple_fwd.hpp +0 -84
- data/vendor/local/include/msgpack/adaptor/fixint_fwd.hpp +0 -100
- data/vendor/local/include/msgpack/adaptor/float_fwd.hpp +0 -44
- data/vendor/local/include/msgpack/adaptor/int_fwd.hpp +0 -100
- data/vendor/local/include/msgpack/adaptor/list_fwd.hpp +0 -40
- data/vendor/local/include/msgpack/adaptor/map_fwd.hpp +0 -69
- data/vendor/local/include/msgpack/adaptor/msgpack_tuple_fwd.hpp +0 -29
- data/vendor/local/include/msgpack/adaptor/nil_fwd.hpp +0 -51
- data/vendor/local/include/msgpack/adaptor/pair_fwd.hpp +0 -42
- data/vendor/local/include/msgpack/adaptor/raw_fwd.hpp +0 -50
- data/vendor/local/include/msgpack/adaptor/set_fwd.hpp +0 -52
- data/vendor/local/include/msgpack/adaptor/string_fwd.hpp +0 -42
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_map_fwd.hpp +0 -75
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_set_fwd.hpp +0 -75
- data/vendor/local/include/msgpack/adaptor/vector_bool_fwd.hpp +0 -40
- data/vendor/local/include/msgpack/adaptor/vector_char_fwd.hpp +0 -42
- data/vendor/local/include/msgpack/adaptor/vector_fwd.hpp +0 -42
- data/vendor/local/include/msgpack_fwd.hpp +0 -28
- data/vendor/local/share/license/msgpack/LICENSE +0 -202
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" Man page generated from reStructuredText.
|
2
2
|
.
|
3
|
-
.TH "GROONGA" "1" "
|
3
|
+
.TH "GROONGA" "1" "February 27, 2016" "6.0.0" "Groonga"
|
4
4
|
.SH NAME
|
5
5
|
groonga \- Groonga documentation
|
6
6
|
.
|
@@ -110,7 +110,7 @@ packages.groonga.org:
|
|
110
110
|
.INDENT 3.5
|
111
111
|
.INDENT 0.0
|
112
112
|
.IP \(bu 2
|
113
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-
|
113
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-6.0.0\-x86.exe\fP
|
114
114
|
.UNINDENT
|
115
115
|
.UNINDENT
|
116
116
|
.UNINDENT
|
@@ -123,7 +123,7 @@ packages.goronga.org:
|
|
123
123
|
.INDENT 3.5
|
124
124
|
.INDENT 0.0
|
125
125
|
.IP \(bu 2
|
126
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-
|
126
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-6.0.0\-x64.exe\fP
|
127
127
|
.UNINDENT
|
128
128
|
.UNINDENT
|
129
129
|
.UNINDENT
|
@@ -140,7 +140,7 @@ packages.groonga.org:
|
|
140
140
|
.INDENT 3.5
|
141
141
|
.INDENT 0.0
|
142
142
|
.IP \(bu 2
|
143
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-
|
143
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-6.0.0\-x86.zip\fP
|
144
144
|
.UNINDENT
|
145
145
|
.UNINDENT
|
146
146
|
.UNINDENT
|
@@ -153,7 +153,7 @@ packages.groonga.org:
|
|
153
153
|
.INDENT 3.5
|
154
154
|
.INDENT 0.0
|
155
155
|
.IP \(bu 2
|
156
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-
|
156
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-6.0.0\-x64.zip\fP
|
157
157
|
.UNINDENT
|
158
158
|
.UNINDENT
|
159
159
|
.UNINDENT
|
@@ -181,7 +181,7 @@ Download zipped source from packages.groonga.org:
|
|
181
181
|
.INDENT 3.5
|
182
182
|
.INDENT 0.0
|
183
183
|
.IP \(bu 2
|
184
|
-
\fI\%http://packages.groonga.org/source/groonga/groonga\-
|
184
|
+
\fI\%http://packages.groonga.org/source/groonga/groonga\-6.0.0.zip\fP
|
185
185
|
.UNINDENT
|
186
186
|
.UNINDENT
|
187
187
|
.UNINDENT
|
@@ -194,7 +194,7 @@ Move to the Groonga\(aqs source folder:
|
|
194
194
|
.sp
|
195
195
|
.nf
|
196
196
|
.ft C
|
197
|
-
> cd c:\eUsers\e%USERNAME%\eDownloads\egroonga\-
|
197
|
+
> cd c:\eUsers\e%USERNAME%\eDownloads\egroonga\-6.0.0
|
198
198
|
.ft P
|
199
199
|
.fi
|
200
200
|
.UNINDENT
|
@@ -208,7 +208,7 @@ parameter instead:
|
|
208
208
|
.sp
|
209
209
|
.nf
|
210
210
|
.ft C
|
211
|
-
groonga\-
|
211
|
+
groonga\-6.0.0> cmake . \-G "Visual Studio 12 2013 Win64" \-DCMAKE_INSTALL_PREFIX=C:\eGroonga
|
212
212
|
.ft P
|
213
213
|
.fi
|
214
214
|
.UNINDENT
|
@@ -220,7 +220,7 @@ Build:
|
|
220
220
|
.sp
|
221
221
|
.nf
|
222
222
|
.ft C
|
223
|
-
groonga\-
|
223
|
+
groonga\-6.0.0> cmake \-\-build . \-\-config Release
|
224
224
|
.ft P
|
225
225
|
.fi
|
226
226
|
.UNINDENT
|
@@ -232,7 +232,7 @@ Install:
|
|
232
232
|
.sp
|
233
233
|
.nf
|
234
234
|
.ft C
|
235
|
-
groonga\-
|
235
|
+
groonga\-6.0.0> cmake \-\-build . \-\-config Release \-\-target Install
|
236
236
|
.ft P
|
237
237
|
.fi
|
238
238
|
.UNINDENT
|
@@ -294,9 +294,9 @@ Download source:
|
|
294
294
|
.sp
|
295
295
|
.nf
|
296
296
|
.ft C
|
297
|
-
% curl \-O http://packages.groonga.org/source/groonga/groonga\-
|
298
|
-
% tar xvzf groonga\-
|
299
|
-
% cd groonga\-
|
297
|
+
% curl \-O http://packages.groonga.org/source/groonga/groonga\-6.0.0.tar.gz
|
298
|
+
% tar xvzf groonga\-6.0.0.tar.gz
|
299
|
+
% cd groonga\-6.0.0
|
300
300
|
.ft P
|
301
301
|
.fi
|
302
302
|
.UNINDENT
|
@@ -592,9 +592,9 @@ Download source:
|
|
592
592
|
.sp
|
593
593
|
.nf
|
594
594
|
.ft C
|
595
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-
|
596
|
-
% tar xvzf groonga\-
|
597
|
-
% cd groonga\-
|
595
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-6.0.0.tar.gz
|
596
|
+
% tar xvzf groonga\-6.0.0.tar.gz
|
597
|
+
% cd groonga\-6.0.0
|
598
598
|
.ft P
|
599
599
|
.fi
|
600
600
|
.UNINDENT
|
@@ -803,9 +803,9 @@ Download source:
|
|
803
803
|
.sp
|
804
804
|
.nf
|
805
805
|
.ft C
|
806
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-
|
807
|
-
% tar xvzf groonga\-
|
808
|
-
% cd groonga\-
|
806
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-6.0.0.tar.gz
|
807
|
+
% tar xvzf groonga\-6.0.0.tar.gz
|
808
|
+
% cd groonga\-6.0.0
|
809
809
|
.ft P
|
810
810
|
.fi
|
811
811
|
.UNINDENT
|
@@ -1210,9 +1210,9 @@ Download source:
|
|
1210
1210
|
.sp
|
1211
1211
|
.nf
|
1212
1212
|
.ft C
|
1213
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-
|
1214
|
-
% tar xvzf groonga\-
|
1215
|
-
% cd groonga\-
|
1213
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-6.0.0.tar.gz
|
1214
|
+
% tar xvzf groonga\-6.0.0.tar.gz
|
1215
|
+
% cd groonga\-6.0.0
|
1216
1216
|
.ft P
|
1217
1217
|
.fi
|
1218
1218
|
.UNINDENT
|
@@ -1413,9 +1413,9 @@ Download source:
|
|
1413
1413
|
.sp
|
1414
1414
|
.nf
|
1415
1415
|
.ft C
|
1416
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-
|
1417
|
-
% tar xvzf groonga\-
|
1418
|
-
% cd groonga\-
|
1416
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-6.0.0.tar.gz
|
1417
|
+
% tar xvzf groonga\-6.0.0.tar.gz
|
1418
|
+
% cd groonga\-6.0.0
|
1419
1419
|
.ft P
|
1420
1420
|
.fi
|
1421
1421
|
.UNINDENT
|
@@ -1480,9 +1480,9 @@ Download source:
|
|
1480
1480
|
.sp
|
1481
1481
|
.nf
|
1482
1482
|
.ft C
|
1483
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-
|
1484
|
-
% gtar xvzf groonga\-
|
1485
|
-
% cd groonga\-
|
1483
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-6.0.0.tar.gz
|
1484
|
+
% gtar xvzf groonga\-6.0.0.tar.gz
|
1485
|
+
% cd groonga\-6.0.0
|
1486
1486
|
.ft P
|
1487
1487
|
.fi
|
1488
1488
|
.UNINDENT
|
@@ -1622,9 +1622,9 @@ steps:
|
|
1622
1622
|
.sp
|
1623
1623
|
.nf
|
1624
1624
|
.ft C
|
1625
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-
|
1626
|
-
% tar xvzf groonga\-
|
1627
|
-
% cd groonga\-
|
1625
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-6.0.0.tar.gz
|
1626
|
+
% tar xvzf groonga\-6.0.0.tar.gz
|
1627
|
+
% cd groonga\-6.0.0
|
1628
1628
|
% ./configure
|
1629
1629
|
% make
|
1630
1630
|
% sudo make install
|
@@ -7675,7 +7675,7 @@ In which cases, query string is replaced to "(theater OR theatre)", thus synonym
|
|
7675
7675
|
.SH SERVER
|
7676
7676
|
.SS Server packages
|
7677
7677
|
.sp
|
7678
|
-
The package \fBgroonga\fP is the
|
7678
|
+
The package \fBgroonga\fP is the minimum set of fulltext search engine.
|
7679
7679
|
If you want to use groonga for server use, you can install
|
7680
7680
|
additional preconfigured packages.
|
7681
7681
|
.sp
|
@@ -8654,6 +8654,8 @@ groonga [\-p PORT_NUMBER] \-d \-\-protocol memcached DB_PATH
|
|
8654
8654
|
.UNINDENT
|
8655
8655
|
.sp
|
8656
8656
|
The \fI\-\-protocol\fP option and its argument specify the protocol of the server. "memcached" specifies to use the memcached binary protocol.
|
8657
|
+
.sp
|
8658
|
+
You don\(aqt need to create a table. When Groonga receives a request, it creates a table automatically. The table name will be \fIMemcache\fP .
|
8657
8659
|
.SH CLIENT
|
8658
8660
|
.sp
|
8659
8661
|
Groonga supports the original protocol (\fB/spec/gqtp\fP), the memcached
|
@@ -8728,7 +8730,7 @@ Here is an example to check the database at \fB/var/lib/groonga/db/db\fP:
|
|
8728
8730
|
.sp
|
8729
8731
|
.nf
|
8730
8732
|
.ft C
|
8731
|
-
|
8733
|
+
% grndb check /var/lib/groonga/db/db
|
8732
8734
|
.ft P
|
8733
8735
|
.fi
|
8734
8736
|
.UNINDENT
|
@@ -8740,7 +8742,7 @@ Here is an example to recover the database at \fB/var/lib/groonga/db/db\fP:
|
|
8740
8742
|
.sp
|
8741
8743
|
.nf
|
8742
8744
|
.ft C
|
8743
|
-
|
8745
|
+
% grndb recover /var/lib/groonga/db/db
|
8744
8746
|
.ft P
|
8745
8747
|
.fi
|
8746
8748
|
.UNINDENT
|
@@ -8760,6 +8762,58 @@ You must not use this command for opened database. If the database
|
|
8760
8762
|
is opened, this command may report wrong result.
|
8761
8763
|
.UNINDENT
|
8762
8764
|
.UNINDENT
|
8765
|
+
.sp
|
8766
|
+
\fBcheck\fP has some options.
|
8767
|
+
.SS \fB\-\-target\fP
|
8768
|
+
.sp
|
8769
|
+
New in version 5.1.2.
|
8770
|
+
|
8771
|
+
.sp
|
8772
|
+
It specifies a check target object.
|
8773
|
+
.sp
|
8774
|
+
If your database is large and you know an unreliable object, this
|
8775
|
+
option will help you. \fBcheck\fP need more time for large database. You
|
8776
|
+
can reduce check time by \fB\-\-target\fP option to reduce check target.
|
8777
|
+
.sp
|
8778
|
+
The check target is checked recursive. Because related objects of
|
8779
|
+
unreliable object will be unreliable.
|
8780
|
+
.sp
|
8781
|
+
If the check target is a table, all columns of the table are also
|
8782
|
+
checked recursive.
|
8783
|
+
.sp
|
8784
|
+
If the check target is a table and its key type is another table, the
|
8785
|
+
another table is also checked recursive.
|
8786
|
+
.sp
|
8787
|
+
If the check target is a column and its value type is a table, the
|
8788
|
+
table is also checked recursive.
|
8789
|
+
.sp
|
8790
|
+
If the check target is an index column, the table specified as value
|
8791
|
+
type and all sources are also checked recursive.
|
8792
|
+
.sp
|
8793
|
+
Here is an example that checks only \fBEntries\fP table and its
|
8794
|
+
columns:
|
8795
|
+
.INDENT 0.0
|
8796
|
+
.INDENT 3.5
|
8797
|
+
.sp
|
8798
|
+
.nf
|
8799
|
+
.ft C
|
8800
|
+
% grndb check \-\-target Entries /var/lib/groonga/db/db
|
8801
|
+
.ft P
|
8802
|
+
.fi
|
8803
|
+
.UNINDENT
|
8804
|
+
.UNINDENT
|
8805
|
+
.sp
|
8806
|
+
Here is an example that checks only \fBEntries.name\fP column:
|
8807
|
+
.INDENT 0.0
|
8808
|
+
.INDENT 3.5
|
8809
|
+
.sp
|
8810
|
+
.nf
|
8811
|
+
.ft C
|
8812
|
+
% grndb check \-\-target Entries.name /var/lib/groonga/db/db
|
8813
|
+
.ft P
|
8814
|
+
.fi
|
8815
|
+
.UNINDENT
|
8816
|
+
.UNINDENT
|
8763
8817
|
.SS \fBrecover\fP
|
8764
8818
|
.sp
|
8765
8819
|
It recovers an existing broken Groonga database.
|
@@ -9073,7 +9127,7 @@ groonga [options] \-\-protocol http \-d DB_PATH
|
|
9073
9127
|
.UNINDENT
|
9074
9128
|
.UNINDENT
|
9075
9129
|
.sp
|
9076
|
-
\
|
9130
|
+
\fI\%\-\-pid\-path\fP option will be useful for daemon mode.
|
9077
9131
|
.SS Client mode
|
9078
9132
|
.sp
|
9079
9133
|
In client mode, \fBgroonga\fP executable file runs as a client for GQTP
|
@@ -9297,10 +9351,10 @@ PIDを保存するパスを指定します。(デフォルトでは保存しま
|
|
9297
9351
|
; \(aq;\(aq以降もコメント。
|
9298
9352
|
|
9299
9353
|
# \(aqキー = 値\(aqでオプションを指定。
|
9300
|
-
pid\-
|
9354
|
+
pid\-path = /var/run/groonga.pid
|
9301
9355
|
|
9302
9356
|
# \(aq=\(aqの前後の空白はは無視される。↓は↑と同じ意味。
|
9303
|
-
pid\-
|
9357
|
+
pid\-path=/var/run/groonga.pid
|
9304
9358
|
|
9305
9359
|
# \(aqキー\(aqは\(aq\-\-XXX\(aqスタイルのオプション名と同じものが使える。
|
9306
9360
|
# 例えば、\(aq\-\-pid\-path\(aqに対応するキーは\(aqpid\-path\(aq。
|
@@ -11314,7 +11368,7 @@ Command is the most important processing unit in query API. You
|
|
11314
11368
|
request a processing to groonga by a command.
|
11315
11369
|
.sp
|
11316
11370
|
This section describes about command and built\-in commands.
|
11317
|
-
.SS
|
11371
|
+
.SS Command version
|
11318
11372
|
.SS 概要
|
11319
11373
|
.sp
|
11320
11374
|
Groonga1.1からコマンドバージョンという概念が導入されます。コマンドバージョンは、selectやloadなどのGroongaのコマンドの仕様の互換性を表します。Groongaパッケージのバージョンが新しくなったとしても、同一のコマンドバージョンが使用可能であるなら、すべてのコマンドについて互換性が保証されます。コマンドバージョンが異なれば、同じ名前のコマンドであっても、動作に互換性がない可能性があります。
|
@@ -14029,6 +14083,333 @@ See \fB/reference/command/output_format\fP about \fBHEADER\fP\&.
|
|
14029
14083
|
It is \fBtrue\fP on success, \fBfalse\fP otherwise.
|
14030
14084
|
.UNINDENT
|
14031
14085
|
.UNINDENT
|
14086
|
+
.SS \fBconfig_delete\fP
|
14087
|
+
.SS Summary
|
14088
|
+
.sp
|
14089
|
+
New in version 5.1.2.
|
14090
|
+
|
14091
|
+
.sp
|
14092
|
+
\fBconfig_delete\fP command deletes the specified configuration item.
|
14093
|
+
.SS Syntax
|
14094
|
+
.sp
|
14095
|
+
This command takes only one required parameter:
|
14096
|
+
.INDENT 0.0
|
14097
|
+
.INDENT 3.5
|
14098
|
+
.sp
|
14099
|
+
.nf
|
14100
|
+
.ft C
|
14101
|
+
config_delete key
|
14102
|
+
.ft P
|
14103
|
+
.fi
|
14104
|
+
.UNINDENT
|
14105
|
+
.UNINDENT
|
14106
|
+
.SS Usage
|
14107
|
+
.sp
|
14108
|
+
Here is an example to delete \fBalias.column\fP configuration item:
|
14109
|
+
.sp
|
14110
|
+
Execution example:
|
14111
|
+
.INDENT 0.0
|
14112
|
+
.INDENT 3.5
|
14113
|
+
.sp
|
14114
|
+
.nf
|
14115
|
+
.ft C
|
14116
|
+
config_set alias.column Aliases.real_name
|
14117
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
14118
|
+
config_get alias.column
|
14119
|
+
# [[0, 1337566253.89858, 0.000355720520019531], "Aliases.real_name"]
|
14120
|
+
config_delete alias.column
|
14121
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
14122
|
+
config_get alias.column
|
14123
|
+
# [[0, 1337566253.89858, 0.000355720520019531], ""]
|
14124
|
+
.ft P
|
14125
|
+
.fi
|
14126
|
+
.UNINDENT
|
14127
|
+
.UNINDENT
|
14128
|
+
.sp
|
14129
|
+
Here is an example to delete nonexistent configuration item:
|
14130
|
+
.sp
|
14131
|
+
Execution example:
|
14132
|
+
.INDENT 0.0
|
14133
|
+
.INDENT 3.5
|
14134
|
+
.sp
|
14135
|
+
.nf
|
14136
|
+
.ft C
|
14137
|
+
config_delete nonexistent
|
14138
|
+
# [
|
14139
|
+
# [
|
14140
|
+
# \-22,
|
14141
|
+
# 1337566253.89858,
|
14142
|
+
# 0.000355720520019531,
|
14143
|
+
# "[config][delete] failed to delete",
|
14144
|
+
# [
|
14145
|
+
# [
|
14146
|
+
# "grn_config_delete",
|
14147
|
+
# "config.c",
|
14148
|
+
# 166
|
14149
|
+
# ]
|
14150
|
+
# ]
|
14151
|
+
# ],
|
14152
|
+
# false
|
14153
|
+
# ]
|
14154
|
+
.ft P
|
14155
|
+
.fi
|
14156
|
+
.UNINDENT
|
14157
|
+
.UNINDENT
|
14158
|
+
.sp
|
14159
|
+
\fBconfig_delete\fP returns an error when you try to delete nonexistent
|
14160
|
+
configuration item.
|
14161
|
+
.SS Parameters
|
14162
|
+
.sp
|
14163
|
+
This section describes all parameters.
|
14164
|
+
.SS Required parameters
|
14165
|
+
.sp
|
14166
|
+
There is one required parameter.
|
14167
|
+
.SS \fBkey\fP
|
14168
|
+
.sp
|
14169
|
+
Specifies the key of target configuration item.
|
14170
|
+
.sp
|
14171
|
+
The max key size is 4KiB.
|
14172
|
+
.sp
|
14173
|
+
You can\(aqt use an empty string as key.
|
14174
|
+
.SS Optional parameters
|
14175
|
+
.sp
|
14176
|
+
There is no optional parameters.
|
14177
|
+
.SS Return value
|
14178
|
+
.sp
|
14179
|
+
\fBconfig_delete\fP command returns whether deleting a configuration
|
14180
|
+
item is succeeded or not:
|
14181
|
+
.INDENT 0.0
|
14182
|
+
.INDENT 3.5
|
14183
|
+
.sp
|
14184
|
+
.nf
|
14185
|
+
.ft C
|
14186
|
+
[HEADER, SUCCEEDED_OR_NOT]
|
14187
|
+
.ft P
|
14188
|
+
.fi
|
14189
|
+
.UNINDENT
|
14190
|
+
.UNINDENT
|
14191
|
+
.SS \fBHEADER\fP
|
14192
|
+
.sp
|
14193
|
+
See \fB/reference/command/output_format\fP about \fBHEADER\fP\&.
|
14194
|
+
.SS \fBSUCCEEDED_OR_NOT\fP
|
14195
|
+
.sp
|
14196
|
+
If command succeeded, it returns true, otherwise it returns false on error.
|
14197
|
+
.SS See also
|
14198
|
+
.INDENT 0.0
|
14199
|
+
.INDENT 3.5
|
14200
|
+
.INDENT 0.0
|
14201
|
+
.IP \(bu 2
|
14202
|
+
\fB/reference/configuration\fP
|
14203
|
+
.IP \(bu 2
|
14204
|
+
\fBconfig_get\fP
|
14205
|
+
.IP \(bu 2
|
14206
|
+
\fBconfig_set\fP
|
14207
|
+
.UNINDENT
|
14208
|
+
.UNINDENT
|
14209
|
+
.UNINDENT
|
14210
|
+
.SS \fBconfig_get\fP
|
14211
|
+
.SS Summary
|
14212
|
+
.sp
|
14213
|
+
New in version 5.1.2.
|
14214
|
+
|
14215
|
+
.sp
|
14216
|
+
\fBconfig_get\fP command returns the value of the specified
|
14217
|
+
configuration item.
|
14218
|
+
.SS Syntax
|
14219
|
+
.sp
|
14220
|
+
This command takes only one required parameter:
|
14221
|
+
.INDENT 0.0
|
14222
|
+
.INDENT 3.5
|
14223
|
+
.sp
|
14224
|
+
.nf
|
14225
|
+
.ft C
|
14226
|
+
config_get key
|
14227
|
+
.ft P
|
14228
|
+
.fi
|
14229
|
+
.UNINDENT
|
14230
|
+
.UNINDENT
|
14231
|
+
.SS Usage
|
14232
|
+
.sp
|
14233
|
+
Here is an example to set a value to \fBalias.column\fP
|
14234
|
+
configuration item and get the value:
|
14235
|
+
.sp
|
14236
|
+
Execution example:
|
14237
|
+
.INDENT 0.0
|
14238
|
+
.INDENT 3.5
|
14239
|
+
.sp
|
14240
|
+
.nf
|
14241
|
+
.ft C
|
14242
|
+
config_set alias.column Aliases.real_name
|
14243
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
14244
|
+
config_get alias.column
|
14245
|
+
# [[0, 1337566253.89858, 0.000355720520019531], "Aliases.real_name"]
|
14246
|
+
.ft P
|
14247
|
+
.fi
|
14248
|
+
.UNINDENT
|
14249
|
+
.UNINDENT
|
14250
|
+
.sp
|
14251
|
+
Here is an example to get nonexistent configuration item value:
|
14252
|
+
.sp
|
14253
|
+
Execution example:
|
14254
|
+
.INDENT 0.0
|
14255
|
+
.INDENT 3.5
|
14256
|
+
.sp
|
14257
|
+
.nf
|
14258
|
+
.ft C
|
14259
|
+
config_get nonexistent
|
14260
|
+
# [[0, 1337566253.89858, 0.000355720520019531], ""]
|
14261
|
+
.ft P
|
14262
|
+
.fi
|
14263
|
+
.UNINDENT
|
14264
|
+
.UNINDENT
|
14265
|
+
.sp
|
14266
|
+
\fBconfig_get\fP returns an empty string for nonexistent configuration
|
14267
|
+
item key.
|
14268
|
+
.SS Parameters
|
14269
|
+
.sp
|
14270
|
+
This section describes all parameters.
|
14271
|
+
.SS Required parameters
|
14272
|
+
.sp
|
14273
|
+
There is one required parameter.
|
14274
|
+
.SS \fBkey\fP
|
14275
|
+
.sp
|
14276
|
+
Specifies the key of target configuration item.
|
14277
|
+
.sp
|
14278
|
+
The max key size is 4KiB.
|
14279
|
+
.sp
|
14280
|
+
You can\(aqt use an empty string as key.
|
14281
|
+
.SS Optional parameters
|
14282
|
+
.sp
|
14283
|
+
There is no optional parameters.
|
14284
|
+
.SS Return value
|
14285
|
+
.sp
|
14286
|
+
\fBconfig_get\fP command returns the value of the specified
|
14287
|
+
configuration item:
|
14288
|
+
.INDENT 0.0
|
14289
|
+
.INDENT 3.5
|
14290
|
+
.sp
|
14291
|
+
.nf
|
14292
|
+
.ft C
|
14293
|
+
[HEADER, VALUE]
|
14294
|
+
.ft P
|
14295
|
+
.fi
|
14296
|
+
.UNINDENT
|
14297
|
+
.UNINDENT
|
14298
|
+
.SS \fBHEADER\fP
|
14299
|
+
.sp
|
14300
|
+
See \fB/reference/command/output_format\fP about \fBHEADER\fP\&.
|
14301
|
+
.SS \fBVALUE\fP
|
14302
|
+
.sp
|
14303
|
+
\fBVALUE\fP is the value of the configuration item specified by
|
14304
|
+
\fBkey\fP\&. It\(aqs a string.
|
14305
|
+
.SS See also
|
14306
|
+
.INDENT 0.0
|
14307
|
+
.INDENT 3.5
|
14308
|
+
.INDENT 0.0
|
14309
|
+
.IP \(bu 2
|
14310
|
+
\fB/reference/configuration\fP
|
14311
|
+
.IP \(bu 2
|
14312
|
+
\fBconfig_set\fP
|
14313
|
+
.IP \(bu 2
|
14314
|
+
\fBconfig_delete\fP
|
14315
|
+
.UNINDENT
|
14316
|
+
.UNINDENT
|
14317
|
+
.UNINDENT
|
14318
|
+
.SS \fBconfig_set\fP
|
14319
|
+
.SS Summary
|
14320
|
+
.sp
|
14321
|
+
New in version 5.1.2.
|
14322
|
+
|
14323
|
+
.sp
|
14324
|
+
\fBconfig_set\fP command sets a value to the specified
|
14325
|
+
configuration item.
|
14326
|
+
.SS Syntax
|
14327
|
+
.sp
|
14328
|
+
This command takes two required parameters:
|
14329
|
+
.INDENT 0.0
|
14330
|
+
.INDENT 3.5
|
14331
|
+
.sp
|
14332
|
+
.nf
|
14333
|
+
.ft C
|
14334
|
+
config_set key value
|
14335
|
+
.ft P
|
14336
|
+
.fi
|
14337
|
+
.UNINDENT
|
14338
|
+
.UNINDENT
|
14339
|
+
.SS Usage
|
14340
|
+
.sp
|
14341
|
+
Here is an example to set a value to \fBalias.column\fP
|
14342
|
+
configuration item and confirm the set value:
|
14343
|
+
.sp
|
14344
|
+
Execution example:
|
14345
|
+
.INDENT 0.0
|
14346
|
+
.INDENT 3.5
|
14347
|
+
.sp
|
14348
|
+
.nf
|
14349
|
+
.ft C
|
14350
|
+
config_set alias.column Aliases.real_name
|
14351
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
14352
|
+
config_get alias.column
|
14353
|
+
# [[0, 1337566253.89858, 0.000355720520019531], "Aliases.real_name"]
|
14354
|
+
.ft P
|
14355
|
+
.fi
|
14356
|
+
.UNINDENT
|
14357
|
+
.UNINDENT
|
14358
|
+
.SS Parameters
|
14359
|
+
.sp
|
14360
|
+
This section describes all parameters.
|
14361
|
+
.SS Required parameters
|
14362
|
+
.sp
|
14363
|
+
There are required parameters.
|
14364
|
+
.SS \fBkey\fP
|
14365
|
+
.sp
|
14366
|
+
Specifies the key of target configuration item.
|
14367
|
+
.sp
|
14368
|
+
The max key size is 4KiB.
|
14369
|
+
.sp
|
14370
|
+
You can\(aqt use an empty string as key.
|
14371
|
+
.SS \fBvalue\fP
|
14372
|
+
.sp
|
14373
|
+
Specifies the value of the target configuration item specified by
|
14374
|
+
\fBkey\fP\&.
|
14375
|
+
.sp
|
14376
|
+
The max value size is 4091B (= 4KiB \- 5B).
|
14377
|
+
.SS Optional parameters
|
14378
|
+
.sp
|
14379
|
+
There is no optional parameters.
|
14380
|
+
.SS Return value
|
14381
|
+
.sp
|
14382
|
+
\fBconfig_set\fP command returns whether setting a configuration item
|
14383
|
+
value is succeeded or not:
|
14384
|
+
.INDENT 0.0
|
14385
|
+
.INDENT 3.5
|
14386
|
+
.sp
|
14387
|
+
.nf
|
14388
|
+
.ft C
|
14389
|
+
[HEADER, SUCCEEDED_OR_NOT]
|
14390
|
+
.ft P
|
14391
|
+
.fi
|
14392
|
+
.UNINDENT
|
14393
|
+
.UNINDENT
|
14394
|
+
.SS \fBHEADER\fP
|
14395
|
+
.sp
|
14396
|
+
See \fB/reference/command/output_format\fP about \fBHEADER\fP\&.
|
14397
|
+
.SS \fBSUCCEEDED_OR_NOT\fP
|
14398
|
+
.sp
|
14399
|
+
If command succeeded, it returns true, otherwise it returns false on error.
|
14400
|
+
.SS See also
|
14401
|
+
.INDENT 0.0
|
14402
|
+
.INDENT 3.5
|
14403
|
+
.INDENT 0.0
|
14404
|
+
.IP \(bu 2
|
14405
|
+
\fB/reference/configuration\fP
|
14406
|
+
.IP \(bu 2
|
14407
|
+
\fBconfig_get\fP
|
14408
|
+
.IP \(bu 2
|
14409
|
+
\fBconfig_delete\fP
|
14410
|
+
.UNINDENT
|
14411
|
+
.UNINDENT
|
14412
|
+
.UNINDENT
|
14032
14413
|
.SS \fBdatabase_unmap\fP
|
14033
14414
|
.SS Summary
|
14034
14415
|
.sp
|
@@ -15524,6 +15905,148 @@ load \-\-table Entry \-\-input_type json
|
|
15524
15905
|
.SS See also
|
15525
15906
|
.sp
|
15526
15907
|
\fB/reference/grn_expr\fP
|
15908
|
+
.SS \fBlock_acquire\fP
|
15909
|
+
.SS Summary
|
15910
|
+
.sp
|
15911
|
+
New in version 5.1.2.
|
15912
|
+
|
15913
|
+
.sp
|
15914
|
+
\fBlock_acquire\fP command acquires the lock of the target object. The
|
15915
|
+
target object is one of database, table and column.
|
15916
|
+
.sp
|
15917
|
+
\fBNOTE:\fP
|
15918
|
+
.INDENT 0.0
|
15919
|
+
.INDENT 3.5
|
15920
|
+
This is a dangerous command. You must release locks by
|
15921
|
+
\fBlock_release\fP that you acquire when these locks are no longer
|
15922
|
+
needed. If you forget to release these locks, your database may be
|
15923
|
+
broken.
|
15924
|
+
.UNINDENT
|
15925
|
+
.UNINDENT
|
15926
|
+
.SS Syntax
|
15927
|
+
.sp
|
15928
|
+
This command takes only one optional parameter:
|
15929
|
+
.INDENT 0.0
|
15930
|
+
.INDENT 3.5
|
15931
|
+
.sp
|
15932
|
+
.nf
|
15933
|
+
.ft C
|
15934
|
+
lock_clear [target_name=null]
|
15935
|
+
.ft P
|
15936
|
+
.fi
|
15937
|
+
.UNINDENT
|
15938
|
+
.UNINDENT
|
15939
|
+
.sp
|
15940
|
+
If \fBtarget_name\fP parameters is omitted, database is used for the
|
15941
|
+
target object.
|
15942
|
+
.SS Usage
|
15943
|
+
.sp
|
15944
|
+
Here is an example to acquire the lock of the database:
|
15945
|
+
.sp
|
15946
|
+
Execution example:
|
15947
|
+
.INDENT 0.0
|
15948
|
+
.INDENT 3.5
|
15949
|
+
.sp
|
15950
|
+
.nf
|
15951
|
+
.ft C
|
15952
|
+
lock_acquire
|
15953
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
15954
|
+
.ft P
|
15955
|
+
.fi
|
15956
|
+
.UNINDENT
|
15957
|
+
.UNINDENT
|
15958
|
+
.sp
|
15959
|
+
If the database is locked, you can\(aqt create a new table and
|
15960
|
+
column. Release the lock of the database to show another examples.
|
15961
|
+
.sp
|
15962
|
+
Execution example:
|
15963
|
+
.INDENT 0.0
|
15964
|
+
.INDENT 3.5
|
15965
|
+
.sp
|
15966
|
+
.nf
|
15967
|
+
.ft C
|
15968
|
+
lock_release
|
15969
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
15970
|
+
.ft P
|
15971
|
+
.fi
|
15972
|
+
.UNINDENT
|
15973
|
+
.UNINDENT
|
15974
|
+
.sp
|
15975
|
+
Here is an example to acquire the lock of \fBEntries\fP table:
|
15976
|
+
.sp
|
15977
|
+
Execution example:
|
15978
|
+
.INDENT 0.0
|
15979
|
+
.INDENT 3.5
|
15980
|
+
.sp
|
15981
|
+
.nf
|
15982
|
+
.ft C
|
15983
|
+
table_create Entries TABLE_NO_KEY
|
15984
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
15985
|
+
lock_acquire Entries
|
15986
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
15987
|
+
.ft P
|
15988
|
+
.fi
|
15989
|
+
.UNINDENT
|
15990
|
+
.UNINDENT
|
15991
|
+
.sp
|
15992
|
+
Here is an example to acquire the lock of \fBSites.title\fP column:
|
15993
|
+
.sp
|
15994
|
+
Execution example:
|
15995
|
+
.INDENT 0.0
|
15996
|
+
.INDENT 3.5
|
15997
|
+
.sp
|
15998
|
+
.nf
|
15999
|
+
.ft C
|
16000
|
+
table_create Sites TABLE_HASH_KEY ShortText
|
16001
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
16002
|
+
column_create Sites title COLUMN_SCALAR ShortText
|
16003
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
16004
|
+
lock_acquire Sites.title
|
16005
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
16006
|
+
.ft P
|
16007
|
+
.fi
|
16008
|
+
.UNINDENT
|
16009
|
+
.UNINDENT
|
16010
|
+
.SS Parameters
|
16011
|
+
.sp
|
16012
|
+
This section describes all parameters.
|
16013
|
+
.SS \fBtarget_name\fP
|
16014
|
+
.sp
|
16015
|
+
Specifies the name of table or column.
|
16016
|
+
.sp
|
16017
|
+
If you don\(aqt specify it, database is used for the target object.
|
16018
|
+
.sp
|
16019
|
+
The default is none. It means that the target object is database.
|
16020
|
+
.SS Return value
|
16021
|
+
.sp
|
16022
|
+
\fBlock_acquire\fP command returns whether lock is acquired or not:
|
16023
|
+
.INDENT 0.0
|
16024
|
+
.INDENT 3.5
|
16025
|
+
.sp
|
16026
|
+
.nf
|
16027
|
+
.ft C
|
16028
|
+
[HEADER, SUCCEEDED_OR_NOT]
|
16029
|
+
.ft P
|
16030
|
+
.fi
|
16031
|
+
.UNINDENT
|
16032
|
+
.UNINDENT
|
16033
|
+
.SS \fBHEADER\fP
|
16034
|
+
.sp
|
16035
|
+
See \fB/reference/command/output_format\fP about \fBHEADER\fP\&.
|
16036
|
+
.SS \fBSUCCEEDED_OR_NOT\fP
|
16037
|
+
.sp
|
16038
|
+
If command succeeded, it returns true, otherwise it returns false on error.
|
16039
|
+
.SS See also
|
16040
|
+
.INDENT 0.0
|
16041
|
+
.INDENT 3.5
|
16042
|
+
.INDENT 0.0
|
16043
|
+
.IP \(bu 2
|
16044
|
+
\fBlock_release\fP
|
16045
|
+
.IP \(bu 2
|
16046
|
+
\fBlock_clear\fP
|
16047
|
+
.UNINDENT
|
16048
|
+
.UNINDENT
|
16049
|
+
.UNINDENT
|
15527
16050
|
.SS \fBlock_clear\fP
|
15528
16051
|
.SS Summary
|
15529
16052
|
.sp
|
@@ -15575,7 +16098,7 @@ lock_clear
|
|
15575
16098
|
.UNINDENT
|
15576
16099
|
.UNINDENT
|
15577
16100
|
.sp
|
15578
|
-
Here is an example to clear locks of \
|
16101
|
+
Here is an example to clear locks of \fBEntries\fP table and \fBEntries\fP
|
15579
16102
|
table columns:
|
15580
16103
|
.sp
|
15581
16104
|
Execution example:
|
@@ -15584,18 +16107,18 @@ Execution example:
|
|
15584
16107
|
.sp
|
15585
16108
|
.nf
|
15586
16109
|
.ft C
|
15587
|
-
table_create
|
16110
|
+
table_create Entries TABLE_NO_KEY
|
15588
16111
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
15589
|
-
column_create
|
16112
|
+
column_create Entries body COLUMN_SCALAR Text
|
15590
16113
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
15591
|
-
lock_clear
|
16114
|
+
lock_clear Entries
|
15592
16115
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
15593
16116
|
.ft P
|
15594
16117
|
.fi
|
15595
16118
|
.UNINDENT
|
15596
16119
|
.UNINDENT
|
15597
16120
|
.sp
|
15598
|
-
Here is an example to clear the lock of \
|
16121
|
+
Here is an example to clear the lock of \fBSites.title\fP column:
|
15599
16122
|
.sp
|
15600
16123
|
Execution example:
|
15601
16124
|
.INDENT 0.0
|
@@ -15603,11 +16126,11 @@ Execution example:
|
|
15603
16126
|
.sp
|
15604
16127
|
.nf
|
15605
16128
|
.ft C
|
15606
|
-
table_create
|
16129
|
+
table_create Sites TABLE_HASH_KEY ShortText
|
15607
16130
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
15608
|
-
column_create
|
16131
|
+
column_create Sites title COLUMN_SCALAR ShortText
|
15609
16132
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
15610
|
-
lock_clear
|
16133
|
+
lock_clear Sites.title
|
15611
16134
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
15612
16135
|
.ft P
|
15613
16136
|
.fi
|
@@ -15625,7 +16148,8 @@ If you don\(aqt specify it, database is used for the target object.
|
|
15625
16148
|
The default is none. It means that the target object is database.
|
15626
16149
|
.SS Return value
|
15627
16150
|
.sp
|
15628
|
-
\fBlock_clear\fP command returns whether lock is
|
16151
|
+
\fBlock_clear\fP command returns whether lock is cleared successfully or
|
16152
|
+
not:
|
15629
16153
|
.INDENT 0.0
|
15630
16154
|
.INDENT 3.5
|
15631
16155
|
.sp
|
@@ -15650,6 +16174,138 @@ See \fB/reference/command/output_format\fP about \fBHEADER\fP\&.
|
|
15650
16174
|
If command succeeded, it returns true, otherwise it returns false on error.
|
15651
16175
|
.UNINDENT
|
15652
16176
|
.UNINDENT
|
16177
|
+
.SS \fBlock_release\fP
|
16178
|
+
.SS Summary
|
16179
|
+
.sp
|
16180
|
+
New in version 5.1.2.
|
16181
|
+
|
16182
|
+
.sp
|
16183
|
+
\fBlock_release\fP command releases the lock of the target object. The
|
16184
|
+
target object is one of database, table and column.
|
16185
|
+
.sp
|
16186
|
+
\fBNOTE:\fP
|
16187
|
+
.INDENT 0.0
|
16188
|
+
.INDENT 3.5
|
16189
|
+
This is a dangerous command. You must only release locks that you
|
16190
|
+
acquire by \fBlock_acquire\fP\&. If you release locks without
|
16191
|
+
\fBlock_acquire\fP, your database may be broken.
|
16192
|
+
.UNINDENT
|
16193
|
+
.UNINDENT
|
16194
|
+
.SS Syntax
|
16195
|
+
.sp
|
16196
|
+
This command takes only one optional parameter:
|
16197
|
+
.INDENT 0.0
|
16198
|
+
.INDENT 3.5
|
16199
|
+
.sp
|
16200
|
+
.nf
|
16201
|
+
.ft C
|
16202
|
+
lock_clear [target_name=null]
|
16203
|
+
.ft P
|
16204
|
+
.fi
|
16205
|
+
.UNINDENT
|
16206
|
+
.UNINDENT
|
16207
|
+
.sp
|
16208
|
+
If \fBtarget_name\fP parameters is omitted, database is used for the
|
16209
|
+
target object.
|
16210
|
+
.SS Usage
|
16211
|
+
.sp
|
16212
|
+
Here is an example to release the lock of the database:
|
16213
|
+
.sp
|
16214
|
+
Execution example:
|
16215
|
+
.INDENT 0.0
|
16216
|
+
.INDENT 3.5
|
16217
|
+
.sp
|
16218
|
+
.nf
|
16219
|
+
.ft C
|
16220
|
+
lock_acquire
|
16221
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
16222
|
+
lock_release
|
16223
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
16224
|
+
.ft P
|
16225
|
+
.fi
|
16226
|
+
.UNINDENT
|
16227
|
+
.UNINDENT
|
16228
|
+
.sp
|
16229
|
+
Here is an example to release the lock of \fBEntries\fP table:
|
16230
|
+
.sp
|
16231
|
+
Execution example:
|
16232
|
+
.INDENT 0.0
|
16233
|
+
.INDENT 3.5
|
16234
|
+
.sp
|
16235
|
+
.nf
|
16236
|
+
.ft C
|
16237
|
+
table_create Entries TABLE_NO_KEY
|
16238
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
16239
|
+
lock_acquire Entries
|
16240
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
16241
|
+
lock_release Entries
|
16242
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
16243
|
+
.ft P
|
16244
|
+
.fi
|
16245
|
+
.UNINDENT
|
16246
|
+
.UNINDENT
|
16247
|
+
.sp
|
16248
|
+
Here is an example to release the lock of \fBSites.title\fP column:
|
16249
|
+
.sp
|
16250
|
+
Execution example:
|
16251
|
+
.INDENT 0.0
|
16252
|
+
.INDENT 3.5
|
16253
|
+
.sp
|
16254
|
+
.nf
|
16255
|
+
.ft C
|
16256
|
+
table_create Sites TABLE_HASH_KEY ShortText
|
16257
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
16258
|
+
column_create Sites title COLUMN_SCALAR ShortText
|
16259
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
16260
|
+
lock_acquire Sites.title
|
16261
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
16262
|
+
lock_release Sites.title
|
16263
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
16264
|
+
.ft P
|
16265
|
+
.fi
|
16266
|
+
.UNINDENT
|
16267
|
+
.UNINDENT
|
16268
|
+
.SS Parameters
|
16269
|
+
.sp
|
16270
|
+
This section describes all parameters.
|
16271
|
+
.SS \fBtarget_name\fP
|
16272
|
+
.sp
|
16273
|
+
Specifies the name of table or column.
|
16274
|
+
.sp
|
16275
|
+
If you don\(aqt specify it, database is used for the target object.
|
16276
|
+
.sp
|
16277
|
+
The default is none. It means that the target object is database.
|
16278
|
+
.SS Return value
|
16279
|
+
.sp
|
16280
|
+
\fBlock_release\fP command returns whether lock is released successfully
|
16281
|
+
or not:
|
16282
|
+
.INDENT 0.0
|
16283
|
+
.INDENT 3.5
|
16284
|
+
.sp
|
16285
|
+
.nf
|
16286
|
+
.ft C
|
16287
|
+
[HEADER, SUCCEEDED_OR_NOT]
|
16288
|
+
.ft P
|
16289
|
+
.fi
|
16290
|
+
.UNINDENT
|
16291
|
+
.UNINDENT
|
16292
|
+
.SS \fBHEADER\fP
|
16293
|
+
.sp
|
16294
|
+
See \fB/reference/command/output_format\fP about \fBHEADER\fP\&.
|
16295
|
+
.SS \fBSUCCEEDED_OR_NOT\fP
|
16296
|
+
.sp
|
16297
|
+
If command succeeded, it returns true, otherwise it returns false on error.
|
16298
|
+
.SS See also
|
16299
|
+
.INDENT 0.0
|
16300
|
+
.INDENT 3.5
|
16301
|
+
.INDENT 0.0
|
16302
|
+
.IP \(bu 2
|
16303
|
+
\fBlock_acquire\fP
|
16304
|
+
.IP \(bu 2
|
16305
|
+
\fBlock_clear\fP
|
16306
|
+
.UNINDENT
|
16307
|
+
.UNINDENT
|
16308
|
+
.UNINDENT
|
15653
16309
|
.SS \fBlog_level\fP
|
15654
16310
|
.SS Summary
|
15655
16311
|
.sp
|
@@ -19360,10 +20016,10 @@ object_exist Users
|
|
19360
20016
|
.UNINDENT
|
19361
20017
|
.UNINDENT
|
19362
20018
|
.sp
|
19363
|
-
The \fBobject_exist Users\fP returns \fBfalse\fP before
|
20019
|
+
The \fBobject_exist Users\fP returns \fBfalse\fP before you create
|
19364
20020
|
\fBUsers\fP table.
|
19365
20021
|
.sp
|
19366
|
-
The \fBobject_exist Users\fP returns \fBtrue\fP after
|
20022
|
+
The \fBobject_exist Users\fP returns \fBtrue\fP after you create \fBUsers\fP
|
19367
20023
|
table.
|
19368
20024
|
.SS Parameters
|
19369
20025
|
.sp
|
@@ -19397,6 +20053,9 @@ object_exist Logs.timestamp
|
|
19397
20053
|
.sp
|
19398
20054
|
\fBLogs\fP is table name and \fBtimestamp\fP is column name in
|
19399
20055
|
\fBLogs.timestamp\fP\&.
|
20056
|
+
.SS Optional parameters
|
20057
|
+
.sp
|
20058
|
+
There is no optional parameters.
|
19400
20059
|
.SS Return value
|
19401
20060
|
.sp
|
19402
20061
|
The command returns \fBtrue\fP as body if object with the specified name
|
@@ -19425,39 +20084,44 @@ The command returns \fBfalse\fP otherwise such as:
|
|
19425
20084
|
.UNINDENT
|
19426
20085
|
.sp
|
19427
20086
|
See \fB/reference/command/output_format\fP for \fBHEADER\fP\&.
|
19428
|
-
.SS \
|
19429
|
-
.sp
|
19430
|
-
New in version 5.0.1.
|
19431
|
-
|
20087
|
+
.SS \fBobject_inspect\fP
|
19432
20088
|
.SS Summary
|
19433
20089
|
.sp
|
19434
|
-
|
19435
|
-
|
20090
|
+
New in version 6.0.0.
|
20091
|
+
|
19436
20092
|
.sp
|
19437
|
-
|
19438
|
-
|
19439
|
-
database. When you restart your \fBgroonga\fP process, \fBgroonga\fP
|
19440
|
-
process loads all registered plugins without \fBplugin_register\fP command.
|
20093
|
+
\fBobject_inspect\fP inspects an object. You can confirm details of an
|
20094
|
+
object.
|
19441
20095
|
.sp
|
19442
|
-
|
20096
|
+
For example:
|
20097
|
+
.INDENT 0.0
|
20098
|
+
.INDENT 3.5
|
20099
|
+
.INDENT 0.0
|
20100
|
+
.IP \(bu 2
|
20101
|
+
If the object is a table, you can confirm the number of records in
|
20102
|
+
the table.
|
20103
|
+
.IP \(bu 2
|
20104
|
+
If the object is a column, you can confirm the type of value of
|
20105
|
+
the column.
|
20106
|
+
.UNINDENT
|
20107
|
+
.UNINDENT
|
20108
|
+
.UNINDENT
|
19443
20109
|
.SS Syntax
|
19444
20110
|
.sp
|
19445
|
-
This command takes only one
|
20111
|
+
This command takes only one optional parameter:
|
19446
20112
|
.INDENT 0.0
|
19447
20113
|
.INDENT 3.5
|
19448
20114
|
.sp
|
19449
20115
|
.nf
|
19450
20116
|
.ft C
|
19451
|
-
|
20117
|
+
object_inspect [name=null]
|
19452
20118
|
.ft P
|
19453
20119
|
.fi
|
19454
20120
|
.UNINDENT
|
19455
20121
|
.UNINDENT
|
19456
20122
|
.SS Usage
|
19457
20123
|
.sp
|
19458
|
-
|
19459
|
-
that is included in
|
19460
|
-
\fB${PREFIX}/lib/groonga/plugins/query_expanders/tsv.so\fP\&.
|
20124
|
+
You can inspect an object in the database specified by \fBname\fP:
|
19461
20125
|
.sp
|
19462
20126
|
Execution example:
|
19463
20127
|
.INDENT 0.0
|
@@ -19465,295 +20129,551 @@ Execution example:
|
|
19465
20129
|
.sp
|
19466
20130
|
.nf
|
19467
20131
|
.ft C
|
19468
|
-
|
20132
|
+
table_create Users TABLE_HASH_KEY ShortText
|
19469
20133
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20134
|
+
load \-\-table Users
|
20135
|
+
[
|
20136
|
+
{"_key": "Alice"}
|
20137
|
+
]
|
20138
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 1]
|
20139
|
+
object_inspect Users
|
20140
|
+
# [
|
20141
|
+
# [
|
20142
|
+
# 0,
|
20143
|
+
# 1337566253.89858,
|
20144
|
+
# 0.000355720520019531
|
20145
|
+
# ],
|
20146
|
+
# {
|
20147
|
+
# "name": "Users",
|
20148
|
+
# "n_records": 1,
|
20149
|
+
# "value": {
|
20150
|
+
# "type": null
|
20151
|
+
# },
|
20152
|
+
# "key": {
|
20153
|
+
# "total_size": 5,
|
20154
|
+
# "max_total_size": 4294967295,
|
20155
|
+
# "type": {
|
20156
|
+
# "size": 4096,
|
20157
|
+
# "type": {
|
20158
|
+
# "id": 32,
|
20159
|
+
# "name": "type"
|
20160
|
+
# },
|
20161
|
+
# "id": 14,
|
20162
|
+
# "name": "ShortText"
|
20163
|
+
# }
|
20164
|
+
# },
|
20165
|
+
# "type": {
|
20166
|
+
# "id": 48,
|
20167
|
+
# "name": "table:hash_key"
|
20168
|
+
# },
|
20169
|
+
# "id": 256
|
20170
|
+
# }
|
20171
|
+
# ]
|
19470
20172
|
.ft P
|
19471
20173
|
.fi
|
19472
20174
|
.UNINDENT
|
19473
20175
|
.UNINDENT
|
19474
20176
|
.sp
|
19475
|
-
|
19476
|
-
|
20177
|
+
The \fBobject_inspect Users\fP returns the following information:
|
20178
|
+
.INDENT 0.0
|
20179
|
+
.INDENT 3.5
|
20180
|
+
.INDENT 0.0
|
20181
|
+
.IP \(bu 2
|
20182
|
+
The name of the table: \fB"name": Users\fP
|
20183
|
+
.IP \(bu 2
|
20184
|
+
The total used key size: \fB"key": {"total_size": 5}\fP
|
20185
|
+
(\fB"Alice"\fP is 5 byte data)
|
20186
|
+
.IP \(bu 2
|
20187
|
+
The maximum total key size: \fB"key": {"max_total_size": 4294967295}\fP
|
20188
|
+
.IP \(bu 2
|
20189
|
+
and so on.
|
20190
|
+
.UNINDENT
|
20191
|
+
.UNINDENT
|
20192
|
+
.UNINDENT
|
19477
20193
|
.sp
|
19478
|
-
You can
|
19479
|
-
/usr/lib/groonga/plugins/query_expanders/tsv.so\fP\&.
|
19480
|
-
.SS Return value
|
20194
|
+
You can inspect the database by not specifying \fBname\fP:
|
19481
20195
|
.sp
|
19482
|
-
|
20196
|
+
Execution example:
|
19483
20197
|
.INDENT 0.0
|
19484
20198
|
.INDENT 3.5
|
19485
20199
|
.sp
|
19486
20200
|
.nf
|
19487
20201
|
.ft C
|
19488
|
-
|
20202
|
+
object_inspect
|
20203
|
+
# [
|
20204
|
+
# [
|
20205
|
+
# 0,
|
20206
|
+
# 1337566253.89858,
|
20207
|
+
# 0.000355720520019531
|
20208
|
+
# ],
|
20209
|
+
# {
|
20210
|
+
# "name_table": {
|
20211
|
+
# "name": "",
|
20212
|
+
# "n_records": 256,
|
20213
|
+
# "value": null,
|
20214
|
+
# "key": {
|
20215
|
+
# "type": null
|
20216
|
+
# },
|
20217
|
+
# "type": {
|
20218
|
+
# "id": 50,
|
20219
|
+
# "name": "table:dat_key"
|
20220
|
+
# },
|
20221
|
+
# "id": 0
|
20222
|
+
# },
|
20223
|
+
# "type": {
|
20224
|
+
# "id": 55,
|
20225
|
+
# "name": "db"
|
20226
|
+
# }
|
20227
|
+
# }
|
20228
|
+
# ]
|
19489
20229
|
.ft P
|
19490
20230
|
.fi
|
19491
20231
|
.UNINDENT
|
19492
20232
|
.UNINDENT
|
19493
20233
|
.sp
|
19494
|
-
|
19495
|
-
.
|
19496
|
-
|
19497
|
-
.SS See also
|
20234
|
+
The \fBobject_inspect\fP returns the following information:
|
20235
|
+
.INDENT 0.0
|
20236
|
+
.INDENT 3.5
|
19498
20237
|
.INDENT 0.0
|
19499
20238
|
.IP \(bu 2
|
19500
|
-
|
20239
|
+
The table type for object name management:
|
20240
|
+
\fB"key": {"type": {"name": "table:dat_key"}}\fP
|
20241
|
+
.IP \(bu 2
|
20242
|
+
and so on.
|
19501
20243
|
.UNINDENT
|
19502
|
-
.SS \fBplugin_unregister\fP
|
19503
|
-
.sp
|
19504
|
-
\fBNOTE:\fP
|
19505
|
-
.INDENT 0.0
|
19506
|
-
.INDENT 3.5
|
19507
|
-
This command is an experimental feature.
|
19508
20244
|
.UNINDENT
|
19509
20245
|
.UNINDENT
|
20246
|
+
.SS Parameters
|
19510
20247
|
.sp
|
19511
|
-
|
19512
|
-
|
19513
|
-
.SS Summary
|
20248
|
+
This section describes all parameters.
|
20249
|
+
.SS Required parameters
|
19514
20250
|
.sp
|
19515
|
-
|
19516
|
-
.SS
|
20251
|
+
There is no required parameters.
|
20252
|
+
.SS Optional parameters
|
19517
20253
|
.sp
|
19518
|
-
|
19519
|
-
.
|
19520
|
-
.INDENT 3.5
|
20254
|
+
There is only one optional parameter.
|
20255
|
+
.SS \fBname\fP
|
19521
20256
|
.sp
|
19522
|
-
.
|
19523
|
-
.ft C
|
19524
|
-
plugin_unregister name
|
19525
|
-
.ft P
|
19526
|
-
.fi
|
19527
|
-
.UNINDENT
|
19528
|
-
.UNINDENT
|
19529
|
-
.SS Usage
|
20257
|
+
Specifies the object name to be inspected.
|
19530
20258
|
.sp
|
19531
|
-
|
19532
|
-
|
19533
|
-
\fB${PREFIX}/lib/groonga/plugins/query_expanders/tsv.so\fP\&.
|
20259
|
+
If \fBname\fP isn\(aqt specified, the database is inspected.
|
20260
|
+
.SS Return value
|
19534
20261
|
.sp
|
19535
|
-
|
20262
|
+
The command returns an object (nested key and value pairs) that
|
20263
|
+
includes details of the object (such as table) as body:
|
19536
20264
|
.INDENT 0.0
|
19537
20265
|
.INDENT 3.5
|
19538
20266
|
.sp
|
19539
20267
|
.nf
|
19540
20268
|
.ft C
|
19541
|
-
|
19542
|
-
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20269
|
+
[HEADER, object]
|
19543
20270
|
.ft P
|
19544
20271
|
.fi
|
19545
20272
|
.UNINDENT
|
19546
20273
|
.UNINDENT
|
19547
20274
|
.sp
|
19548
|
-
|
19549
|
-
They are completed automatically.
|
20275
|
+
See \fB/reference/command/output_format\fP for \fBHEADER\fP\&.
|
19550
20276
|
.sp
|
19551
|
-
|
19552
|
-
|
19553
|
-
.SS
|
20277
|
+
The format of the details is depends on object type. For example,
|
20278
|
+
table has key information but function doesn\(aqt have key information.
|
20279
|
+
.SS Database
|
19554
20280
|
.sp
|
19555
|
-
|
20281
|
+
Database inspection returns the following information:
|
19556
20282
|
.INDENT 0.0
|
19557
20283
|
.INDENT 3.5
|
19558
20284
|
.sp
|
19559
20285
|
.nf
|
19560
20286
|
.ft C
|
19561
|
-
|
20287
|
+
{
|
20288
|
+
"type": {
|
20289
|
+
"id": DATABASE_TYPE_ID,
|
20290
|
+
"name": DATABASE_TYPE_NAME
|
20291
|
+
},
|
20292
|
+
"name_table": DATABASE_NAME_TABLE
|
20293
|
+
}
|
19562
20294
|
.ft P
|
19563
20295
|
.fi
|
19564
20296
|
.UNINDENT
|
19565
20297
|
.UNINDENT
|
20298
|
+
.SS \fBDATABASE_TYPE_ID\fP
|
19566
20299
|
.sp
|
19567
|
-
|
20300
|
+
\fBDATABASE_TYPE_ID\fP is always \fB55\fP\&.
|
20301
|
+
.SS \fBDATABASE_TYPE_NAME\fP
|
19568
20302
|
.sp
|
19569
|
-
|
19570
|
-
.SS
|
19571
|
-
.INDENT 0.0
|
19572
|
-
.IP \(bu 2
|
19573
|
-
\fBplugin_register\fP
|
19574
|
-
.UNINDENT
|
19575
|
-
.SS \fBquit\fP
|
19576
|
-
.SS Summary
|
20303
|
+
\fBDATABASE_TYPE_NAME\fP is always \fB"db"\fP\&.
|
20304
|
+
.SS \fBDATABASE_NAME_TABLE\fP
|
19577
20305
|
.sp
|
19578
|
-
|
20306
|
+
\fBDATABASE_NAME_TABLE\fP is a table for managing object names in the
|
20307
|
+
database. The table is table\-pat\-key or
|
20308
|
+
table\-dat\-key\&. Normally, it\(aqs table\-dat\-key\&.
|
19579
20309
|
.sp
|
19580
|
-
|
20310
|
+
See \fI\%Table\fP for format details.
|
20311
|
+
.SS Table
|
19581
20312
|
.sp
|
19582
|
-
|
19583
|
-
.SS Syntax
|
20313
|
+
Table inspection returns the following information:
|
19584
20314
|
.INDENT 0.0
|
19585
20315
|
.INDENT 3.5
|
19586
20316
|
.sp
|
19587
20317
|
.nf
|
19588
20318
|
.ft C
|
19589
|
-
|
20319
|
+
{
|
20320
|
+
"name": TABLE_NAME,
|
20321
|
+
"type": {
|
20322
|
+
"id": TABLE_TYPE_ID,
|
20323
|
+
"name": TABLE_TYPE_NAME
|
20324
|
+
},
|
20325
|
+
"key": {
|
20326
|
+
"type": TABLE_KEY_TYPE,
|
20327
|
+
"total_size": TABLE_KEY_TOTAL_SIZE
|
20328
|
+
"max_total_size": TABLE_KEY_MAX_TOTAL_SIZE
|
20329
|
+
},
|
20330
|
+
"value": {
|
20331
|
+
"type": TABLE_VALUE_TYPE,
|
20332
|
+
},
|
20333
|
+
"n_records": TABLE_N_RECORDS
|
20334
|
+
}
|
19590
20335
|
.ft P
|
19591
20336
|
.fi
|
19592
20337
|
.UNINDENT
|
19593
20338
|
.UNINDENT
|
19594
|
-
.
|
20339
|
+
.sp
|
20340
|
+
There are some exceptions:
|
19595
20341
|
.INDENT 0.0
|
19596
20342
|
.INDENT 3.5
|
19597
|
-
.
|
19598
|
-
.
|
19599
|
-
|
19600
|
-
|
19601
|
-
.
|
19602
|
-
|
20343
|
+
.INDENT 0.0
|
20344
|
+
.IP \(bu 2
|
20345
|
+
table\-no\-key doesn\(aqt return key information because it
|
20346
|
+
doesn\(aqt have key.
|
20347
|
+
.IP \(bu 2
|
20348
|
+
table\-dat\-key doesn\(aqt return value information because it
|
20349
|
+
doesn\(aqt have value.
|
19603
20350
|
.UNINDENT
|
19604
20351
|
.UNINDENT
|
19605
|
-
.
|
20352
|
+
.UNINDENT
|
20353
|
+
.SS \fBTABLE_NAME\fP
|
19606
20354
|
.sp
|
19607
|
-
|
19608
|
-
.SS
|
20355
|
+
The name of the inspected table.
|
20356
|
+
.SS \fBTABLE_TYPE_ID\fP
|
19609
20357
|
.sp
|
19610
|
-
|
19611
|
-
.SS \fBrange_filter\fP
|
19612
|
-
.SS Summary
|
20358
|
+
The type ID of the inspected table.
|
19613
20359
|
.sp
|
19614
|
-
|
19615
|
-
.
|
19616
|
-
|
19617
|
-
|
19618
|
-
|
19619
|
-
|
19620
|
-
|
19621
|
-
|
19622
|
-
|
19623
|
-
|
20360
|
+
Here is a list of type IDs:
|
20361
|
+
.TS
|
20362
|
+
center;
|
20363
|
+
|l|l|.
|
20364
|
+
_
|
20365
|
+
T{
|
20366
|
+
Table type
|
20367
|
+
T} T{
|
20368
|
+
ID
|
20369
|
+
T}
|
20370
|
+
_
|
20371
|
+
T{
|
20372
|
+
table\-hash\-key
|
20373
|
+
T} T{
|
20374
|
+
\fB48\fP
|
20375
|
+
T}
|
20376
|
+
_
|
20377
|
+
T{
|
20378
|
+
table\-pat\-key
|
20379
|
+
T} T{
|
20380
|
+
\fB49\fP
|
20381
|
+
T}
|
20382
|
+
_
|
20383
|
+
T{
|
20384
|
+
table\-dat\-key
|
20385
|
+
T} T{
|
20386
|
+
\fB50\fP
|
20387
|
+
T}
|
20388
|
+
_
|
20389
|
+
T{
|
20390
|
+
table\-no\-key
|
20391
|
+
T} T{
|
20392
|
+
\fB51\fP
|
20393
|
+
T}
|
20394
|
+
_
|
20395
|
+
.TE
|
20396
|
+
.SS \fBTABLE_TYPE_NAME\fP
|
19624
20397
|
.sp
|
19625
|
-
|
19626
|
-
|
19627
|
-
.SS Summary
|
20398
|
+
The type name of the inspected table.
|
19628
20399
|
.sp
|
19629
|
-
|
19630
|
-
|
20400
|
+
Here is a list of type names:
|
20401
|
+
.TS
|
20402
|
+
center;
|
20403
|
+
|l|l|.
|
20404
|
+
_
|
20405
|
+
T{
|
20406
|
+
Table type
|
20407
|
+
T} T{
|
20408
|
+
Name
|
20409
|
+
T}
|
20410
|
+
_
|
20411
|
+
T{
|
20412
|
+
table\-hash\-key
|
20413
|
+
T} T{
|
20414
|
+
\fB"table:hash_key"\fP
|
20415
|
+
T}
|
20416
|
+
_
|
20417
|
+
T{
|
20418
|
+
table\-pat\-key
|
20419
|
+
T} T{
|
20420
|
+
\fB"table:pat_key"\fP
|
20421
|
+
T}
|
20422
|
+
_
|
20423
|
+
T{
|
20424
|
+
table\-dat\-key
|
20425
|
+
T} T{
|
20426
|
+
\fB"table:dat_key"\fP
|
20427
|
+
T}
|
20428
|
+
_
|
20429
|
+
T{
|
20430
|
+
table\-no\-key
|
20431
|
+
T} T{
|
20432
|
+
\fB"table:no_key"\fP
|
20433
|
+
T}
|
20434
|
+
_
|
20435
|
+
.TE
|
20436
|
+
.SS \fBTABLE_KEY_TYPE\fP
|
19631
20437
|
.sp
|
19632
|
-
|
19633
|
-
database because registered plugin information is written into the
|
19634
|
-
database. When you restart your \fBgroonga\fP process, \fBgroonga\fP
|
19635
|
-
process loads all registered plugins without \fBregister\fP command.
|
20438
|
+
The type of key of the inspected table.
|
19636
20439
|
.sp
|
19637
|
-
\
|
19638
|
-
.
|
19639
|
-
.INDENT 3.5
|
19640
|
-
Registered plugins can be removed since Groonga 5.0.1. Use
|
19641
|
-
\fBplugin_unregister\fP in such a case.
|
19642
|
-
.UNINDENT
|
19643
|
-
.UNINDENT
|
19644
|
-
.SS Syntax
|
20440
|
+
See \fI\%Type\fP for format details.
|
20441
|
+
.SS \fBTABLE_KEY_TOTAL_SIZE\fP
|
19645
20442
|
.sp
|
19646
|
-
|
19647
|
-
.
|
19648
|
-
.INDENT 3.5
|
20443
|
+
The total key size of the inspected table in bytes.
|
20444
|
+
.SS \fBTABLE_KEY_MAX_TOTAL_SIZE\fP
|
19649
20445
|
.sp
|
19650
|
-
.
|
19651
|
-
.
|
19652
|
-
register path
|
19653
|
-
.ft P
|
19654
|
-
.fi
|
19655
|
-
.UNINDENT
|
19656
|
-
.UNINDENT
|
19657
|
-
.SS Usage
|
20446
|
+
The maximum total key size of the inspected table in bytes.
|
20447
|
+
.SS \fBTABLE_VALUE_TYPE\fP
|
19658
20448
|
.sp
|
19659
|
-
|
19660
|
-
that is included in
|
19661
|
-
\fB${PREFIX}/lib/groonga/plugins/query_expanders/tsv.so\fP\&.
|
20449
|
+
The type of value of the inspected table.
|
19662
20450
|
.sp
|
19663
|
-
|
20451
|
+
See \fI\%Type\fP for format details.
|
20452
|
+
.SS \fBTABLE_N_RECORDS\fP
|
20453
|
+
.sp
|
20454
|
+
The number of records of the inspected table.
|
20455
|
+
.sp
|
20456
|
+
It\(aqs a 64bit unsigned integer value.
|
20457
|
+
.SS Type
|
20458
|
+
.sp
|
20459
|
+
Type inspection returns the following information:
|
19664
20460
|
.INDENT 0.0
|
19665
20461
|
.INDENT 3.5
|
19666
20462
|
.sp
|
19667
20463
|
.nf
|
19668
20464
|
.ft C
|
19669
|
-
|
19670
|
-
|
20465
|
+
{
|
20466
|
+
"id": TYPE_ID,
|
20467
|
+
"name": TYPE_NAME,
|
20468
|
+
"type": {
|
20469
|
+
"id": TYPE_ID_OF_TYPE,
|
20470
|
+
"name": TYPE_NAME_OF_TYPE
|
20471
|
+
},
|
20472
|
+
"size": TYPE_SIZE
|
20473
|
+
}
|
19671
20474
|
.ft P
|
19672
20475
|
.fi
|
19673
20476
|
.UNINDENT
|
19674
20477
|
.UNINDENT
|
20478
|
+
.SS \fBTYPE_ID\fP
|
19675
20479
|
.sp
|
19676
|
-
|
19677
|
-
They are completed automatically.
|
19678
|
-
.sp
|
19679
|
-
You can specify absolute path such as \fBregister
|
19680
|
-
/usr/lib/groonga/plugins/query_expanders/tsv.so\fP\&.
|
19681
|
-
.SS Return value
|
19682
|
-
.sp
|
19683
|
-
\fBregister\fP returns \fBtrue\fP as body on success such as:
|
19684
|
-
.INDENT 0.0
|
19685
|
-
.INDENT 3.5
|
20480
|
+
The ID of the inspected type.
|
19686
20481
|
.sp
|
19687
|
-
|
19688
|
-
.
|
19689
|
-
|
19690
|
-
|
19691
|
-
|
19692
|
-
|
19693
|
-
|
20482
|
+
Here is an ID list of builtin types:
|
20483
|
+
.TS
|
20484
|
+
center;
|
20485
|
+
|l|l|.
|
20486
|
+
_
|
20487
|
+
T{
|
20488
|
+
Type
|
20489
|
+
T} T{
|
20490
|
+
ID
|
20491
|
+
T}
|
20492
|
+
_
|
20493
|
+
T{
|
20494
|
+
builtin\-type\-bool
|
20495
|
+
T} T{
|
20496
|
+
\fB3\fP
|
20497
|
+
T}
|
20498
|
+
_
|
20499
|
+
T{
|
20500
|
+
builtin\-type\-int8
|
20501
|
+
T} T{
|
20502
|
+
\fB4\fP
|
20503
|
+
T}
|
20504
|
+
_
|
20505
|
+
T{
|
20506
|
+
builtin\-type\-uint8
|
20507
|
+
T} T{
|
20508
|
+
\fB5\fP
|
20509
|
+
T}
|
20510
|
+
_
|
20511
|
+
T{
|
20512
|
+
builtin\-type\-int16
|
20513
|
+
T} T{
|
20514
|
+
\fB6\fP
|
20515
|
+
T}
|
20516
|
+
_
|
20517
|
+
T{
|
20518
|
+
builtin\-type\-uint16
|
20519
|
+
T} T{
|
20520
|
+
\fB7\fP
|
20521
|
+
T}
|
20522
|
+
_
|
20523
|
+
T{
|
20524
|
+
builtin\-type\-int32
|
20525
|
+
T} T{
|
20526
|
+
\fB8\fP
|
20527
|
+
T}
|
20528
|
+
_
|
20529
|
+
T{
|
20530
|
+
builtin\-type\-uint32
|
20531
|
+
T} T{
|
20532
|
+
\fB9\fP
|
20533
|
+
T}
|
20534
|
+
_
|
20535
|
+
T{
|
20536
|
+
builtin\-type\-int64
|
20537
|
+
T} T{
|
20538
|
+
\fB10\fP
|
20539
|
+
T}
|
20540
|
+
_
|
20541
|
+
T{
|
20542
|
+
builtin\-type\-uint64
|
20543
|
+
T} T{
|
20544
|
+
\fB11\fP
|
20545
|
+
T}
|
20546
|
+
_
|
20547
|
+
T{
|
20548
|
+
builtin\-type\-float
|
20549
|
+
T} T{
|
20550
|
+
\fB12\fP
|
20551
|
+
T}
|
20552
|
+
_
|
20553
|
+
T{
|
20554
|
+
builtin\-type\-time
|
20555
|
+
T} T{
|
20556
|
+
\fB13\fP
|
20557
|
+
T}
|
20558
|
+
_
|
20559
|
+
T{
|
20560
|
+
builtin\-type\-short\-text
|
20561
|
+
T} T{
|
20562
|
+
\fB14\fP
|
20563
|
+
T}
|
20564
|
+
_
|
20565
|
+
T{
|
20566
|
+
builtin\-type\-text
|
20567
|
+
T} T{
|
20568
|
+
\fB15\fP
|
20569
|
+
T}
|
20570
|
+
_
|
20571
|
+
T{
|
20572
|
+
builtin\-type\-long\-text
|
20573
|
+
T} T{
|
20574
|
+
\fB16\fP
|
20575
|
+
T}
|
20576
|
+
_
|
20577
|
+
T{
|
20578
|
+
builtin\-type\-tokyo\-geo\-point
|
20579
|
+
T} T{
|
20580
|
+
\fB17\fP
|
20581
|
+
T}
|
20582
|
+
_
|
20583
|
+
T{
|
20584
|
+
builtin\-type\-wgs84\-geo\-point
|
20585
|
+
T} T{
|
20586
|
+
\fB18\fP
|
20587
|
+
T}
|
20588
|
+
_
|
20589
|
+
.TE
|
20590
|
+
.SS \fBTYPE_NAME\fP
|
19694
20591
|
.sp
|
19695
|
-
|
20592
|
+
The name of the inspected type.
|
19696
20593
|
.sp
|
19697
|
-
|
19698
|
-
.
|
20594
|
+
Here is a name list of builtin types:
|
20595
|
+
.INDENT 0.0
|
20596
|
+
.INDENT 3.5
|
19699
20597
|
.INDENT 0.0
|
19700
20598
|
.IP \(bu 2
|
19701
|
-
|
20599
|
+
builtin\-type\-bool
|
19702
20600
|
.IP \(bu 2
|
19703
|
-
|
20601
|
+
builtin\-type\-int8
|
20602
|
+
.IP \(bu 2
|
20603
|
+
builtin\-type\-uint8
|
20604
|
+
.IP \(bu 2
|
20605
|
+
builtin\-type\-int16
|
20606
|
+
.IP \(bu 2
|
20607
|
+
builtin\-type\-uint16
|
20608
|
+
.IP \(bu 2
|
20609
|
+
builtin\-type\-int32
|
20610
|
+
.IP \(bu 2
|
20611
|
+
builtin\-type\-uint32
|
20612
|
+
.IP \(bu 2
|
20613
|
+
builtin\-type\-int64
|
20614
|
+
.IP \(bu 2
|
20615
|
+
builtin\-type\-uint64
|
20616
|
+
.IP \(bu 2
|
20617
|
+
builtin\-type\-float
|
20618
|
+
.IP \(bu 2
|
20619
|
+
builtin\-type\-time
|
20620
|
+
.IP \(bu 2
|
20621
|
+
builtin\-type\-short\-text
|
20622
|
+
.IP \(bu 2
|
20623
|
+
builtin\-type\-text
|
20624
|
+
.IP \(bu 2
|
20625
|
+
builtin\-type\-long\-text
|
20626
|
+
.IP \(bu 2
|
20627
|
+
builtin\-type\-tokyo\-geo\-point
|
20628
|
+
.IP \(bu 2
|
20629
|
+
builtin\-type\-wgs84\-geo\-point
|
19704
20630
|
.UNINDENT
|
19705
|
-
.
|
19706
|
-
.
|
19707
|
-
.
|
19708
|
-
New in version 5.1.0.
|
19709
|
-
|
20631
|
+
.UNINDENT
|
20632
|
+
.UNINDENT
|
20633
|
+
.SS \fBTYPE_ID_OF_TYPE\fP
|
19710
20634
|
.sp
|
19711
|
-
\
|
20635
|
+
\fBTYPE_ID_OF_TYPE\fP is always \fB32\fP\&.
|
20636
|
+
.SS \fBTYPE_NAME_OF_TYPE\fP
|
19712
20637
|
.sp
|
19713
|
-
|
19714
|
-
|
20638
|
+
\fBTYPE_NAME_OF_TYPE\fP is always \fBtype\fP\&.
|
20639
|
+
.SS \fBTYPE_SIZE\fP
|
19715
20640
|
.sp
|
19716
|
-
|
19717
|
-
|
20641
|
+
\fBTYPE_SIZE\fP is the size of the inspected type in bytes. If the
|
20642
|
+
inspected type is variable size type, the size means the maximum size.
|
20643
|
+
.SS \fBobject_remove\fP
|
20644
|
+
.SS Summary
|
19718
20645
|
.sp
|
19719
|
-
|
19720
|
-
|
20646
|
+
New in version 6.0.0.
|
20647
|
+
|
19721
20648
|
.sp
|
19722
|
-
|
19723
|
-
|
20649
|
+
\fBobject_remove\fP removes an object. You can remove any object
|
20650
|
+
including table, column, command and so on. Normally, you should use
|
20651
|
+
specific remove command such as \fBtable_remove\fP and
|
20652
|
+
\fBcolumn_remove\fP\&.
|
19724
20653
|
.sp
|
19725
|
-
|
19726
|
-
|
20654
|
+
\fBobject_remove\fP is danger because you can remove any object. You
|
20655
|
+
should use \fBobject_remove\fP carefully.
|
19727
20656
|
.sp
|
19728
|
-
\
|
19729
|
-
.
|
19730
|
-
|
19731
|
-
You can\(aqt use target index columns while \fBreindex\fP command is
|
19732
|
-
running. If you use the same database from multiple processes, all
|
19733
|
-
processes except running \fBreindex\fP should reopen the
|
19734
|
-
database. You can use \fBdatabase_unmap\fP for reopening database.
|
19735
|
-
.UNINDENT
|
19736
|
-
.UNINDENT
|
20657
|
+
\fBobject_remove\fP has "force mode". You can remove a broken object by
|
20658
|
+
"force mode". "Force mode" is useful to resolve problems reported by
|
20659
|
+
\fB/reference/executables/grndb\fP\&.
|
19737
20660
|
.SS Syntax
|
19738
20661
|
.sp
|
19739
|
-
This command takes
|
20662
|
+
This command takes two parameters:
|
19740
20663
|
.INDENT 0.0
|
19741
20664
|
.INDENT 3.5
|
19742
20665
|
.sp
|
19743
20666
|
.nf
|
19744
20667
|
.ft C
|
19745
|
-
|
20668
|
+
object_remove name
|
20669
|
+
[force=no]
|
19746
20670
|
.ft P
|
19747
20671
|
.fi
|
19748
20672
|
.UNINDENT
|
19749
20673
|
.UNINDENT
|
19750
|
-
.sp
|
19751
|
-
If \fBtarget_name\fP parameters is omitted, database is used for the
|
19752
|
-
target object. It means that all index columns in the database are
|
19753
|
-
recreated.
|
19754
20674
|
.SS Usage
|
19755
20675
|
.sp
|
19756
|
-
|
20676
|
+
You can remove an object in the database specified by \fBname\fP:
|
19757
20677
|
.sp
|
19758
20678
|
Execution example:
|
19759
20679
|
.INDENT 0.0
|
@@ -19761,16 +20681,39 @@ Execution example:
|
|
19761
20681
|
.sp
|
19762
20682
|
.nf
|
19763
20683
|
.ft C
|
19764
|
-
|
20684
|
+
object_remove Users
|
20685
|
+
# [
|
20686
|
+
# [
|
20687
|
+
# \-22,
|
20688
|
+
# 1337566253.89858,
|
20689
|
+
# 0.000355720520019531,
|
20690
|
+
# "[object][remove] target object doesn\(aqt exist: <Users>",
|
20691
|
+
# [
|
20692
|
+
# [
|
20693
|
+
# "command_object_remove",
|
20694
|
+
# "proc_object.c",
|
20695
|
+
# 121
|
20696
|
+
# ]
|
20697
|
+
# ]
|
20698
|
+
# ],
|
20699
|
+
# false
|
20700
|
+
# ]
|
20701
|
+
table_create Users TABLE_HASH_KEY ShortText
|
20702
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20703
|
+
object_remove Users
|
19765
20704
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19766
20705
|
.ft P
|
19767
20706
|
.fi
|
19768
20707
|
.UNINDENT
|
19769
20708
|
.UNINDENT
|
19770
20709
|
.sp
|
19771
|
-
|
19772
|
-
|
19773
|
-
|
20710
|
+
The \fBobject_remove Users\fP returns \fBfalse\fP before you create
|
20711
|
+
\fBUsers\fP table.
|
20712
|
+
.sp
|
20713
|
+
The \fBobject_remove Users\fP returns \fBtrue\fP after you create \fBUsers\fP
|
20714
|
+
table.
|
20715
|
+
.sp
|
20716
|
+
You can\(aqt remove a broken object by default:
|
19774
20717
|
.sp
|
19775
20718
|
Execution example:
|
19776
20719
|
.INDENT 0.0
|
@@ -19778,30 +20721,38 @@ Execution example:
|
|
19778
20721
|
.sp
|
19779
20722
|
.nf
|
19780
20723
|
.ft C
|
19781
|
-
table_create
|
19782
|
-
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19783
|
-
column_create Entry body COLUMN_SCALAR Text
|
19784
|
-
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19785
|
-
table_create Lexicon TABLE_PAT_KEY ShortText \e
|
19786
|
-
\-\-default_tokenizer TokenBigram \e
|
19787
|
-
\-\-normalizer NormalizerAuto
|
19788
|
-
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19789
|
-
column_create Lexicon entry_key COLUMN_INDEX|WITH_POSITION \e
|
19790
|
-
Entry _key
|
20724
|
+
table_create Users TABLE_HASH_KEY ShortText
|
19791
20725
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19792
|
-
|
19793
|
-
|
20726
|
+
thread_limit 1
|
20727
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 1]
|
20728
|
+
database_unmap
|
19794
20729
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19795
|
-
|
20730
|
+
echo "BROKEN" > ${DB_PATH}.0000100
|
20731
|
+
object_remove Users
|
20732
|
+
# [
|
20733
|
+
# [
|
20734
|
+
# \-22,
|
20735
|
+
# 1337566253.89858,
|
20736
|
+
# 0.000355720520019531,
|
20737
|
+
# "[object][remove] failed to open the target object: <Users>",
|
20738
|
+
# [
|
20739
|
+
# [
|
20740
|
+
# "command_object_remove",
|
20741
|
+
# "proc_object.c",
|
20742
|
+
# 116
|
20743
|
+
# ]
|
20744
|
+
# ]
|
20745
|
+
# ],
|
20746
|
+
# false
|
20747
|
+
# ]
|
20748
|
+
object_exist Users
|
19796
20749
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19797
20750
|
.ft P
|
19798
20751
|
.fi
|
19799
20752
|
.UNINDENT
|
19800
20753
|
.UNINDENT
|
19801
20754
|
.sp
|
19802
|
-
|
19803
|
-
(\fBBigramLexicon.site_title\fP and \fBRegexpLexicon.site_title\fP) of
|
19804
|
-
\fBSite.title\fP data column:
|
20755
|
+
You can remove a broken object by \fB\-\-force yes\fP:
|
19805
20756
|
.sp
|
19806
20757
|
Execution example:
|
19807
20758
|
.INDENT 0.0
|
@@ -19809,32 +20760,44 @@ Execution example:
|
|
19809
20760
|
.sp
|
19810
20761
|
.nf
|
19811
20762
|
.ft C
|
19812
|
-
|
19813
|
-
# [
|
19814
|
-
|
19815
|
-
#
|
19816
|
-
|
19817
|
-
|
19818
|
-
|
19819
|
-
#
|
19820
|
-
|
19821
|
-
|
19822
|
-
#
|
19823
|
-
|
19824
|
-
|
19825
|
-
|
19826
|
-
#
|
19827
|
-
|
19828
|
-
|
19829
|
-
|
19830
|
-
|
19831
|
-
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20763
|
+
object_remove Users \-\-force yes
|
20764
|
+
# [
|
20765
|
+
# [
|
20766
|
+
# \-65,
|
20767
|
+
# 1337566253.89858,
|
20768
|
+
# 0.000355720520019531,
|
20769
|
+
# "[io][open] file size is too small: <7>(required: >= 64): </tmp/groonga\-databases/commands_object_remove.0000100>",
|
20770
|
+
# [
|
20771
|
+
# [
|
20772
|
+
# "grn_io_open",
|
20773
|
+
# "io.c",
|
20774
|
+
# 565
|
20775
|
+
# ]
|
20776
|
+
# ]
|
20777
|
+
# ],
|
20778
|
+
# false
|
20779
|
+
# ]
|
20780
|
+
object_exist Users
|
20781
|
+
# [[0, 1337566253.89858, 0.000355720520019531], false]
|
19832
20782
|
.ft P
|
19833
20783
|
.fi
|
19834
20784
|
.UNINDENT
|
19835
20785
|
.UNINDENT
|
19836
20786
|
.sp
|
19837
|
-
|
20787
|
+
\fB\-\-force yes\fP means you enable "force mode". You can remove a broken
|
20788
|
+
object in "force mode".
|
20789
|
+
.SS Parameters
|
20790
|
+
.sp
|
20791
|
+
This section describes all parameters.
|
20792
|
+
.SS Required parameters
|
20793
|
+
.sp
|
20794
|
+
There is only one required parameters.
|
20795
|
+
.SS \fBname\fP
|
20796
|
+
.sp
|
20797
|
+
Specifies the object name to be removed.
|
20798
|
+
.sp
|
20799
|
+
If you want to remove a column, use \fBTABLE_NAME.COLUMN_NAME\fP format
|
20800
|
+
like the following:
|
19838
20801
|
.sp
|
19839
20802
|
Execution example:
|
19840
20803
|
.INDENT 0.0
|
@@ -19846,92 +20809,79 @@ table_create Logs TABLE_NO_KEY
|
|
19846
20809
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19847
20810
|
column_create Logs timestamp COLUMN_SCALAR Time
|
19848
20811
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19849
|
-
|
19850
|
-
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19851
|
-
column_create Timestamp logs_timestamp COLUMN_INDEX Logs timestamp
|
19852
|
-
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19853
|
-
reindex Timestamp.logs_timestamp
|
20812
|
+
object_remove Logs.timestamp
|
19854
20813
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19855
20814
|
.ft P
|
19856
20815
|
.fi
|
19857
20816
|
.UNINDENT
|
19858
20817
|
.UNINDENT
|
19859
|
-
.SS Parameters
|
19860
20818
|
.sp
|
19861
|
-
|
19862
|
-
.
|
20819
|
+
\fBLogs\fP is table name and \fBtimestamp\fP is column name in
|
20820
|
+
\fBLogs.timestamp\fP\&.
|
20821
|
+
.SS Optional parameters
|
19863
20822
|
.sp
|
19864
|
-
|
20823
|
+
There is one optional parameter.
|
20824
|
+
.SS \fBforce\fP
|
19865
20825
|
.sp
|
19866
|
-
|
20826
|
+
Specifies whether removing the object in "force mode".
|
19867
20827
|
.sp
|
19868
|
-
|
20828
|
+
You can\(aqt remove a broken object by default. But you can remove a
|
20829
|
+
broken object in "force mode".
|
20830
|
+
.sp
|
20831
|
+
\fBforce\fP value must be \fByes\fP or \fBno\fP\&. \fByes\fP means that "force
|
20832
|
+
mode" is enabled. \fBno\fP means that "force mode" is disabled.
|
20833
|
+
.sp
|
20834
|
+
The default value is \fBno\fP\&. It means that "force mode" is disabled by
|
20835
|
+
default.
|
19869
20836
|
.SS Return value
|
19870
20837
|
.sp
|
19871
|
-
\
|
20838
|
+
The command returns \fBtrue\fP as body when the command removed the
|
20839
|
+
specified object without any error. For example:
|
19872
20840
|
.INDENT 0.0
|
19873
20841
|
.INDENT 3.5
|
19874
20842
|
.sp
|
19875
20843
|
.nf
|
19876
20844
|
.ft C
|
19877
|
-
[HEADER,
|
20845
|
+
[HEADER, true]
|
19878
20846
|
.ft P
|
19879
20847
|
.fi
|
19880
20848
|
.UNINDENT
|
19881
20849
|
.UNINDENT
|
19882
20850
|
.sp
|
19883
|
-
\
|
20851
|
+
The command returns \fBfalse\fP as body when the command gets any
|
20852
|
+
errors. For example:
|
19884
20853
|
.INDENT 0.0
|
19885
20854
|
.INDENT 3.5
|
19886
|
-
See \fB/reference/command/output_format\fP about \fBHEADER\fP\&.
|
19887
|
-
.UNINDENT
|
19888
|
-
.UNINDENT
|
19889
20855
|
.sp
|
19890
|
-
|
19891
|
-
.
|
19892
|
-
|
19893
|
-
|
19894
|
-
|
20856
|
+
.nf
|
20857
|
+
.ft C
|
20858
|
+
[HEADER, false]
|
20859
|
+
.ft P
|
20860
|
+
.fi
|
19895
20861
|
.UNINDENT
|
19896
20862
|
.UNINDENT
|
19897
|
-
.SS \fBrequest_cancel\fP
|
19898
|
-
.SS Summary
|
19899
20863
|
.sp
|
19900
|
-
\
|
19901
|
-
.INDENT 0.0
|
19902
|
-
.INDENT 3.5
|
19903
|
-
This command is an experimental feature.
|
19904
|
-
.UNINDENT
|
19905
|
-
.UNINDENT
|
20864
|
+
See \fB/reference/command/output_format\fP for \fBHEADER\fP\&.
|
19906
20865
|
.sp
|
19907
|
-
|
19908
|
-
|
20866
|
+
Note that \fBfalse\fP doesn\(aqt mean that "the command can\(aqt remove the
|
20867
|
+
object". If you enable "force mode", the command removes the object
|
20868
|
+
even if the object is broken. In the case, the object is removed and
|
20869
|
+
\fBfalse\fP is returned as body.
|
20870
|
+
.SS \fBplugin_register\fP
|
19909
20871
|
.sp
|
19910
|
-
|
20872
|
+
New in version 5.0.1.
|
20873
|
+
|
20874
|
+
.SS Summary
|
19911
20875
|
.sp
|
19912
|
-
|
19913
|
-
|
19914
|
-
.INDENT 3.5
|
19915
|
-
.INDENT 0.0
|
19916
|
-
.IP \(bu 2
|
19917
|
-
Request ID must be managed by user. (You need to assign unique key
|
19918
|
-
for each request.)
|
19919
|
-
.IP \(bu 2
|
19920
|
-
Cancel request may be ignored. (You can send \fBrequest_cancel\fP
|
19921
|
-
command multiple times for the same request ID.)
|
19922
|
-
.IP \(bu 2
|
19923
|
-
Only multithreading type Groonga server is supported. (You can use
|
19924
|
-
with \fB/reference/executables/groonga\fP based server but can\(aqt
|
19925
|
-
use with \fB/reference/executables/groonga\-httpd\fP\&.)
|
19926
|
-
.UNINDENT
|
19927
|
-
.UNINDENT
|
19928
|
-
.UNINDENT
|
20876
|
+
\fBplugin_register\fP command registers a plugin. You need to register a plugin
|
20877
|
+
before you use a plugin.
|
19929
20878
|
.sp
|
19930
|
-
|
20879
|
+
You need just one \fBplugin_register\fP command for a plugin in the same
|
20880
|
+
database because registered plugin information is written into the
|
20881
|
+
database. When you restart your \fBgroonga\fP process, \fBgroonga\fP
|
20882
|
+
process loads all registered plugins without \fBplugin_register\fP command.
|
19931
20883
|
.sp
|
19932
|
-
|
19933
|
-
(\fBGRN_INTERRUPTED_FUNCTION_CALL\fP) as
|
19934
|
-
\fB/reference/command/return_code\fP\&.
|
20884
|
+
You can unregister a registered plugin by \fBplugin_unregister\fP\&.
|
19935
20885
|
.SS Syntax
|
19936
20886
|
.sp
|
19937
20887
|
This command takes only one required parameter:
|
@@ -19940,144 +20890,71 @@ This command takes only one required parameter:
|
|
19940
20890
|
.sp
|
19941
20891
|
.nf
|
19942
20892
|
.ft C
|
19943
|
-
|
20893
|
+
plugin_register name
|
19944
20894
|
.ft P
|
19945
20895
|
.fi
|
19946
20896
|
.UNINDENT
|
19947
20897
|
.UNINDENT
|
19948
20898
|
.SS Usage
|
19949
20899
|
.sp
|
19950
|
-
Here is
|
19951
|
-
|
19952
|
-
.
|
19953
|
-
.sp
|
19954
|
-
.nf
|
19955
|
-
.ft C
|
19956
|
-
$ curl \(aqhttp://localhost:10041/d/select?table=LargeTable&filter=true&request_id=unique\-id\-1\(aq &
|
19957
|
-
# The above "select" takes a long time...
|
19958
|
-
# Point: "request_id=unique\-id\-1"
|
19959
|
-
$ curl \(aqhttp://localhost:10041/d/request_cancel?id=unique\-id\-1\(aq
|
19960
|
-
[[...], {"id": "unique\-id\-1", "canceled": true}]
|
19961
|
-
# Point: "id=unique\-id\-1"
|
19962
|
-
.ft P
|
19963
|
-
.fi
|
19964
|
-
.UNINDENT
|
19965
|
-
.UNINDENT
|
19966
|
-
.sp
|
19967
|
-
Assume that the first \fBselect\fP command takes a long
|
19968
|
-
time. \fBunique\-id\-1\fP request ID is assigned to the \fBselect\fP command
|
19969
|
-
by \fBrequest_id=unique\-id\-1\fP parameter.
|
19970
|
-
.sp
|
19971
|
-
The second \fBrequest_cancel\fP command passes \fBid=unique\-id\-1\fP
|
19972
|
-
parameter. \fBunique\-id\-1\fP is the same request ID passed in \fBselect\fP
|
19973
|
-
command.
|
19974
|
-
.sp
|
19975
|
-
The \fBselect\fP command may not be canceled immediately. And the cancel
|
19976
|
-
request may be ignored.
|
19977
|
-
.sp
|
19978
|
-
You can send cancel request for the same request ID multiple times. If
|
19979
|
-
the target request is canceled or finished, \fB"canceled"\fP value is
|
19980
|
-
changed to \fBfalse\fP from \fBtrue\fP in return value:
|
19981
|
-
.INDENT 0.0
|
19982
|
-
.INDENT 3.5
|
19983
|
-
.sp
|
19984
|
-
.nf
|
19985
|
-
.ft C
|
19986
|
-
$ curl \(aqhttp://localhost:10041/d/request_cancel?id=unique\-id\-1\(aq
|
19987
|
-
[[...], {"id": "unique\-id\-1", "canceled": true}]
|
19988
|
-
# "select" is still running... ("canceled" is "true")
|
19989
|
-
$ curl \(aqhttp://localhost:10041/d/request_cancel?id=unique\-id\-1\(aq
|
19990
|
-
[[...], {"id": "unique\-id\-1", "canceled": true}]
|
19991
|
-
# "select" is still running... ("canceled" is "true")
|
19992
|
-
$ curl \(aqhttp://localhost:10041/d/request_cancel?id=unique\-id\-1\(aq
|
19993
|
-
[[...], {"id": "unique\-id\-1", "canceled": false}]
|
19994
|
-
# "select" is canceled or finished. ("canceled" is "false")
|
19995
|
-
.ft P
|
19996
|
-
.fi
|
19997
|
-
.UNINDENT
|
19998
|
-
.UNINDENT
|
20900
|
+
Here is a sample that registers \fBQueryExpanderTSV\fP query expander
|
20901
|
+
that is included in
|
20902
|
+
\fB${PREFIX}/lib/groonga/plugins/query_expanders/tsv.so\fP\&.
|
19999
20903
|
.sp
|
20000
|
-
|
20001
|
-
command has \fB\-5\fP (\fBGRN_INTERRUPTED_FUNCTION_CALL\fP) as
|
20002
|
-
\fB/reference/command/return_code\fP:
|
20904
|
+
Execution example:
|
20003
20905
|
.INDENT 0.0
|
20004
20906
|
.INDENT 3.5
|
20005
20907
|
.sp
|
20006
20908
|
.nf
|
20007
20909
|
.ft C
|
20008
|
-
|
20009
|
-
[[
|
20910
|
+
plugin_register query_expanders/tsv
|
20911
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20010
20912
|
.ft P
|
20011
20913
|
.fi
|
20012
20914
|
.UNINDENT
|
20013
20915
|
.UNINDENT
|
20014
|
-
.SS Parameters
|
20015
|
-
.sp
|
20016
|
-
This section describes parameters of \fBrequest_cancel\fP\&.
|
20017
|
-
.SS Required parameter
|
20018
20916
|
.sp
|
20019
|
-
|
20020
|
-
.
|
20917
|
+
You can omit \fB${PREFIX}/lib/groonga/plugins/\fP and suffix (\fB\&.so\fP).
|
20918
|
+
They are completed automatically.
|
20021
20919
|
.sp
|
20022
|
-
|
20920
|
+
You can specify absolute path such as \fBplugin_register
|
20921
|
+
/usr/lib/groonga/plugins/query_expanders/tsv.so\fP\&.
|
20023
20922
|
.SS Return value
|
20024
20923
|
.sp
|
20025
|
-
\
|
20924
|
+
\fBplugin_register\fP returns \fBtrue\fP as body on success such as:
|
20026
20925
|
.INDENT 0.0
|
20027
20926
|
.INDENT 3.5
|
20028
20927
|
.sp
|
20029
20928
|
.nf
|
20030
20929
|
.ft C
|
20031
|
-
[
|
20032
|
-
HEADER,
|
20033
|
-
{
|
20034
|
-
"id": ID,
|
20035
|
-
"canceled": CANCEL_REQUEST_IS_ACCEPTED_OR_NOT
|
20036
|
-
}
|
20037
|
-
]
|
20930
|
+
[HEADER, true]
|
20038
20931
|
.ft P
|
20039
20932
|
.fi
|
20040
20933
|
.UNINDENT
|
20041
20934
|
.UNINDENT
|
20042
20935
|
.sp
|
20043
|
-
\fBHEADER\fP
|
20044
|
-
.INDENT 0.0
|
20045
|
-
.INDENT 3.5
|
20046
|
-
See \fB/reference/command/output_format\fP about \fBHEADER\fP\&.
|
20047
|
-
.UNINDENT
|
20048
|
-
.UNINDENT
|
20936
|
+
If \fBplugin_register\fP fails, error details are in \fBHEADER\fP\&.
|
20049
20937
|
.sp
|
20050
|
-
\
|
20938
|
+
See \fB/reference/command/output_format\fP for \fBHEADER\fP\&.
|
20939
|
+
.SS See also
|
20051
20940
|
.INDENT 0.0
|
20052
|
-
.
|
20053
|
-
|
20054
|
-
.UNINDENT
|
20941
|
+
.IP \(bu 2
|
20942
|
+
\fBplugin_unregister\fP
|
20055
20943
|
.UNINDENT
|
20944
|
+
.SS \fBplugin_unregister\fP
|
20056
20945
|
.sp
|
20057
|
-
\
|
20946
|
+
\fBNOTE:\fP
|
20058
20947
|
.INDENT 0.0
|
20059
20948
|
.INDENT 3.5
|
20060
|
-
|
20061
|
-
is \fBfalse\fP\&.
|
20062
|
-
.sp
|
20063
|
-
Note that "cancel request is accepted" doesn\(aqt means that "the
|
20064
|
-
target request is canceled". It just means "cancel request is
|
20065
|
-
notified to the target request but the cancel request may be ignored
|
20066
|
-
by the target request".
|
20067
|
-
.sp
|
20068
|
-
If request assigned with the request ID doesn\(aqt exist, this is
|
20069
|
-
\fBfalse\fP\&.
|
20070
|
-
.UNINDENT
|
20949
|
+
This command is an experimental feature.
|
20071
20950
|
.UNINDENT
|
20072
|
-
.SS See also
|
20073
|
-
.INDENT 0.0
|
20074
|
-
.IP \(bu 2
|
20075
|
-
\fB/reference/command/request_id\fP
|
20076
20951
|
.UNINDENT
|
20077
|
-
.
|
20952
|
+
.sp
|
20953
|
+
New in version 5.0.1.
|
20954
|
+
|
20078
20955
|
.SS Summary
|
20079
20956
|
.sp
|
20080
|
-
\
|
20957
|
+
\fBplugin_unregister\fP command unregisters a plugin.
|
20081
20958
|
.SS Syntax
|
20082
20959
|
.sp
|
20083
20960
|
This command takes only one required parameter:
|
@@ -20086,16 +20963,16 @@ This command takes only one required parameter:
|
|
20086
20963
|
.sp
|
20087
20964
|
.nf
|
20088
20965
|
.ft C
|
20089
|
-
|
20966
|
+
plugin_unregister name
|
20090
20967
|
.ft P
|
20091
20968
|
.fi
|
20092
20969
|
.UNINDENT
|
20093
20970
|
.UNINDENT
|
20094
20971
|
.SS Usage
|
20095
20972
|
.sp
|
20096
|
-
|
20097
|
-
|
20098
|
-
|
20973
|
+
Here is a sample that unregisters \fBQueryExpanderTSV\fP query expander
|
20974
|
+
that is included in
|
20975
|
+
\fB${PREFIX}/lib/groonga/plugins/query_expanders/tsv.so\fP\&.
|
20099
20976
|
.sp
|
20100
20977
|
Execution example:
|
20101
20978
|
.INDENT 0.0
|
@@ -20103,115 +20980,343 @@ Execution example:
|
|
20103
20980
|
.sp
|
20104
20981
|
.nf
|
20105
20982
|
.ft C
|
20106
|
-
|
20983
|
+
plugin_unregister query_expanders/tsv
|
20107
20984
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20108
|
-
ruby_eval "1 + 2"
|
20109
|
-
# [[0, 1337566253.89858, 0.000355720520019531], {"value": 3}]
|
20110
20985
|
.ft P
|
20111
20986
|
.fi
|
20112
20987
|
.UNINDENT
|
20113
20988
|
.UNINDENT
|
20114
20989
|
.sp
|
20115
|
-
|
20116
|
-
.
|
20117
|
-
Note that \fBruby_eval\fP is implemented as an experimental plugin,
|
20118
|
-
and the specification may be changed in the future.
|
20119
|
-
.SS Parameters
|
20120
|
-
.sp
|
20121
|
-
This section describes all parameters.
|
20122
|
-
.SS \fBscript\fP
|
20990
|
+
You can omit \fB${PREFIX}/lib/groonga/plugins/\fP and suffix (\fB\&.so\fP).
|
20991
|
+
They are completed automatically.
|
20123
20992
|
.sp
|
20124
|
-
|
20993
|
+
You can specify absolute path such as \fBplugin_unregister
|
20994
|
+
/usr/lib/groonga/plugins/query_expanders/tsv.so\fP\&.
|
20125
20995
|
.SS Return value
|
20126
20996
|
.sp
|
20127
|
-
\
|
20128
|
-
exception information (Including metadata isn\(aqt implemented yet):
|
20997
|
+
\fBplugin_unregister\fP returns \fBtrue\fP as body on success such as:
|
20129
20998
|
.INDENT 0.0
|
20130
20999
|
.INDENT 3.5
|
20131
21000
|
.sp
|
20132
21001
|
.nf
|
20133
21002
|
.ft C
|
20134
|
-
[HEADER,
|
21003
|
+
[HEADER, true]
|
20135
21004
|
.ft P
|
20136
21005
|
.fi
|
20137
21006
|
.UNINDENT
|
20138
21007
|
.UNINDENT
|
20139
21008
|
.sp
|
20140
|
-
\fBHEADER\fP
|
20141
|
-
.INDENT 0.0
|
20142
|
-
.INDENT 3.5
|
20143
|
-
See \fB/reference/command/output_format\fP about \fBHEADER\fP\&.
|
20144
|
-
.UNINDENT
|
20145
|
-
.UNINDENT
|
21009
|
+
If \fBplugin_unregister\fP fails, error details are in \fBHEADER\fP\&.
|
20146
21010
|
.sp
|
20147
|
-
\
|
21011
|
+
See \fB/reference/command/output_format\fP for \fBHEADER\fP\&.
|
21012
|
+
.SS See also
|
20148
21013
|
.INDENT 0.0
|
20149
|
-
.
|
20150
|
-
\
|
20151
|
-
.sp
|
20152
|
-
\fBruby_eval\fP supports only a number for evaluated value for now.
|
20153
|
-
Supported types will be increased in the future.
|
20154
|
-
.UNINDENT
|
21014
|
+
.IP \(bu 2
|
21015
|
+
\fBplugin_register\fP
|
20155
21016
|
.UNINDENT
|
20156
|
-
.SS
|
20157
|
-
.SS \fBruby_load\fP
|
21017
|
+
.SS \fBquit\fP
|
20158
21018
|
.SS Summary
|
20159
21019
|
.sp
|
20160
|
-
|
20161
|
-
.SS Syntax
|
21020
|
+
quit \- セッション終了
|
20162
21021
|
.sp
|
20163
|
-
|
21022
|
+
Groonga組込コマンドの一つであるquitについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
|
21023
|
+
.sp
|
21024
|
+
quitは、groongaプロセスとのセッションを終了します。クライアントプロセスならばgroongaプロセスとの接続を切ります。
|
21025
|
+
.SS Syntax
|
20164
21026
|
.INDENT 0.0
|
20165
21027
|
.INDENT 3.5
|
20166
21028
|
.sp
|
20167
21029
|
.nf
|
20168
21030
|
.ft C
|
20169
|
-
|
21031
|
+
quit
|
20170
21032
|
.ft P
|
20171
21033
|
.fi
|
20172
21034
|
.UNINDENT
|
20173
21035
|
.UNINDENT
|
20174
21036
|
.SS Usage
|
20175
|
-
.sp
|
20176
|
-
You can load any script file which mruby supports by calling \fBruby_load\fP\&.
|
20177
|
-
.sp
|
20178
|
-
Here is an example that just load \fBexpression.rb\fP as Ruby script.
|
20179
|
-
.sp
|
20180
|
-
Execution example:
|
20181
21037
|
.INDENT 0.0
|
20182
21038
|
.INDENT 3.5
|
20183
21039
|
.sp
|
20184
21040
|
.nf
|
20185
21041
|
.ft C
|
20186
|
-
|
20187
|
-
|
20188
|
-
|
20189
|
-
|
21042
|
+
quit
|
21043
|
+
.ft P
|
21044
|
+
.fi
|
21045
|
+
.UNINDENT
|
21046
|
+
.UNINDENT
|
21047
|
+
.SS Parameters
|
21048
|
+
.sp
|
21049
|
+
ありません。
|
21050
|
+
.SS Return value
|
21051
|
+
.sp
|
21052
|
+
ありません。
|
21053
|
+
.SS \fBrange_filter\fP
|
21054
|
+
.SS Summary
|
21055
|
+
.sp
|
21056
|
+
TODO: write me
|
21057
|
+
.SS Syntax
|
21058
|
+
.SS Usage
|
21059
|
+
.SS Return value
|
21060
|
+
.SS See also
|
21061
|
+
.INDENT 0.0
|
21062
|
+
.IP \(bu 2
|
21063
|
+
\fB/reference/commands/select\fP
|
21064
|
+
.UNINDENT
|
21065
|
+
.SS \fBregister\fP
|
21066
|
+
.sp
|
21067
|
+
Deprecated since version 5.0.1: Use \fBplugin_register\fP instead.
|
21068
|
+
|
21069
|
+
.SS Summary
|
21070
|
+
.sp
|
21071
|
+
\fBregister\fP command registers a plugin. You need to register a plugin
|
21072
|
+
before you use a plugin.
|
21073
|
+
.sp
|
21074
|
+
You need just one \fBregister\fP command for a plugin in the same
|
21075
|
+
database because registered plugin information is written into the
|
21076
|
+
database. When you restart your \fBgroonga\fP process, \fBgroonga\fP
|
21077
|
+
process loads all registered plugins without \fBregister\fP command.
|
21078
|
+
.sp
|
21079
|
+
\fBNOTE:\fP
|
21080
|
+
.INDENT 0.0
|
21081
|
+
.INDENT 3.5
|
21082
|
+
Registered plugins can be removed since Groonga 5.0.1. Use
|
21083
|
+
\fBplugin_unregister\fP in such a case.
|
21084
|
+
.UNINDENT
|
21085
|
+
.UNINDENT
|
21086
|
+
.SS Syntax
|
21087
|
+
.sp
|
21088
|
+
This command takes only one required parameter:
|
21089
|
+
.INDENT 0.0
|
21090
|
+
.INDENT 3.5
|
21091
|
+
.sp
|
21092
|
+
.nf
|
21093
|
+
.ft C
|
21094
|
+
register path
|
21095
|
+
.ft P
|
21096
|
+
.fi
|
21097
|
+
.UNINDENT
|
21098
|
+
.UNINDENT
|
21099
|
+
.SS Usage
|
21100
|
+
.sp
|
21101
|
+
Here is a sample that registers \fBQueryExpanderTSV\fP query expander
|
21102
|
+
that is included in
|
21103
|
+
\fB${PREFIX}/lib/groonga/plugins/query_expanders/tsv.so\fP\&.
|
21104
|
+
.sp
|
21105
|
+
Execution example:
|
21106
|
+
.INDENT 0.0
|
21107
|
+
.INDENT 3.5
|
21108
|
+
.sp
|
21109
|
+
.nf
|
21110
|
+
.ft C
|
21111
|
+
register query_expanders/tsv
|
21112
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
21113
|
+
.ft P
|
21114
|
+
.fi
|
21115
|
+
.UNINDENT
|
21116
|
+
.UNINDENT
|
21117
|
+
.sp
|
21118
|
+
You can omit \fB${PREFIX}/lib/groonga/plugins/\fP and suffix (\fB\&.so\fP).
|
21119
|
+
They are completed automatically.
|
21120
|
+
.sp
|
21121
|
+
You can specify absolute path such as \fBregister
|
21122
|
+
/usr/lib/groonga/plugins/query_expanders/tsv.so\fP\&.
|
21123
|
+
.SS Return value
|
21124
|
+
.sp
|
21125
|
+
\fBregister\fP returns \fBtrue\fP as body on success such as:
|
21126
|
+
.INDENT 0.0
|
21127
|
+
.INDENT 3.5
|
21128
|
+
.sp
|
21129
|
+
.nf
|
21130
|
+
.ft C
|
21131
|
+
[HEADER, true]
|
21132
|
+
.ft P
|
21133
|
+
.fi
|
21134
|
+
.UNINDENT
|
21135
|
+
.UNINDENT
|
21136
|
+
.sp
|
21137
|
+
If \fBregister\fP fails, error details are in \fBHEADER\fP\&.
|
21138
|
+
.sp
|
21139
|
+
See \fB/reference/command/output_format\fP for \fBHEADER\fP\&.
|
21140
|
+
.SS See also
|
21141
|
+
.INDENT 0.0
|
21142
|
+
.IP \(bu 2
|
21143
|
+
\fBplugin_register\fP
|
21144
|
+
.IP \(bu 2
|
21145
|
+
\fBplugin_unregister\fP
|
21146
|
+
.UNINDENT
|
21147
|
+
.SS \fBreindex\fP
|
21148
|
+
.SS Summary
|
21149
|
+
.sp
|
21150
|
+
New in version 5.1.0.
|
21151
|
+
|
21152
|
+
.sp
|
21153
|
+
\fBreindex\fP command recreates one or more index columns.
|
21154
|
+
.sp
|
21155
|
+
If you specify a database as target object, all index columns are
|
21156
|
+
recreated.
|
21157
|
+
.sp
|
21158
|
+
If you specify a table as target object, all index columns in the
|
21159
|
+
table are recreated.
|
21160
|
+
.sp
|
21161
|
+
If you specify a data column as target object, all index columns for
|
21162
|
+
the data column are recreated.
|
21163
|
+
.sp
|
21164
|
+
If you specify an index column as target object, the index column is
|
21165
|
+
recreated.
|
21166
|
+
.sp
|
21167
|
+
This command is useful when your index column is broken. The target
|
21168
|
+
object is one of database, table and column.
|
21169
|
+
.sp
|
21170
|
+
\fBNOTE:\fP
|
21171
|
+
.INDENT 0.0
|
21172
|
+
.INDENT 3.5
|
21173
|
+
You can\(aqt use target index columns while \fBreindex\fP command is
|
21174
|
+
running. If you use the same database from multiple processes, all
|
21175
|
+
processes except running \fBreindex\fP should reopen the
|
21176
|
+
database. You can use \fBdatabase_unmap\fP for reopening database.
|
21177
|
+
.UNINDENT
|
21178
|
+
.UNINDENT
|
21179
|
+
.SS Syntax
|
21180
|
+
.sp
|
21181
|
+
This command takes only one optional parameter:
|
21182
|
+
.INDENT 0.0
|
21183
|
+
.INDENT 3.5
|
21184
|
+
.sp
|
21185
|
+
.nf
|
21186
|
+
.ft C
|
21187
|
+
reindex [target_name=null]
|
21188
|
+
.ft P
|
21189
|
+
.fi
|
21190
|
+
.UNINDENT
|
21191
|
+
.UNINDENT
|
21192
|
+
.sp
|
21193
|
+
If \fBtarget_name\fP parameters is omitted, database is used for the
|
21194
|
+
target object. It means that all index columns in the database are
|
21195
|
+
recreated.
|
21196
|
+
.SS Usage
|
21197
|
+
.sp
|
21198
|
+
Here is an example to recreate all index columns in the database:
|
21199
|
+
.sp
|
21200
|
+
Execution example:
|
21201
|
+
.INDENT 0.0
|
21202
|
+
.INDENT 3.5
|
21203
|
+
.sp
|
21204
|
+
.nf
|
21205
|
+
.ft C
|
21206
|
+
reindex
|
21207
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
21208
|
+
.ft P
|
21209
|
+
.fi
|
21210
|
+
.UNINDENT
|
21211
|
+
.UNINDENT
|
21212
|
+
.sp
|
21213
|
+
Here is an example to recreate all index columns
|
21214
|
+
(\fBLexicon.entry_key\fP and \fBLexicon.entry_body\fP) in \fBLexicon\fP
|
21215
|
+
table:
|
21216
|
+
.sp
|
21217
|
+
Execution example:
|
21218
|
+
.INDENT 0.0
|
21219
|
+
.INDENT 3.5
|
21220
|
+
.sp
|
21221
|
+
.nf
|
21222
|
+
.ft C
|
21223
|
+
table_create Entry TABLE_HASH_KEY ShortText
|
21224
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
21225
|
+
column_create Entry body COLUMN_SCALAR Text
|
21226
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
21227
|
+
table_create Lexicon TABLE_PAT_KEY ShortText \e
|
21228
|
+
\-\-default_tokenizer TokenBigram \e
|
21229
|
+
\-\-normalizer NormalizerAuto
|
21230
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
21231
|
+
column_create Lexicon entry_key COLUMN_INDEX|WITH_POSITION \e
|
21232
|
+
Entry _key
|
21233
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
21234
|
+
column_create Lexicon entry_body COLUMN_INDEX|WITH_POSITION \e
|
21235
|
+
Entry body
|
21236
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
21237
|
+
reindex Lexicon
|
21238
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
21239
|
+
.ft P
|
21240
|
+
.fi
|
21241
|
+
.UNINDENT
|
21242
|
+
.UNINDENT
|
21243
|
+
.sp
|
21244
|
+
Here is an example to recreate all index columns
|
21245
|
+
(\fBBigramLexicon.site_title\fP and \fBRegexpLexicon.site_title\fP) of
|
21246
|
+
\fBSite.title\fP data column:
|
21247
|
+
.sp
|
21248
|
+
Execution example:
|
21249
|
+
.INDENT 0.0
|
21250
|
+
.INDENT 3.5
|
21251
|
+
.sp
|
21252
|
+
.nf
|
21253
|
+
.ft C
|
21254
|
+
table_create Site TABLE_HASH_KEY ShortText
|
21255
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
21256
|
+
column_create Site title COLUMN_SCALAR ShortText
|
21257
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
21258
|
+
table_create BigramLexicon TABLE_PAT_KEY ShortText \e
|
21259
|
+
\-\-default_tokenizer TokenBigram \e
|
21260
|
+
\-\-normalizer NormalizerAuto
|
21261
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
21262
|
+
column_create BigramLexicon site_title COLUMN_INDEX|WITH_POSITION \e
|
21263
|
+
Site title
|
21264
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
21265
|
+
table_create RegexpLexicon TABLE_PAT_KEY ShortText \e
|
21266
|
+
\-\-default_tokenizer TokenRegexp \e
|
21267
|
+
\-\-normalizer NormalizerAuto
|
21268
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
21269
|
+
column_create RegexpLexicon site_title COLUMN_INDEX|WITH_POSITION \e
|
21270
|
+
Site title
|
21271
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
21272
|
+
reindex Site.title
|
21273
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
21274
|
+
.ft P
|
21275
|
+
.fi
|
21276
|
+
.UNINDENT
|
21277
|
+
.UNINDENT
|
21278
|
+
.sp
|
21279
|
+
Here is an example to recreate an index column (\fBTimestamp.index\fP):
|
21280
|
+
.sp
|
21281
|
+
Execution example:
|
21282
|
+
.INDENT 0.0
|
21283
|
+
.INDENT 3.5
|
21284
|
+
.sp
|
21285
|
+
.nf
|
21286
|
+
.ft C
|
21287
|
+
table_create Logs TABLE_NO_KEY
|
21288
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
21289
|
+
column_create Logs timestamp COLUMN_SCALAR Time
|
21290
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
21291
|
+
table_create Timestamp TABLE_PAT_KEY Time
|
21292
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
21293
|
+
column_create Timestamp logs_timestamp COLUMN_INDEX Logs timestamp
|
21294
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
21295
|
+
reindex Timestamp.logs_timestamp
|
21296
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20190
21297
|
.ft P
|
20191
21298
|
.fi
|
20192
21299
|
.UNINDENT
|
20193
21300
|
.UNINDENT
|
20194
|
-
.sp
|
20195
|
-
Register \fBruby/load\fP plugin to use \fBruby_load\fP command in advance.
|
20196
|
-
.sp
|
20197
|
-
Note that \fBruby_load\fP is implemented as an experimental plugin,
|
20198
|
-
and the specification may be changed in the future.
|
20199
21301
|
.SS Parameters
|
20200
21302
|
.sp
|
20201
21303
|
This section describes all parameters.
|
20202
|
-
.SS \
|
21304
|
+
.SS \fBtarget_name\fP
|
20203
21305
|
.sp
|
20204
|
-
Specifies the
|
21306
|
+
Specifies the name of table or column.
|
21307
|
+
.sp
|
21308
|
+
If you don\(aqt specify it, database is used for the target object.
|
21309
|
+
.sp
|
21310
|
+
The default is none. It means that the target object is database.
|
20205
21311
|
.SS Return value
|
20206
21312
|
.sp
|
20207
|
-
\
|
20208
|
-
exception information (Including metadata isn\(aqt implemented yet):
|
21313
|
+
\fBreindex\fP command returns whether recreation is succeeded or not:
|
20209
21314
|
.INDENT 0.0
|
20210
21315
|
.INDENT 3.5
|
20211
21316
|
.sp
|
20212
21317
|
.nf
|
20213
21318
|
.ft C
|
20214
|
-
[HEADER,
|
21319
|
+
[HEADER, SUCCEEDED_OR_NOT]
|
20215
21320
|
.ft P
|
20216
21321
|
.fi
|
20217
21322
|
.UNINDENT
|
@@ -20224,17 +21329,1654 @@ See \fB/reference/command/output_format\fP about \fBHEADER\fP\&.
|
|
20224
21329
|
.UNINDENT
|
20225
21330
|
.UNINDENT
|
20226
21331
|
.sp
|
20227
|
-
\
|
21332
|
+
\fBSUCCEEDED_OR_NOT\fP
|
20228
21333
|
.INDENT 0.0
|
20229
21334
|
.INDENT 3.5
|
20230
|
-
|
21335
|
+
If command succeeded, it returns true, otherwise it returns false on
|
21336
|
+
error.
|
21337
|
+
.UNINDENT
|
21338
|
+
.UNINDENT
|
21339
|
+
.SS \fBrequest_cancel\fP
|
21340
|
+
.SS Summary
|
20231
21341
|
.sp
|
20232
|
-
\
|
21342
|
+
\fBNOTE:\fP
|
21343
|
+
.INDENT 0.0
|
21344
|
+
.INDENT 3.5
|
21345
|
+
This command is an experimental feature.
|
21346
|
+
.UNINDENT
|
21347
|
+
.UNINDENT
|
21348
|
+
.sp
|
21349
|
+
New in version 4.0.9.
|
21350
|
+
|
21351
|
+
.sp
|
21352
|
+
\fBrequest_cancel\fP command cancels a running request.
|
21353
|
+
.sp
|
21354
|
+
There are some limitations:
|
21355
|
+
.INDENT 0.0
|
21356
|
+
.INDENT 3.5
|
21357
|
+
.INDENT 0.0
|
21358
|
+
.IP \(bu 2
|
21359
|
+
Request ID must be managed by user. (You need to assign unique key
|
21360
|
+
for each request.)
|
21361
|
+
.IP \(bu 2
|
21362
|
+
Cancel request may be ignored. (You can send \fBrequest_cancel\fP
|
21363
|
+
command multiple times for the same request ID.)
|
21364
|
+
.IP \(bu 2
|
21365
|
+
Only multithreading type Groonga server is supported. (You can use
|
21366
|
+
with \fB/reference/executables/groonga\fP based server but can\(aqt
|
21367
|
+
use with \fB/reference/executables/groonga\-httpd\fP\&.)
|
21368
|
+
.UNINDENT
|
21369
|
+
.UNINDENT
|
21370
|
+
.UNINDENT
|
21371
|
+
.sp
|
21372
|
+
See \fB/reference/command/request_id\fP about request ID.
|
21373
|
+
.sp
|
21374
|
+
If request is canceled, the canceled request has \fB\-5\fP
|
21375
|
+
(\fBGRN_INTERRUPTED_FUNCTION_CALL\fP) as
|
21376
|
+
\fB/reference/command/return_code\fP\&.
|
21377
|
+
.SS Syntax
|
21378
|
+
.sp
|
21379
|
+
This command takes only one required parameter:
|
21380
|
+
.INDENT 0.0
|
21381
|
+
.INDENT 3.5
|
21382
|
+
.sp
|
21383
|
+
.nf
|
21384
|
+
.ft C
|
21385
|
+
request_cancel id
|
21386
|
+
.ft P
|
21387
|
+
.fi
|
21388
|
+
.UNINDENT
|
21389
|
+
.UNINDENT
|
21390
|
+
.SS Usage
|
21391
|
+
.sp
|
21392
|
+
Here is an example of \fBrequest_cancel\fP command:
|
21393
|
+
.INDENT 0.0
|
21394
|
+
.INDENT 3.5
|
21395
|
+
.sp
|
21396
|
+
.nf
|
21397
|
+
.ft C
|
21398
|
+
$ curl \(aqhttp://localhost:10041/d/select?table=LargeTable&filter=true&request_id=unique\-id\-1\(aq &
|
21399
|
+
# The above "select" takes a long time...
|
21400
|
+
# Point: "request_id=unique\-id\-1"
|
21401
|
+
$ curl \(aqhttp://localhost:10041/d/request_cancel?id=unique\-id\-1\(aq
|
21402
|
+
[[...], {"id": "unique\-id\-1", "canceled": true}]
|
21403
|
+
# Point: "id=unique\-id\-1"
|
21404
|
+
.ft P
|
21405
|
+
.fi
|
21406
|
+
.UNINDENT
|
21407
|
+
.UNINDENT
|
21408
|
+
.sp
|
21409
|
+
Assume that the first \fBselect\fP command takes a long
|
21410
|
+
time. \fBunique\-id\-1\fP request ID is assigned to the \fBselect\fP command
|
21411
|
+
by \fBrequest_id=unique\-id\-1\fP parameter.
|
21412
|
+
.sp
|
21413
|
+
The second \fBrequest_cancel\fP command passes \fBid=unique\-id\-1\fP
|
21414
|
+
parameter. \fBunique\-id\-1\fP is the same request ID passed in \fBselect\fP
|
21415
|
+
command.
|
21416
|
+
.sp
|
21417
|
+
The \fBselect\fP command may not be canceled immediately. And the cancel
|
21418
|
+
request may be ignored.
|
21419
|
+
.sp
|
21420
|
+
You can send cancel request for the same request ID multiple times. If
|
21421
|
+
the target request is canceled or finished, \fB"canceled"\fP value is
|
21422
|
+
changed to \fBfalse\fP from \fBtrue\fP in return value:
|
21423
|
+
.INDENT 0.0
|
21424
|
+
.INDENT 3.5
|
21425
|
+
.sp
|
21426
|
+
.nf
|
21427
|
+
.ft C
|
21428
|
+
$ curl \(aqhttp://localhost:10041/d/request_cancel?id=unique\-id\-1\(aq
|
21429
|
+
[[...], {"id": "unique\-id\-1", "canceled": true}]
|
21430
|
+
# "select" is still running... ("canceled" is "true")
|
21431
|
+
$ curl \(aqhttp://localhost:10041/d/request_cancel?id=unique\-id\-1\(aq
|
21432
|
+
[[...], {"id": "unique\-id\-1", "canceled": true}]
|
21433
|
+
# "select" is still running... ("canceled" is "true")
|
21434
|
+
$ curl \(aqhttp://localhost:10041/d/request_cancel?id=unique\-id\-1\(aq
|
21435
|
+
[[...], {"id": "unique\-id\-1", "canceled": false}]
|
21436
|
+
# "select" is canceled or finished. ("canceled" is "false")
|
21437
|
+
.ft P
|
21438
|
+
.fi
|
21439
|
+
.UNINDENT
|
21440
|
+
.UNINDENT
|
21441
|
+
.sp
|
21442
|
+
If the \fBselect\fP command is canceled, response of the \fBselect\fP
|
21443
|
+
command has \fB\-5\fP (\fBGRN_INTERRUPTED_FUNCTION_CALL\fP) as
|
21444
|
+
\fB/reference/command/return_code\fP:
|
21445
|
+
.INDENT 0.0
|
21446
|
+
.INDENT 3.5
|
21447
|
+
.sp
|
21448
|
+
.nf
|
21449
|
+
.ft C
|
21450
|
+
$ curl \(aqhttp://localhost:10041/d/select?table=LargeTable&filter=true&request_id=unique\-id\-1\(aq &
|
21451
|
+
[[\-5, ...], ...]
|
21452
|
+
.ft P
|
21453
|
+
.fi
|
21454
|
+
.UNINDENT
|
21455
|
+
.UNINDENT
|
21456
|
+
.SS Parameters
|
21457
|
+
.sp
|
21458
|
+
This section describes parameters of \fBrequest_cancel\fP\&.
|
21459
|
+
.SS Required parameter
|
21460
|
+
.sp
|
21461
|
+
There is required parameter, \fBid\fP\&.
|
21462
|
+
.SS \fBid\fP
|
21463
|
+
.sp
|
21464
|
+
Specifies the ID for the target request.
|
21465
|
+
.SS Return value
|
21466
|
+
.sp
|
21467
|
+
\fBrequest_cancel\fP command returns the result of the cancel request:
|
21468
|
+
.INDENT 0.0
|
21469
|
+
.INDENT 3.5
|
21470
|
+
.sp
|
21471
|
+
.nf
|
21472
|
+
.ft C
|
21473
|
+
[
|
21474
|
+
HEADER,
|
21475
|
+
{
|
21476
|
+
"id": ID,
|
21477
|
+
"canceled": CANCEL_REQUEST_IS_ACCEPTED_OR_NOT
|
21478
|
+
}
|
21479
|
+
]
|
21480
|
+
.ft P
|
21481
|
+
.fi
|
21482
|
+
.UNINDENT
|
21483
|
+
.UNINDENT
|
21484
|
+
.sp
|
21485
|
+
\fBHEADER\fP
|
21486
|
+
.INDENT 0.0
|
21487
|
+
.INDENT 3.5
|
21488
|
+
See \fB/reference/command/output_format\fP about \fBHEADER\fP\&.
|
21489
|
+
.UNINDENT
|
21490
|
+
.UNINDENT
|
21491
|
+
.sp
|
21492
|
+
\fBID\fP
|
21493
|
+
.INDENT 0.0
|
21494
|
+
.INDENT 3.5
|
21495
|
+
The ID of the target request.
|
21496
|
+
.UNINDENT
|
21497
|
+
.UNINDENT
|
21498
|
+
.sp
|
21499
|
+
\fBCANCEL_REQUEST_IS_ACCEPTED_OR_NOT\fP
|
21500
|
+
.INDENT 0.0
|
21501
|
+
.INDENT 3.5
|
21502
|
+
If the cancel request is accepted, this is \fBtrue\fP, otherwise this
|
21503
|
+
is \fBfalse\fP\&.
|
21504
|
+
.sp
|
21505
|
+
Note that "cancel request is accepted" doesn\(aqt means that "the
|
21506
|
+
target request is canceled". It just means "cancel request is
|
21507
|
+
notified to the target request but the cancel request may be ignored
|
21508
|
+
by the target request".
|
21509
|
+
.sp
|
21510
|
+
If request assigned with the request ID doesn\(aqt exist, this is
|
21511
|
+
\fBfalse\fP\&.
|
20233
21512
|
.UNINDENT
|
20234
21513
|
.UNINDENT
|
20235
21514
|
.SS See also
|
21515
|
+
.INDENT 0.0
|
21516
|
+
.IP \(bu 2
|
21517
|
+
\fB/reference/command/request_id\fP
|
21518
|
+
.UNINDENT
|
21519
|
+
.SS \fBruby_eval\fP
|
21520
|
+
.SS Summary
|
20236
21521
|
.sp
|
20237
|
-
\
|
21522
|
+
\fBruby_eval\fP command evaluates Ruby script and returns the result.
|
21523
|
+
.SS Syntax
|
21524
|
+
.sp
|
21525
|
+
This command takes only one required parameter:
|
21526
|
+
.INDENT 0.0
|
21527
|
+
.INDENT 3.5
|
21528
|
+
.sp
|
21529
|
+
.nf
|
21530
|
+
.ft C
|
21531
|
+
ruby_eval script
|
21532
|
+
.ft P
|
21533
|
+
.fi
|
21534
|
+
.UNINDENT
|
21535
|
+
.UNINDENT
|
21536
|
+
.SS Usage
|
21537
|
+
.sp
|
21538
|
+
You can execute any scripts which mruby supports by calling \fBruby_eval\fP\&.
|
21539
|
+
.sp
|
21540
|
+
Here is an example that just calculate \fB1 + 2\fP as Ruby script.
|
21541
|
+
.sp
|
21542
|
+
Execution example:
|
21543
|
+
.INDENT 0.0
|
21544
|
+
.INDENT 3.5
|
21545
|
+
.sp
|
21546
|
+
.nf
|
21547
|
+
.ft C
|
21548
|
+
register ruby/eval
|
21549
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
21550
|
+
ruby_eval "1 + 2"
|
21551
|
+
# [[0, 1337566253.89858, 0.000355720520019531], {"value": 3}]
|
21552
|
+
.ft P
|
21553
|
+
.fi
|
21554
|
+
.UNINDENT
|
21555
|
+
.UNINDENT
|
21556
|
+
.sp
|
21557
|
+
Register \fBruby/eval\fP plugin to use \fBruby_eval\fP command in advance.
|
21558
|
+
.sp
|
21559
|
+
Note that \fBruby_eval\fP is implemented as an experimental plugin,
|
21560
|
+
and the specification may be changed in the future.
|
21561
|
+
.SS Parameters
|
21562
|
+
.sp
|
21563
|
+
This section describes all parameters.
|
21564
|
+
.SS \fBscript\fP
|
21565
|
+
.sp
|
21566
|
+
Specifies the Ruby script which you want to evaluate.
|
21567
|
+
.SS Return value
|
21568
|
+
.sp
|
21569
|
+
\fBruby_eval\fP returns the evaluated result with metadata such as
|
21570
|
+
exception information (Including metadata isn\(aqt implemented yet):
|
21571
|
+
.INDENT 0.0
|
21572
|
+
.INDENT 3.5
|
21573
|
+
.sp
|
21574
|
+
.nf
|
21575
|
+
.ft C
|
21576
|
+
[HEADER, {"value": EVALUATED_VALUE}]
|
21577
|
+
.ft P
|
21578
|
+
.fi
|
21579
|
+
.UNINDENT
|
21580
|
+
.UNINDENT
|
21581
|
+
.sp
|
21582
|
+
\fBHEADER\fP
|
21583
|
+
.INDENT 0.0
|
21584
|
+
.INDENT 3.5
|
21585
|
+
See \fB/reference/command/output_format\fP about \fBHEADER\fP\&.
|
21586
|
+
.UNINDENT
|
21587
|
+
.UNINDENT
|
21588
|
+
.sp
|
21589
|
+
\fBEVALUATED_VALUE\fP
|
21590
|
+
.INDENT 0.0
|
21591
|
+
.INDENT 3.5
|
21592
|
+
\fBEVALUATED_VALUE\fP is the evaludated value of \fBruby_script\fP\&.
|
21593
|
+
.sp
|
21594
|
+
\fBruby_eval\fP supports only a number for evaluated value for now.
|
21595
|
+
Supported types will be increased in the future.
|
21596
|
+
.UNINDENT
|
21597
|
+
.UNINDENT
|
21598
|
+
.SS See also
|
21599
|
+
.SS \fBruby_load\fP
|
21600
|
+
.SS Summary
|
21601
|
+
.sp
|
21602
|
+
\fBruby_load\fP command loads specified Ruby script.
|
21603
|
+
.SS Syntax
|
21604
|
+
.sp
|
21605
|
+
This command takes only one required parameter:
|
21606
|
+
.INDENT 0.0
|
21607
|
+
.INDENT 3.5
|
21608
|
+
.sp
|
21609
|
+
.nf
|
21610
|
+
.ft C
|
21611
|
+
ruby_load path
|
21612
|
+
.ft P
|
21613
|
+
.fi
|
21614
|
+
.UNINDENT
|
21615
|
+
.UNINDENT
|
21616
|
+
.SS Usage
|
21617
|
+
.sp
|
21618
|
+
You can load any script file which mruby supports by calling \fBruby_load\fP\&.
|
21619
|
+
.sp
|
21620
|
+
Here is an example that just load \fBexpression.rb\fP as Ruby script.
|
21621
|
+
.sp
|
21622
|
+
Execution example:
|
21623
|
+
.INDENT 0.0
|
21624
|
+
.INDENT 3.5
|
21625
|
+
.sp
|
21626
|
+
.nf
|
21627
|
+
.ft C
|
21628
|
+
register ruby/load
|
21629
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
21630
|
+
ruby_load "expression.rb"
|
21631
|
+
# [[0, 1337566253.89858, 0.000355720520019531], {"value": null}]
|
21632
|
+
.ft P
|
21633
|
+
.fi
|
21634
|
+
.UNINDENT
|
21635
|
+
.UNINDENT
|
21636
|
+
.sp
|
21637
|
+
Register \fBruby/load\fP plugin to use \fBruby_load\fP command in advance.
|
21638
|
+
.sp
|
21639
|
+
Note that \fBruby_load\fP is implemented as an experimental plugin,
|
21640
|
+
and the specification may be changed in the future.
|
21641
|
+
.SS Parameters
|
21642
|
+
.sp
|
21643
|
+
This section describes all parameters.
|
21644
|
+
.SS \fBpath\fP
|
21645
|
+
.sp
|
21646
|
+
Specifies the Ruby script path which you want to load.
|
21647
|
+
.SS Return value
|
21648
|
+
.sp
|
21649
|
+
\fBruby_load\fP returns the loaded result with metadata such as
|
21650
|
+
exception information (Including metadata isn\(aqt implemented yet):
|
21651
|
+
.INDENT 0.0
|
21652
|
+
.INDENT 3.5
|
21653
|
+
.sp
|
21654
|
+
.nf
|
21655
|
+
.ft C
|
21656
|
+
[HEADER, {"value": LOADED_VALUE}]
|
21657
|
+
.ft P
|
21658
|
+
.fi
|
21659
|
+
.UNINDENT
|
21660
|
+
.UNINDENT
|
21661
|
+
.sp
|
21662
|
+
\fBHEADER\fP
|
21663
|
+
.INDENT 0.0
|
21664
|
+
.INDENT 3.5
|
21665
|
+
See \fB/reference/command/output_format\fP about \fBHEADER\fP\&.
|
21666
|
+
.UNINDENT
|
21667
|
+
.UNINDENT
|
21668
|
+
.sp
|
21669
|
+
\fBLOADED_VALUE\fP
|
21670
|
+
.INDENT 0.0
|
21671
|
+
.INDENT 3.5
|
21672
|
+
\fBLOADED_VALUE\fP is the loaded value of ruby script.
|
21673
|
+
.sp
|
21674
|
+
\fBruby_load\fP just return \fBnull\fP as \fBLOADED_VALUE\fP for now, it will be supported in the future.
|
21675
|
+
.UNINDENT
|
21676
|
+
.UNINDENT
|
21677
|
+
.SS See also
|
21678
|
+
.sp
|
21679
|
+
\fB/reference/commands/ruby_eval\fP
|
21680
|
+
.SS \fBschema\fP
|
21681
|
+
.SS Summary
|
21682
|
+
.sp
|
21683
|
+
New in version 5.0.9.
|
21684
|
+
|
21685
|
+
.sp
|
21686
|
+
\fBschema\fP command returns schema in the database.
|
21687
|
+
.sp
|
21688
|
+
This command is useful when you want to inspect the database. For
|
21689
|
+
example, visualizing the database, creating GUI for the database and
|
21690
|
+
so on.
|
21691
|
+
.SS Syntax
|
21692
|
+
.sp
|
21693
|
+
This command takes no parameters:
|
21694
|
+
.INDENT 0.0
|
21695
|
+
.INDENT 3.5
|
21696
|
+
.sp
|
21697
|
+
.nf
|
21698
|
+
.ft C
|
21699
|
+
schema
|
21700
|
+
.ft P
|
21701
|
+
.fi
|
21702
|
+
.UNINDENT
|
21703
|
+
.UNINDENT
|
21704
|
+
.SS Usage
|
21705
|
+
.sp
|
21706
|
+
Here is an example schema to show example output:
|
21707
|
+
.sp
|
21708
|
+
Execution example:
|
21709
|
+
.INDENT 0.0
|
21710
|
+
.INDENT 3.5
|
21711
|
+
.sp
|
21712
|
+
.nf
|
21713
|
+
.ft C
|
21714
|
+
table_create Memos TABLE_HASH_KEY ShortText
|
21715
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
21716
|
+
column_create Memos content COLUMN_SCALAR Text
|
21717
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
21718
|
+
table_create Terms TABLE_PAT_KEY ShortText \e
|
21719
|
+
\-\-default_tokenizer TokenBigram \e
|
21720
|
+
\-\-normalizer NormalizerAuto
|
21721
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
21722
|
+
column_create Terms memos_content_index \e
|
21723
|
+
COLUMN_INDEX|WITH_POSITION \e
|
21724
|
+
Memos content
|
21725
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
21726
|
+
.ft P
|
21727
|
+
.fi
|
21728
|
+
.UNINDENT
|
21729
|
+
.UNINDENT
|
21730
|
+
.sp
|
21731
|
+
Here is an output of \fBschema\fP command against this example schema:
|
21732
|
+
.sp
|
21733
|
+
Execution example:
|
21734
|
+
.INDENT 0.0
|
21735
|
+
.INDENT 3.5
|
21736
|
+
.sp
|
21737
|
+
.nf
|
21738
|
+
.ft C
|
21739
|
+
schema
|
21740
|
+
# [
|
21741
|
+
# [
|
21742
|
+
# 0,
|
21743
|
+
# 1337566253.89858,
|
21744
|
+
# 0.000355720520019531
|
21745
|
+
# ],
|
21746
|
+
# {
|
21747
|
+
# "tables": {
|
21748
|
+
# "Terms": {
|
21749
|
+
# "normalizer": {
|
21750
|
+
# "name": "NormalizerAuto"
|
21751
|
+
# },
|
21752
|
+
# "name": "Terms",
|
21753
|
+
# "tokenizer": {
|
21754
|
+
# "name": "TokenBigram"
|
21755
|
+
# },
|
21756
|
+
# "command": {
|
21757
|
+
# "command_line": "table_create \-\-name Terms \-\-flags TABLE_PAT_KEY \-\-key_type ShortText \-\-default_tokenizer TokenBigram \-\-normalizer NormalizerAuto",
|
21758
|
+
# "name": "table_create",
|
21759
|
+
# "arguments": {
|
21760
|
+
# "key_type": "ShortText",
|
21761
|
+
# "default_tokenizer": "TokenBigram",
|
21762
|
+
# "normalizer": "NormalizerAuto",
|
21763
|
+
# "flags": "TABLE_PAT_KEY",
|
21764
|
+
# "name": "Terms"
|
21765
|
+
# }
|
21766
|
+
# },
|
21767
|
+
# "indexes": [],
|
21768
|
+
# "key_type": {
|
21769
|
+
# "type": "type",
|
21770
|
+
# "name": "ShortText"
|
21771
|
+
# },
|
21772
|
+
# "value_type": null,
|
21773
|
+
# "token_filters": [],
|
21774
|
+
# "type": "patricia trie",
|
21775
|
+
# "columns": {
|
21776
|
+
# "memos_content_index": {
|
21777
|
+
# "name": "memos_content_index",
|
21778
|
+
# "weight": false,
|
21779
|
+
# "section": false,
|
21780
|
+
# "compress": null,
|
21781
|
+
# "command": {
|
21782
|
+
# "command_line": "column_create \-\-table Terms \-\-name memos_content_index \-\-flags COLUMN_INDEX|WITH_POSITION \-\-type Memos \-\-sources content",
|
21783
|
+
# "name": "column_create",
|
21784
|
+
# "arguments": {
|
21785
|
+
# "table": "Terms",
|
21786
|
+
# "flags": "COLUMN_INDEX|WITH_POSITION",
|
21787
|
+
# "name": "memos_content_index",
|
21788
|
+
# "sources": "content",
|
21789
|
+
# "type": "Memos"
|
21790
|
+
# }
|
21791
|
+
# },
|
21792
|
+
# "indexes": [],
|
21793
|
+
# "sources": [
|
21794
|
+
# {
|
21795
|
+
# "table": "Memos",
|
21796
|
+
# "name": "content",
|
21797
|
+
# "full_name": "Memos.content"
|
21798
|
+
# }
|
21799
|
+
# ],
|
21800
|
+
# "value_type": {
|
21801
|
+
# "type": "reference",
|
21802
|
+
# "name": "Memos"
|
21803
|
+
# },
|
21804
|
+
# "full_name": "Terms.memos_content_index",
|
21805
|
+
# "position": true,
|
21806
|
+
# "table": "Terms",
|
21807
|
+
# "type": "index"
|
21808
|
+
# }
|
21809
|
+
# }
|
21810
|
+
# },
|
21811
|
+
# "Memos": {
|
21812
|
+
# "normalizer": null,
|
21813
|
+
# "name": "Memos",
|
21814
|
+
# "tokenizer": null,
|
21815
|
+
# "command": {
|
21816
|
+
# "command_line": "table_create \-\-name Memos \-\-flags TABLE_HASH_KEY \-\-key_type ShortText",
|
21817
|
+
# "name": "table_create",
|
21818
|
+
# "arguments": {
|
21819
|
+
# "key_type": "ShortText",
|
21820
|
+
# "flags": "TABLE_HASH_KEY",
|
21821
|
+
# "name": "Memos"
|
21822
|
+
# }
|
21823
|
+
# },
|
21824
|
+
# "indexes": [],
|
21825
|
+
# "key_type": {
|
21826
|
+
# "type": "type",
|
21827
|
+
# "name": "ShortText"
|
21828
|
+
# },
|
21829
|
+
# "value_type": null,
|
21830
|
+
# "token_filters": [],
|
21831
|
+
# "type": "hash table",
|
21832
|
+
# "columns": {
|
21833
|
+
# "content": {
|
21834
|
+
# "name": "content",
|
21835
|
+
# "weight": false,
|
21836
|
+
# "section": false,
|
21837
|
+
# "compress": null,
|
21838
|
+
# "command": {
|
21839
|
+
# "command_line": "column_create \-\-table Memos \-\-name content \-\-flags COLUMN_SCALAR \-\-type Text",
|
21840
|
+
# "name": "column_create",
|
21841
|
+
# "arguments": {
|
21842
|
+
# "table": "Memos",
|
21843
|
+
# "flags": "COLUMN_SCALAR",
|
21844
|
+
# "name": "content",
|
21845
|
+
# "type": "Text"
|
21846
|
+
# }
|
21847
|
+
# },
|
21848
|
+
# "indexes": [
|
21849
|
+
# {
|
21850
|
+
# "table": "Terms",
|
21851
|
+
# "section": 0,
|
21852
|
+
# "name": "memos_content_index",
|
21853
|
+
# "full_name": "Terms.memos_content_index"
|
21854
|
+
# }
|
21855
|
+
# ],
|
21856
|
+
# "sources": [],
|
21857
|
+
# "value_type": {
|
21858
|
+
# "type": "type",
|
21859
|
+
# "name": "Text"
|
21860
|
+
# },
|
21861
|
+
# "full_name": "Memos.content",
|
21862
|
+
# "position": false,
|
21863
|
+
# "table": "Memos",
|
21864
|
+
# "type": "scalar"
|
21865
|
+
# }
|
21866
|
+
# }
|
21867
|
+
# }
|
21868
|
+
# },
|
21869
|
+
# "normalizers": {
|
21870
|
+
# "NormalizerNFKC51": {
|
21871
|
+
# "name": "NormalizerNFKC51"
|
21872
|
+
# },
|
21873
|
+
# "NormalizerAuto": {
|
21874
|
+
# "name": "NormalizerAuto"
|
21875
|
+
# }
|
21876
|
+
# },
|
21877
|
+
# "token_filters": {},
|
21878
|
+
# "tokenizers": {
|
21879
|
+
# "TokenBigramSplitSymbolAlphaDigit": {
|
21880
|
+
# "name": "TokenBigramSplitSymbolAlphaDigit"
|
21881
|
+
# },
|
21882
|
+
# "TokenRegexp": {
|
21883
|
+
# "name": "TokenRegexp"
|
21884
|
+
# },
|
21885
|
+
# "TokenBigramIgnoreBlankSplitSymbolAlphaDigit": {
|
21886
|
+
# "name": "TokenBigramIgnoreBlankSplitSymbolAlphaDigit"
|
21887
|
+
# },
|
21888
|
+
# "TokenBigram": {
|
21889
|
+
# "name": "TokenBigram"
|
21890
|
+
# },
|
21891
|
+
# "TokenDelimit": {
|
21892
|
+
# "name": "TokenDelimit"
|
21893
|
+
# },
|
21894
|
+
# "TokenUnigram": {
|
21895
|
+
# "name": "TokenUnigram"
|
21896
|
+
# },
|
21897
|
+
# "TokenBigramSplitSymbol": {
|
21898
|
+
# "name": "TokenBigramSplitSymbol"
|
21899
|
+
# },
|
21900
|
+
# "TokenDelimitNull": {
|
21901
|
+
# "name": "TokenDelimitNull"
|
21902
|
+
# },
|
21903
|
+
# "TokenBigramIgnoreBlankSplitSymbolAlpha": {
|
21904
|
+
# "name": "TokenBigramIgnoreBlankSplitSymbolAlpha"
|
21905
|
+
# },
|
21906
|
+
# "TokenBigramSplitSymbolAlpha": {
|
21907
|
+
# "name": "TokenBigramSplitSymbolAlpha"
|
21908
|
+
# },
|
21909
|
+
# "TokenTrigram": {
|
21910
|
+
# "name": "TokenTrigram"
|
21911
|
+
# },
|
21912
|
+
# "TokenMecab": {
|
21913
|
+
# "name": "TokenMecab"
|
21914
|
+
# },
|
21915
|
+
# "TokenBigramIgnoreBlankSplitSymbol": {
|
21916
|
+
# "name": "TokenBigramIgnoreBlankSplitSymbol"
|
21917
|
+
# },
|
21918
|
+
# "TokenBigramIgnoreBlank": {
|
21919
|
+
# "name": "TokenBigramIgnoreBlank"
|
21920
|
+
# }
|
21921
|
+
# },
|
21922
|
+
# "plugins": {},
|
21923
|
+
# "types": {
|
21924
|
+
# "UInt64": {
|
21925
|
+
# "can_be_key_type": true,
|
21926
|
+
# "name": "UInt64",
|
21927
|
+
# "can_be_value_type": true,
|
21928
|
+
# "size": 8
|
21929
|
+
# },
|
21930
|
+
# "Int32": {
|
21931
|
+
# "can_be_key_type": true,
|
21932
|
+
# "name": "Int32",
|
21933
|
+
# "can_be_value_type": true,
|
21934
|
+
# "size": 4
|
21935
|
+
# },
|
21936
|
+
# "Int16": {
|
21937
|
+
# "can_be_key_type": true,
|
21938
|
+
# "name": "Int16",
|
21939
|
+
# "can_be_value_type": true,
|
21940
|
+
# "size": 2
|
21941
|
+
# },
|
21942
|
+
# "LongText": {
|
21943
|
+
# "can_be_key_type": false,
|
21944
|
+
# "name": "LongText",
|
21945
|
+
# "can_be_value_type": false,
|
21946
|
+
# "size": 2147483648
|
21947
|
+
# },
|
21948
|
+
# "TokyoGeoPoint": {
|
21949
|
+
# "can_be_key_type": true,
|
21950
|
+
# "name": "TokyoGeoPoint",
|
21951
|
+
# "can_be_value_type": true,
|
21952
|
+
# "size": 8
|
21953
|
+
# },
|
21954
|
+
# "Text": {
|
21955
|
+
# "can_be_key_type": false,
|
21956
|
+
# "name": "Text",
|
21957
|
+
# "can_be_value_type": false,
|
21958
|
+
# "size": 65536
|
21959
|
+
# },
|
21960
|
+
# "ShortText": {
|
21961
|
+
# "can_be_key_type": true,
|
21962
|
+
# "name": "ShortText",
|
21963
|
+
# "can_be_value_type": false,
|
21964
|
+
# "size": 4096
|
21965
|
+
# },
|
21966
|
+
# "Float": {
|
21967
|
+
# "can_be_key_type": true,
|
21968
|
+
# "name": "Float",
|
21969
|
+
# "can_be_value_type": true,
|
21970
|
+
# "size": 8
|
21971
|
+
# },
|
21972
|
+
# "UInt8": {
|
21973
|
+
# "can_be_key_type": true,
|
21974
|
+
# "name": "UInt8",
|
21975
|
+
# "can_be_value_type": true,
|
21976
|
+
# "size": 1
|
21977
|
+
# },
|
21978
|
+
# "UInt32": {
|
21979
|
+
# "can_be_key_type": true,
|
21980
|
+
# "name": "UInt32",
|
21981
|
+
# "can_be_value_type": true,
|
21982
|
+
# "size": 4
|
21983
|
+
# },
|
21984
|
+
# "Object": {
|
21985
|
+
# "can_be_key_type": true,
|
21986
|
+
# "name": "Object",
|
21987
|
+
# "can_be_value_type": true,
|
21988
|
+
# "size": 8
|
21989
|
+
# },
|
21990
|
+
# "UInt16": {
|
21991
|
+
# "can_be_key_type": true,
|
21992
|
+
# "name": "UInt16",
|
21993
|
+
# "can_be_value_type": true,
|
21994
|
+
# "size": 2
|
21995
|
+
# },
|
21996
|
+
# "Int64": {
|
21997
|
+
# "can_be_key_type": true,
|
21998
|
+
# "name": "Int64",
|
21999
|
+
# "can_be_value_type": true,
|
22000
|
+
# "size": 8
|
22001
|
+
# },
|
22002
|
+
# "Time": {
|
22003
|
+
# "can_be_key_type": true,
|
22004
|
+
# "name": "Time",
|
22005
|
+
# "can_be_value_type": true,
|
22006
|
+
# "size": 8
|
22007
|
+
# },
|
22008
|
+
# "Bool": {
|
22009
|
+
# "can_be_key_type": true,
|
22010
|
+
# "name": "Bool",
|
22011
|
+
# "can_be_value_type": true,
|
22012
|
+
# "size": 1
|
22013
|
+
# },
|
22014
|
+
# "WGS84GeoPoint": {
|
22015
|
+
# "can_be_key_type": true,
|
22016
|
+
# "name": "WGS84GeoPoint",
|
22017
|
+
# "can_be_value_type": true,
|
22018
|
+
# "size": 8
|
22019
|
+
# },
|
22020
|
+
# "Int8": {
|
22021
|
+
# "can_be_key_type": true,
|
22022
|
+
# "name": "Int8",
|
22023
|
+
# "can_be_value_type": true,
|
22024
|
+
# "size": 1
|
22025
|
+
# }
|
22026
|
+
# }
|
22027
|
+
# }
|
22028
|
+
# ]
|
22029
|
+
.ft P
|
22030
|
+
.fi
|
22031
|
+
.UNINDENT
|
22032
|
+
.UNINDENT
|
22033
|
+
.SS Parameters
|
22034
|
+
.sp
|
22035
|
+
This section describes all parameters.
|
22036
|
+
.SS Required parameters
|
22037
|
+
.sp
|
22038
|
+
There is no required parameters.
|
22039
|
+
.SS Optional parameters
|
22040
|
+
.sp
|
22041
|
+
There is no optional parameters.
|
22042
|
+
.SS Return value
|
22043
|
+
.sp
|
22044
|
+
\fBschema\fP command returns schema in the database:
|
22045
|
+
.INDENT 0.0
|
22046
|
+
.INDENT 3.5
|
22047
|
+
.sp
|
22048
|
+
.nf
|
22049
|
+
.ft C
|
22050
|
+
[HEADER, SCHEMA]
|
22051
|
+
.ft P
|
22052
|
+
.fi
|
22053
|
+
.UNINDENT
|
22054
|
+
.UNINDENT
|
22055
|
+
.SS \fBHEADER\fP
|
22056
|
+
.sp
|
22057
|
+
See \fB/reference/command/output_format\fP about \fBHEADER\fP\&.
|
22058
|
+
.SS \fBSCHEMA\fP
|
22059
|
+
.sp
|
22060
|
+
\fBSCHEMA\fP is an object that consists of the following information:
|
22061
|
+
.INDENT 0.0
|
22062
|
+
.INDENT 3.5
|
22063
|
+
.sp
|
22064
|
+
.nf
|
22065
|
+
.ft C
|
22066
|
+
{
|
22067
|
+
"plugins": PLUGINS,
|
22068
|
+
"types": TYPES,
|
22069
|
+
"tokenizers": TOKENIZERS,
|
22070
|
+
"normalizers": NORMALIZERS,
|
22071
|
+
"token_filters": TOKEN_FITLERS,
|
22072
|
+
"tables": TABLES
|
22073
|
+
}
|
22074
|
+
.ft P
|
22075
|
+
.fi
|
22076
|
+
.UNINDENT
|
22077
|
+
.UNINDENT
|
22078
|
+
.SS \fBPLUGINS\fP
|
22079
|
+
.sp
|
22080
|
+
\fBPLUGINS\fP is an object. Its key is plugin name and its value is
|
22081
|
+
plugin detail:
|
22082
|
+
.INDENT 0.0
|
22083
|
+
.INDENT 3.5
|
22084
|
+
.sp
|
22085
|
+
.nf
|
22086
|
+
.ft C
|
22087
|
+
{
|
22088
|
+
"PLUGIN_NAME_1": PLUGIN_1,
|
22089
|
+
"PLUGIN_NAME_2": PLUGIN_2,
|
22090
|
+
...
|
22091
|
+
"PLUGIN_NAME_n": PLUGIN_n
|
22092
|
+
}
|
22093
|
+
.ft P
|
22094
|
+
.fi
|
22095
|
+
.UNINDENT
|
22096
|
+
.UNINDENT
|
22097
|
+
.SS \fBPLUGIN\fP
|
22098
|
+
.sp
|
22099
|
+
\fBPLUGIN\fP is an object that describes plugin detail:
|
22100
|
+
.INDENT 0.0
|
22101
|
+
.INDENT 3.5
|
22102
|
+
.sp
|
22103
|
+
.nf
|
22104
|
+
.ft C
|
22105
|
+
{
|
22106
|
+
"name": PLUGIN_NAME
|
22107
|
+
}
|
22108
|
+
.ft P
|
22109
|
+
.fi
|
22110
|
+
.UNINDENT
|
22111
|
+
.UNINDENT
|
22112
|
+
.sp
|
22113
|
+
Here are properties of \fBPLUGIN\fP:
|
22114
|
+
.TS
|
22115
|
+
center;
|
22116
|
+
|l|l|.
|
22117
|
+
_
|
22118
|
+
T{
|
22119
|
+
Name
|
22120
|
+
T} T{
|
22121
|
+
Description
|
22122
|
+
T}
|
22123
|
+
_
|
22124
|
+
T{
|
22125
|
+
\fBname\fP
|
22126
|
+
T} T{
|
22127
|
+
The plugin name. It\(aqs used in \fBplugin_register\fP\&.
|
22128
|
+
T}
|
22129
|
+
_
|
22130
|
+
.TE
|
22131
|
+
.SS \fBTYPES\fP
|
22132
|
+
.sp
|
22133
|
+
\fBTYPES\fP is an object. Its key is type name and its value is
|
22134
|
+
type detail:
|
22135
|
+
.INDENT 0.0
|
22136
|
+
.INDENT 3.5
|
22137
|
+
.sp
|
22138
|
+
.nf
|
22139
|
+
.ft C
|
22140
|
+
{
|
22141
|
+
"TYPE_NAME_1": TYPE_1,
|
22142
|
+
"TYPE_NAME_2": TYPE_2,
|
22143
|
+
...
|
22144
|
+
"TYPE_NAME_n": TYPE_n
|
22145
|
+
}
|
22146
|
+
.ft P
|
22147
|
+
.fi
|
22148
|
+
.UNINDENT
|
22149
|
+
.UNINDENT
|
22150
|
+
.SS \fBTYPE\fP
|
22151
|
+
.sp
|
22152
|
+
\fBTYPE\fP is an object that describes type detail:
|
22153
|
+
.INDENT 0.0
|
22154
|
+
.INDENT 3.5
|
22155
|
+
.sp
|
22156
|
+
.nf
|
22157
|
+
.ft C
|
22158
|
+
{
|
22159
|
+
"name": TYPE_NAME,
|
22160
|
+
"size": SIZE_OF_ONE_VALUE_IN_BYTE,
|
22161
|
+
"can_be_key_type": BOOLEAN,
|
22162
|
+
"can_be_value_type": BOOLEAN
|
22163
|
+
}
|
22164
|
+
.ft P
|
22165
|
+
.fi
|
22166
|
+
.UNINDENT
|
22167
|
+
.UNINDENT
|
22168
|
+
.sp
|
22169
|
+
Here are properties of \fBTYPE\fP:
|
22170
|
+
.TS
|
22171
|
+
center;
|
22172
|
+
|l|l|.
|
22173
|
+
_
|
22174
|
+
T{
|
22175
|
+
Name
|
22176
|
+
T} T{
|
22177
|
+
Description
|
22178
|
+
T}
|
22179
|
+
_
|
22180
|
+
T{
|
22181
|
+
\fBname\fP
|
22182
|
+
T} T{
|
22183
|
+
The type name.
|
22184
|
+
T}
|
22185
|
+
_
|
22186
|
+
T{
|
22187
|
+
\fBsize\fP
|
22188
|
+
T} T{
|
22189
|
+
The number of bytes of one value.
|
22190
|
+
T}
|
22191
|
+
_
|
22192
|
+
T{
|
22193
|
+
\fBcan_be_key_type\fP
|
22194
|
+
T} T{
|
22195
|
+
\fBtrue\fP when the type can be used for table key, \fBfalse\fP
|
22196
|
+
otherwise.
|
22197
|
+
T}
|
22198
|
+
_
|
22199
|
+
T{
|
22200
|
+
\fBcan_be_value_type\fP
|
22201
|
+
T} T{
|
22202
|
+
\fBtrue\fP when the type can be used for table value, \fBfalse\fP
|
22203
|
+
otherwise.
|
22204
|
+
T}
|
22205
|
+
_
|
22206
|
+
.TE
|
22207
|
+
.SS \fBTOKENIZERS\fP
|
22208
|
+
.sp
|
22209
|
+
\fBTOKENIZERS\fP is an object. Its key is tokenizer name and its value
|
22210
|
+
is tokenizer detail:
|
22211
|
+
.INDENT 0.0
|
22212
|
+
.INDENT 3.5
|
22213
|
+
.sp
|
22214
|
+
.nf
|
22215
|
+
.ft C
|
22216
|
+
{
|
22217
|
+
"TOKENIZER_NAME_1": TOKENIZER_1,
|
22218
|
+
"TOKENIZER_NAME_2": TOKENIZER_2,
|
22219
|
+
...
|
22220
|
+
"TOKENIZER_NAME_n": TOKENIZER_n
|
22221
|
+
}
|
22222
|
+
.ft P
|
22223
|
+
.fi
|
22224
|
+
.UNINDENT
|
22225
|
+
.UNINDENT
|
22226
|
+
.SS \fBTOKENIZER\fP
|
22227
|
+
.sp
|
22228
|
+
\fBTOKENIZER\fP is an object that describes tokenizer detail:
|
22229
|
+
.INDENT 0.0
|
22230
|
+
.INDENT 3.5
|
22231
|
+
.sp
|
22232
|
+
.nf
|
22233
|
+
.ft C
|
22234
|
+
{
|
22235
|
+
"name": TOKENIZER_NAME
|
22236
|
+
}
|
22237
|
+
.ft P
|
22238
|
+
.fi
|
22239
|
+
.UNINDENT
|
22240
|
+
.UNINDENT
|
22241
|
+
.sp
|
22242
|
+
Here are properties of \fBTOKENIZER\fP:
|
22243
|
+
.TS
|
22244
|
+
center;
|
22245
|
+
|l|l|.
|
22246
|
+
_
|
22247
|
+
T{
|
22248
|
+
Name
|
22249
|
+
T} T{
|
22250
|
+
Description
|
22251
|
+
T}
|
22252
|
+
_
|
22253
|
+
T{
|
22254
|
+
\fBname\fP
|
22255
|
+
T} T{
|
22256
|
+
The tokenizer name. It\(aqs used for
|
22257
|
+
table\-create\-default\-tokenizer\&.
|
22258
|
+
T}
|
22259
|
+
_
|
22260
|
+
.TE
|
22261
|
+
.SS \fBNORMALIZERS\fP
|
22262
|
+
.sp
|
22263
|
+
\fBNORMALIZERS\fP is an object. Its key is normalizer name and its value
|
22264
|
+
is normalizer detail:
|
22265
|
+
.INDENT 0.0
|
22266
|
+
.INDENT 3.5
|
22267
|
+
.sp
|
22268
|
+
.nf
|
22269
|
+
.ft C
|
22270
|
+
{
|
22271
|
+
"NORMALIZER_NAME_1": NORMALIZER_1,
|
22272
|
+
"NORMALIZER_NAME_2": NORMALIZER_2,
|
22273
|
+
...
|
22274
|
+
"NORMALIZER_NAME_n": NORMALIZER_n
|
22275
|
+
}
|
22276
|
+
.ft P
|
22277
|
+
.fi
|
22278
|
+
.UNINDENT
|
22279
|
+
.UNINDENT
|
22280
|
+
.SS \fBNORMALIZER\fP
|
22281
|
+
.sp
|
22282
|
+
\fBNORMALIZER\fP is an object that describes normalizer detail:
|
22283
|
+
.INDENT 0.0
|
22284
|
+
.INDENT 3.5
|
22285
|
+
.sp
|
22286
|
+
.nf
|
22287
|
+
.ft C
|
22288
|
+
{
|
22289
|
+
"name": NORMALIZER_NAME
|
22290
|
+
}
|
22291
|
+
.ft P
|
22292
|
+
.fi
|
22293
|
+
.UNINDENT
|
22294
|
+
.UNINDENT
|
22295
|
+
.sp
|
22296
|
+
Here are properties of \fBNORMALIZER\fP:
|
22297
|
+
.TS
|
22298
|
+
center;
|
22299
|
+
|l|l|.
|
22300
|
+
_
|
22301
|
+
T{
|
22302
|
+
Name
|
22303
|
+
T} T{
|
22304
|
+
Description
|
22305
|
+
T}
|
22306
|
+
_
|
22307
|
+
T{
|
22308
|
+
\fBname\fP
|
22309
|
+
T} T{
|
22310
|
+
The normalizer name. It\(aqs used for
|
22311
|
+
table\-create\-normalizer\&.
|
22312
|
+
T}
|
22313
|
+
_
|
22314
|
+
.TE
|
22315
|
+
.SS \fBTOKEN_FILTERS\fP
|
22316
|
+
.sp
|
22317
|
+
\fBTOKEN_FILTERS\fP is an object. Its key is token filter name and its value
|
22318
|
+
is token filter detail:
|
22319
|
+
.INDENT 0.0
|
22320
|
+
.INDENT 3.5
|
22321
|
+
.sp
|
22322
|
+
.nf
|
22323
|
+
.ft C
|
22324
|
+
{
|
22325
|
+
"TOKEN_FILTER_NAME_1": TOKEN_FILTER_1,
|
22326
|
+
"TOKEN_FILTER_NAME_2": TOKEN_FILTER_2,
|
22327
|
+
...
|
22328
|
+
"TOKEN_FILTER_NAME_n": TOKEN_FILTER_n
|
22329
|
+
}
|
22330
|
+
.ft P
|
22331
|
+
.fi
|
22332
|
+
.UNINDENT
|
22333
|
+
.UNINDENT
|
22334
|
+
.SS \fBTOKEN_FILTER\fP
|
22335
|
+
.sp
|
22336
|
+
\fBTOKEN_FILTER\fP is an object that describes token filter detail:
|
22337
|
+
.INDENT 0.0
|
22338
|
+
.INDENT 3.5
|
22339
|
+
.sp
|
22340
|
+
.nf
|
22341
|
+
.ft C
|
22342
|
+
{
|
22343
|
+
"name": TOKEN_FILTER_NAME
|
22344
|
+
}
|
22345
|
+
.ft P
|
22346
|
+
.fi
|
22347
|
+
.UNINDENT
|
22348
|
+
.UNINDENT
|
22349
|
+
.sp
|
22350
|
+
Here are properties of \fBTOKEN_FILTER\fP:
|
22351
|
+
.TS
|
22352
|
+
center;
|
22353
|
+
|l|l|.
|
22354
|
+
_
|
22355
|
+
T{
|
22356
|
+
Name
|
22357
|
+
T} T{
|
22358
|
+
Description
|
22359
|
+
T}
|
22360
|
+
_
|
22361
|
+
T{
|
22362
|
+
\fBname\fP
|
22363
|
+
T} T{
|
22364
|
+
The token filter name. It\(aqs used for
|
22365
|
+
table\-create\-token\-filters\&.
|
22366
|
+
T}
|
22367
|
+
_
|
22368
|
+
.TE
|
22369
|
+
.SS \fBTABLES\fP
|
22370
|
+
.sp
|
22371
|
+
\fBTABLES\fP is an object. Its key is table name and its value
|
22372
|
+
is table detail:
|
22373
|
+
.INDENT 0.0
|
22374
|
+
.INDENT 3.5
|
22375
|
+
.sp
|
22376
|
+
.nf
|
22377
|
+
.ft C
|
22378
|
+
{
|
22379
|
+
"TABLE_NAME_1": TABLE_1,
|
22380
|
+
"TABLE_NAME_2": TABLE_2,
|
22381
|
+
...
|
22382
|
+
"TABLE_NAME_n": TABLE_n
|
22383
|
+
}
|
22384
|
+
.ft P
|
22385
|
+
.fi
|
22386
|
+
.UNINDENT
|
22387
|
+
.UNINDENT
|
22388
|
+
.SS \fBTABLE\fP
|
22389
|
+
.sp
|
22390
|
+
\fBTABLE\fP is an object that describes table detail:
|
22391
|
+
.INDENT 0.0
|
22392
|
+
.INDENT 3.5
|
22393
|
+
.sp
|
22394
|
+
.nf
|
22395
|
+
.ft C
|
22396
|
+
{
|
22397
|
+
"name": TABLE_NAME
|
22398
|
+
"type": TYPE,
|
22399
|
+
"key_type": KEY_TYPE,
|
22400
|
+
"value_type": VALUE_TYPE,
|
22401
|
+
"tokenizer": TOKENIZER,
|
22402
|
+
"normalizer": NORMALIZER,
|
22403
|
+
"token_filters": [
|
22404
|
+
TOKEN_FILTER_1,
|
22405
|
+
TOKEN_FILTER_2,
|
22406
|
+
...,
|
22407
|
+
TOKEN_FILTER_n,
|
22408
|
+
],
|
22409
|
+
"indexes": [
|
22410
|
+
INDEX_1,
|
22411
|
+
INDEX_2,
|
22412
|
+
...,
|
22413
|
+
INDEX_n
|
22414
|
+
],
|
22415
|
+
"command": COMMAND,
|
22416
|
+
"columns": {
|
22417
|
+
"COLUMN_NAME_1": COLUMN_1,
|
22418
|
+
"COLUMN_NAME_2": COLUMN_2,
|
22419
|
+
...,
|
22420
|
+
"COLUMN_NAME_3": COLUMN_3,
|
22421
|
+
}
|
22422
|
+
}
|
22423
|
+
.ft P
|
22424
|
+
.fi
|
22425
|
+
.UNINDENT
|
22426
|
+
.UNINDENT
|
22427
|
+
.sp
|
22428
|
+
Here are properties of \fBTABLE\fP:
|
22429
|
+
.TS
|
22430
|
+
center;
|
22431
|
+
|l|l|.
|
22432
|
+
_
|
22433
|
+
T{
|
22434
|
+
Name
|
22435
|
+
T} T{
|
22436
|
+
Description
|
22437
|
+
T}
|
22438
|
+
_
|
22439
|
+
T{
|
22440
|
+
\fBname\fP
|
22441
|
+
T} T{
|
22442
|
+
The table name.
|
22443
|
+
T}
|
22444
|
+
_
|
22445
|
+
T{
|
22446
|
+
\fBtype\fP
|
22447
|
+
T} T{
|
22448
|
+
The table type.
|
22449
|
+
.sp
|
22450
|
+
This is one of the followings:
|
22451
|
+
.INDENT 0.0
|
22452
|
+
.INDENT 3.5
|
22453
|
+
.INDENT 0.0
|
22454
|
+
.IP \(bu 2
|
22455
|
+
\fBarray\fP: table\-no\-key
|
22456
|
+
.IP \(bu 2
|
22457
|
+
\fBhash\fP: table\-hash\-key
|
22458
|
+
.IP \(bu 2
|
22459
|
+
\fBpatricia trie\fP: table\-pat\-key
|
22460
|
+
.IP \(bu 2
|
22461
|
+
\fBdouble array trie\fP: table\-dat\-key
|
22462
|
+
.UNINDENT
|
22463
|
+
.UNINDENT
|
22464
|
+
.UNINDENT
|
22465
|
+
T}
|
22466
|
+
_
|
22467
|
+
T{
|
22468
|
+
\fBkey_type\fP
|
22469
|
+
T} T{
|
22470
|
+
The type of the table\(aqs key.
|
22471
|
+
.sp
|
22472
|
+
If the table type is \fBarray\fP, this is \fBnull\fP\&.
|
22473
|
+
.sp
|
22474
|
+
If the table type isn\(aqt \fBarray\fP, this is an object
|
22475
|
+
that has the following properties:
|
22476
|
+
.INDENT 0.0
|
22477
|
+
.INDENT 3.5
|
22478
|
+
.INDENT 0.0
|
22479
|
+
.IP \(bu 2
|
22480
|
+
\fBname\fP: The type name.
|
22481
|
+
.IP \(bu 2
|
22482
|
+
\fBtype\fP: \fBreference\fP if the type is an table, \fBtype\fP
|
22483
|
+
otherwise.
|
22484
|
+
.UNINDENT
|
22485
|
+
.UNINDENT
|
22486
|
+
.UNINDENT
|
22487
|
+
T}
|
22488
|
+
_
|
22489
|
+
T{
|
22490
|
+
\fBvalue_type\fP
|
22491
|
+
T} T{
|
22492
|
+
The type of the table\(aqs value.
|
22493
|
+
.sp
|
22494
|
+
If the table doesn\(aqt use value, this is \fBnull\fP\&.
|
22495
|
+
.sp
|
22496
|
+
If the table uses value, this is an object that has the
|
22497
|
+
following properties:
|
22498
|
+
.INDENT 0.0
|
22499
|
+
.INDENT 3.5
|
22500
|
+
.INDENT 0.0
|
22501
|
+
.IP \(bu 2
|
22502
|
+
\fBname\fP: The type name.
|
22503
|
+
.IP \(bu 2
|
22504
|
+
\fBtype\fP: \fBreference\fP if the type is an table, \fBtype\fP
|
22505
|
+
otherwise.
|
22506
|
+
.UNINDENT
|
22507
|
+
.UNINDENT
|
22508
|
+
.UNINDENT
|
22509
|
+
T}
|
22510
|
+
_
|
22511
|
+
T{
|
22512
|
+
\fBtokenizer\fP
|
22513
|
+
T} T{
|
22514
|
+
The tokenizer of the table. It\(aqs specified by
|
22515
|
+
table\-create\-default\-tokenizer\&.
|
22516
|
+
.sp
|
22517
|
+
If the table doesn\(aqt use tokenizer, this is \fBnull\fP\&.
|
22518
|
+
.sp
|
22519
|
+
If the table uses tokenizer, this is an object that has the
|
22520
|
+
following properties:
|
22521
|
+
.INDENT 0.0
|
22522
|
+
.INDENT 3.5
|
22523
|
+
.INDENT 0.0
|
22524
|
+
.IP \(bu 2
|
22525
|
+
\fBname\fP: The tokenizer name.
|
22526
|
+
.UNINDENT
|
22527
|
+
.UNINDENT
|
22528
|
+
.UNINDENT
|
22529
|
+
T}
|
22530
|
+
_
|
22531
|
+
T{
|
22532
|
+
\fBnormalizer\fP
|
22533
|
+
T} T{
|
22534
|
+
The normalizer of the table. It\(aqs specified by
|
22535
|
+
table\-create\-normalizer\&.
|
22536
|
+
.sp
|
22537
|
+
If the table doesn\(aqt use normalizer, this is \fBnull\fP\&.
|
22538
|
+
.sp
|
22539
|
+
If the table uses normalizer, this is an object that has the
|
22540
|
+
following properties:
|
22541
|
+
.INDENT 0.0
|
22542
|
+
.INDENT 3.5
|
22543
|
+
.INDENT 0.0
|
22544
|
+
.IP \(bu 2
|
22545
|
+
\fBname\fP: The normalizer name.
|
22546
|
+
.UNINDENT
|
22547
|
+
.UNINDENT
|
22548
|
+
.UNINDENT
|
22549
|
+
T}
|
22550
|
+
_
|
22551
|
+
T{
|
22552
|
+
\fBtoken_filters\fP
|
22553
|
+
T} T{
|
22554
|
+
The token filters of the table. It\(aqs specified by
|
22555
|
+
table\-create\-token\-filters\&.
|
22556
|
+
.sp
|
22557
|
+
This is an array of an object. The object has the following
|
22558
|
+
properties:
|
22559
|
+
.INDENT 0.0
|
22560
|
+
.INDENT 3.5
|
22561
|
+
.INDENT 0.0
|
22562
|
+
.IP \(bu 2
|
22563
|
+
\fBname\fP: The token filter name.
|
22564
|
+
.UNINDENT
|
22565
|
+
.UNINDENT
|
22566
|
+
.UNINDENT
|
22567
|
+
T}
|
22568
|
+
_
|
22569
|
+
T{
|
22570
|
+
\fBindexes\fP
|
22571
|
+
T} T{
|
22572
|
+
The indexes of the table\(aqs key.
|
22573
|
+
.sp
|
22574
|
+
This is an array of \fI\%INDEX\fP\&.
|
22575
|
+
T}
|
22576
|
+
_
|
22577
|
+
T{
|
22578
|
+
\fBcommand\fP
|
22579
|
+
T} T{
|
22580
|
+
The Groonga command information to create the table.
|
22581
|
+
.sp
|
22582
|
+
This is \fI\%COMMAND\fP\&.
|
22583
|
+
T}
|
22584
|
+
_
|
22585
|
+
T{
|
22586
|
+
\fBcolumns\fP
|
22587
|
+
T} T{
|
22588
|
+
The columns of the table.
|
22589
|
+
.sp
|
22590
|
+
This is an object that its key is a column name and its value
|
22591
|
+
is \fI\%COLUMN\fP\&.
|
22592
|
+
T}
|
22593
|
+
_
|
22594
|
+
.TE
|
22595
|
+
.SS \fBINDEX\fP
|
22596
|
+
.sp
|
22597
|
+
\fBINDEX\fP is an object that describes index detail:
|
22598
|
+
.INDENT 0.0
|
22599
|
+
.INDENT 3.5
|
22600
|
+
.sp
|
22601
|
+
.nf
|
22602
|
+
.ft C
|
22603
|
+
{
|
22604
|
+
"full_name": INDEX_COLUMN_NAME_WITH_TABLE_NAME,
|
22605
|
+
"table": TABLE_NAME,
|
22606
|
+
"name": INDEX_COLUMN_NAME,
|
22607
|
+
"section": SECTION
|
22608
|
+
}
|
22609
|
+
.ft P
|
22610
|
+
.fi
|
22611
|
+
.UNINDENT
|
22612
|
+
.UNINDENT
|
22613
|
+
.sp
|
22614
|
+
Here are properties of \fBINDEX\fP:
|
22615
|
+
.TS
|
22616
|
+
center;
|
22617
|
+
|l|l|.
|
22618
|
+
_
|
22619
|
+
T{
|
22620
|
+
Name
|
22621
|
+
T} T{
|
22622
|
+
Description
|
22623
|
+
T}
|
22624
|
+
_
|
22625
|
+
T{
|
22626
|
+
\fBfull_name\fP
|
22627
|
+
T} T{
|
22628
|
+
The index column name with table name.
|
22629
|
+
.sp
|
22630
|
+
For example, \fBTerms.index\fP\&.
|
22631
|
+
T}
|
22632
|
+
_
|
22633
|
+
T{
|
22634
|
+
\fBtable\fP
|
22635
|
+
T} T{
|
22636
|
+
The table name of the index column.
|
22637
|
+
.sp
|
22638
|
+
For example, \fBTerms\fP\&.
|
22639
|
+
T}
|
22640
|
+
_
|
22641
|
+
T{
|
22642
|
+
\fBname\fP
|
22643
|
+
T} T{
|
22644
|
+
The index column name.
|
22645
|
+
.sp
|
22646
|
+
For example, \fBindex\fP\&.
|
22647
|
+
T}
|
22648
|
+
_
|
22649
|
+
T{
|
22650
|
+
\fBsection\fP
|
22651
|
+
T} T{
|
22652
|
+
The section number in the index column for the table\(aqs key.
|
22653
|
+
.sp
|
22654
|
+
If the index column isn\(aqt multiple column index, this is \fB0\fP\&.
|
22655
|
+
T}
|
22656
|
+
_
|
22657
|
+
.TE
|
22658
|
+
.SS \fBCOMMAND\fP
|
22659
|
+
.sp
|
22660
|
+
\fBCOMMAND\fP is an object that describes how to create the table or
|
22661
|
+
column:
|
22662
|
+
.INDENT 0.0
|
22663
|
+
.INDENT 3.5
|
22664
|
+
.sp
|
22665
|
+
.nf
|
22666
|
+
.ft C
|
22667
|
+
{
|
22668
|
+
"name": COMMAND_NAME,
|
22669
|
+
"arguments": {
|
22670
|
+
"KEY_1": "VALUE_1",
|
22671
|
+
"KEY_2": "VALUE_2",
|
22672
|
+
...,
|
22673
|
+
"KEY_n": "VALUE_n"
|
22674
|
+
},
|
22675
|
+
"command_line": COMMAND_LINE
|
22676
|
+
}
|
22677
|
+
.ft P
|
22678
|
+
.fi
|
22679
|
+
.UNINDENT
|
22680
|
+
.UNINDENT
|
22681
|
+
.sp
|
22682
|
+
Here are properties of \fBCOMMAND\fP:
|
22683
|
+
.TS
|
22684
|
+
center;
|
22685
|
+
|l|l|.
|
22686
|
+
_
|
22687
|
+
T{
|
22688
|
+
Name
|
22689
|
+
T} T{
|
22690
|
+
Description
|
22691
|
+
T}
|
22692
|
+
_
|
22693
|
+
T{
|
22694
|
+
\fBname\fP
|
22695
|
+
T} T{
|
22696
|
+
The Groonga command name to create the table or column.
|
22697
|
+
T}
|
22698
|
+
_
|
22699
|
+
T{
|
22700
|
+
\fBarguments\fP
|
22701
|
+
T} T{
|
22702
|
+
The arguments of the Groonga command to create the
|
22703
|
+
table or column.
|
22704
|
+
.sp
|
22705
|
+
This is an object that its key is argument name and its value
|
22706
|
+
is argument value.
|
22707
|
+
T}
|
22708
|
+
_
|
22709
|
+
T{
|
22710
|
+
\fBcommand_line\fP
|
22711
|
+
T} T{
|
22712
|
+
The Groonga command line to create the table or column.
|
22713
|
+
.sp
|
22714
|
+
This is a string that can be evaluated by Groonga.
|
22715
|
+
T}
|
22716
|
+
_
|
22717
|
+
.TE
|
22718
|
+
.SS \fBCOLUMN\fP
|
22719
|
+
.sp
|
22720
|
+
\fBCOLUMN\fP is an object that describes column detail:
|
22721
|
+
.INDENT 0.0
|
22722
|
+
.INDENT 3.5
|
22723
|
+
.sp
|
22724
|
+
.nf
|
22725
|
+
.ft C
|
22726
|
+
{
|
22727
|
+
"name": COLUMN_NAME,
|
22728
|
+
"table": TABLE_NAME,
|
22729
|
+
"full_name": COLUMN_NAME_WITH_TABLE,
|
22730
|
+
"type": TYPE,
|
22731
|
+
"value_type": VALUE_TYPE,
|
22732
|
+
"compress": COMPRESS,
|
22733
|
+
"section": SECTION,
|
22734
|
+
"weight": WEIGHT,
|
22735
|
+
"compress": COMPRESS,
|
22736
|
+
"section": BOOLEAN,
|
22737
|
+
"weight": BOOLEAN,
|
22738
|
+
"position": BOOLEAN,
|
22739
|
+
"sources": [
|
22740
|
+
SOURCE_1,
|
22741
|
+
SOURCE_2,
|
22742
|
+
...,
|
22743
|
+
SOURCE_n
|
22744
|
+
],
|
22745
|
+
"indexes": [
|
22746
|
+
INDEX_1,
|
22747
|
+
INDEX_2,
|
22748
|
+
...,
|
22749
|
+
INDEX_n
|
22750
|
+
],
|
22751
|
+
"command": COMMAND
|
22752
|
+
}
|
22753
|
+
.ft P
|
22754
|
+
.fi
|
22755
|
+
.UNINDENT
|
22756
|
+
.UNINDENT
|
22757
|
+
.sp
|
22758
|
+
Here are properties of \fBCOLUMN\fP:
|
22759
|
+
.TS
|
22760
|
+
center;
|
22761
|
+
|l|l|.
|
22762
|
+
_
|
22763
|
+
T{
|
22764
|
+
Name
|
22765
|
+
T} T{
|
22766
|
+
Description
|
22767
|
+
T}
|
22768
|
+
_
|
22769
|
+
T{
|
22770
|
+
\fBname\fP
|
22771
|
+
T} T{
|
22772
|
+
The column name.
|
22773
|
+
.sp
|
22774
|
+
For example, \fBage\fP\&.
|
22775
|
+
T}
|
22776
|
+
_
|
22777
|
+
T{
|
22778
|
+
\fBtable\fP
|
22779
|
+
T} T{
|
22780
|
+
The table name of the column.
|
22781
|
+
.sp
|
22782
|
+
For example, \fBUsers\fP\&.
|
22783
|
+
T}
|
22784
|
+
_
|
22785
|
+
T{
|
22786
|
+
\fBfull_name\fP
|
22787
|
+
T} T{
|
22788
|
+
The column name with table name.
|
22789
|
+
.sp
|
22790
|
+
For example, \fBUsers.age\fP\&.
|
22791
|
+
T}
|
22792
|
+
_
|
22793
|
+
T{
|
22794
|
+
\fBtype\fP
|
22795
|
+
T} T{
|
22796
|
+
The column type.
|
22797
|
+
.sp
|
22798
|
+
This is one of the followings:
|
22799
|
+
.INDENT 0.0
|
22800
|
+
.INDENT 3.5
|
22801
|
+
.INDENT 0.0
|
22802
|
+
.IP \(bu 2
|
22803
|
+
\fBscalar\fP: \fB/reference/columns/scalar\fP
|
22804
|
+
.IP \(bu 2
|
22805
|
+
\fBvector\fP: \fB/reference/columns/vector\fP
|
22806
|
+
.IP \(bu 2
|
22807
|
+
\fBindex\fP: \fB/reference/columns/index\fP
|
22808
|
+
.UNINDENT
|
22809
|
+
.UNINDENT
|
22810
|
+
.UNINDENT
|
22811
|
+
T}
|
22812
|
+
_
|
22813
|
+
T{
|
22814
|
+
\fBvalue_type\fP
|
22815
|
+
T} T{
|
22816
|
+
The type of the column\(aqs value.
|
22817
|
+
.sp
|
22818
|
+
This is an object that has the following properties:
|
22819
|
+
.INDENT 0.0
|
22820
|
+
.INDENT 3.5
|
22821
|
+
.INDENT 0.0
|
22822
|
+
.IP \(bu 2
|
22823
|
+
\fBname\fP: The type name.
|
22824
|
+
.IP \(bu 2
|
22825
|
+
\fBtype\fP: \fBreference\fP if the type is an table, \fBtype\fP
|
22826
|
+
otherwise.
|
22827
|
+
.UNINDENT
|
22828
|
+
.UNINDENT
|
22829
|
+
.UNINDENT
|
22830
|
+
T}
|
22831
|
+
_
|
22832
|
+
T{
|
22833
|
+
\fBcompress\fP
|
22834
|
+
T} T{
|
22835
|
+
The compression method of the column.
|
22836
|
+
.sp
|
22837
|
+
If the column doesn\(aqt use any compression methods, this is
|
22838
|
+
\fBnull\fP\&.
|
22839
|
+
.sp
|
22840
|
+
If the column uses a compression method, this is one of the
|
22841
|
+
followings:
|
22842
|
+
.INDENT 0.0
|
22843
|
+
.INDENT 3.5
|
22844
|
+
.INDENT 0.0
|
22845
|
+
.IP \(bu 2
|
22846
|
+
\fBzlib\fP: The column uses zlib to compress column value.
|
22847
|
+
.IP \(bu 2
|
22848
|
+
\fBlz4\fP: The column uses LZ4 to compress column value.
|
22849
|
+
.UNINDENT
|
22850
|
+
.UNINDENT
|
22851
|
+
.UNINDENT
|
22852
|
+
T}
|
22853
|
+
_
|
22854
|
+
T{
|
22855
|
+
\fBsection\fP
|
22856
|
+
T} T{
|
22857
|
+
Whether the column can store section information or not.
|
22858
|
+
.sp
|
22859
|
+
\fBtrue\fP if the column is created with \fBWITH_SECTION\fP flag,
|
22860
|
+
\fBfalse\fP otherwise.
|
22861
|
+
.sp
|
22862
|
+
Normally, if the column isn\(aqt an index column, this is \fBfalse\fP\&.
|
22863
|
+
T}
|
22864
|
+
_
|
22865
|
+
T{
|
22866
|
+
\fBweight\fP
|
22867
|
+
T} T{
|
22868
|
+
Whether the column can store weight information or not.
|
22869
|
+
.sp
|
22870
|
+
\fBtrue\fP if the column is created with \fBWITH_WEIGHT\fP flag,
|
22871
|
+
\fBfalse\fP otherwise.
|
22872
|
+
T}
|
22873
|
+
_
|
22874
|
+
T{
|
22875
|
+
\fBposition\fP
|
22876
|
+
T} T{
|
22877
|
+
Whether the column can store position information or not.
|
22878
|
+
.sp
|
22879
|
+
\fBtrue\fP if the column is created with \fBWITH_POSITION\fP flag,
|
22880
|
+
\fBfalse\fP otherwise.
|
22881
|
+
.sp
|
22882
|
+
Normally, if the column isn\(aqt an index column, this is \fBfalse\fP\&.
|
22883
|
+
T}
|
22884
|
+
_
|
22885
|
+
T{
|
22886
|
+
\fBsources\fP
|
22887
|
+
T} T{
|
22888
|
+
The source columns of the index column.
|
22889
|
+
.sp
|
22890
|
+
This is an array of \fI\%SOURCE\fP\&.
|
22891
|
+
.sp
|
22892
|
+
Normally, if the column isn\(aqt an index column, this is an
|
22893
|
+
empty array.
|
22894
|
+
T}
|
22895
|
+
_
|
22896
|
+
T{
|
22897
|
+
\fBindexes\fP
|
22898
|
+
T} T{
|
22899
|
+
The indexes of the column.
|
22900
|
+
.sp
|
22901
|
+
This is an array of \fI\%INDEX\fP\&.
|
22902
|
+
T}
|
22903
|
+
_
|
22904
|
+
T{
|
22905
|
+
\fBcommand\fP
|
22906
|
+
T} T{
|
22907
|
+
The Groonga command information to create the column.
|
22908
|
+
.sp
|
22909
|
+
This is \fI\%COMMAND\fP\&.
|
22910
|
+
T}
|
22911
|
+
_
|
22912
|
+
.TE
|
22913
|
+
.SS \fBSOURCE\fP
|
22914
|
+
.sp
|
22915
|
+
\fBSOURCE\fP is an object that describes source detail:
|
22916
|
+
.INDENT 0.0
|
22917
|
+
.INDENT 3.5
|
22918
|
+
.sp
|
22919
|
+
.nf
|
22920
|
+
.ft C
|
22921
|
+
{
|
22922
|
+
"name": COLUMN_NAME,
|
22923
|
+
"table": TABLE_NAME,
|
22924
|
+
"full_name": COLUMN_NAME_WITH_TABLE_NAME
|
22925
|
+
}
|
22926
|
+
.ft P
|
22927
|
+
.fi
|
22928
|
+
.UNINDENT
|
22929
|
+
.UNINDENT
|
22930
|
+
.sp
|
22931
|
+
Here are properties of \fBSOURCE\fP:
|
22932
|
+
.TS
|
22933
|
+
center;
|
22934
|
+
|l|l|.
|
22935
|
+
_
|
22936
|
+
T{
|
22937
|
+
Name
|
22938
|
+
T} T{
|
22939
|
+
Description
|
22940
|
+
T}
|
22941
|
+
_
|
22942
|
+
T{
|
22943
|
+
\fBname\fP
|
22944
|
+
T} T{
|
22945
|
+
The source column name.
|
22946
|
+
.sp
|
22947
|
+
For example, \fBcontent\fP\&.
|
22948
|
+
.sp
|
22949
|
+
This may be a \fB_key\fP pseudo column.
|
22950
|
+
T}
|
22951
|
+
_
|
22952
|
+
T{
|
22953
|
+
\fBtable\fP
|
22954
|
+
T} T{
|
22955
|
+
The table name of the source column.
|
22956
|
+
.sp
|
22957
|
+
For example, \fBMemos\fP\&.
|
22958
|
+
T}
|
22959
|
+
_
|
22960
|
+
T{
|
22961
|
+
\fBfull_name\fP
|
22962
|
+
T} T{
|
22963
|
+
The source column name with table name.
|
22964
|
+
.sp
|
22965
|
+
For example, \fBMemos.content\fP\&.
|
22966
|
+
T}
|
22967
|
+
_
|
22968
|
+
.TE
|
22969
|
+
.SS See also
|
22970
|
+
.INDENT 0.0
|
22971
|
+
.INDENT 3.5
|
22972
|
+
.INDENT 0.0
|
22973
|
+
.IP \(bu 2
|
22974
|
+
\fBtable_create\fP
|
22975
|
+
.IP \(bu 2
|
22976
|
+
\fBcolumn_create\fP
|
22977
|
+
.UNINDENT
|
22978
|
+
.UNINDENT
|
22979
|
+
.UNINDENT
|
20238
22980
|
.SS \fBselect\fP
|
20239
22981
|
.SS Summary
|
20240
22982
|
.sp
|
@@ -31902,7 +34644,7 @@ Bigram tokenize method isn\(aqt good for precision because you can find
|
|
31902
34644
|
texts that includes query in word. For example, you can find \fBworld\fP
|
31903
34645
|
by \fBor\fP\&. This is more sensitive for ASCII only languages rather than
|
31904
34646
|
non\-ASCII languages. \fBTokenBigram\fP has solution for this problem
|
31905
|
-
described in the
|
34647
|
+
described in the below.
|
31906
34648
|
.sp
|
31907
34649
|
\fBTokenBigram\fP behavior is different when it\(aqs worked with any
|
31908
34650
|
\fB/reference/normalizers\fP\&.
|
@@ -34766,7 +37508,7 @@ operations in \fB/reference/grn_expr/query_syntax\fP\&. You can use
|
|
34766
37508
|
\fB/reference/commands/select\fP\&.
|
34767
37509
|
.sp
|
34768
37510
|
\fB/reference/grn_expr/script_syntax\fP is ECMAScript like
|
34769
|
-
syntax. You can use all condition
|
37511
|
+
syntax. You can use all condition expressions and set operations in
|
34770
37512
|
\fB/reference/grn_expr/script_syntax\fP\&. You can use
|
34771
37513
|
\fB/reference/grn_expr/script_syntax\fP with \fBfilter\fP option and
|
34772
37514
|
\fBscorer\fP option in \fB/reference/commands/select\fP\&.
|
@@ -43302,7 +46044,7 @@ Here are use cases for Groonga\(aqs geolocation search:
|
|
43302
46044
|
.IP \(bu 2
|
43303
46045
|
You list McDonald\(aqs around a station.
|
43304
46046
|
.IP \(bu 2
|
43305
|
-
You list
|
46047
|
+
You list KFC around the current location sort by distance
|
43306
46048
|
from the current location in ascending order with distance.
|
43307
46049
|
.UNINDENT
|
43308
46050
|
.sp
|
@@ -43403,6 +46145,434 @@ Normally, you can get converted results as expected.
|
|
43403
46145
|
.UNINDENT
|
43404
46146
|
.UNINDENT
|
43405
46147
|
.UNINDENT
|
46148
|
+
.SS Configuration
|
46149
|
+
.sp
|
46150
|
+
New in version 5.1.2.
|
46151
|
+
|
46152
|
+
.sp
|
46153
|
+
Groonga can manage configuration items in each database. These
|
46154
|
+
configuration items are persistent. It means that these configuration
|
46155
|
+
items are usable after a Groonga process exits.
|
46156
|
+
.SS Summary
|
46157
|
+
.sp
|
46158
|
+
You can change some Groonga behaviors such as \fB/spec/search\fP by
|
46159
|
+
some ways such as request parameter
|
46160
|
+
(select\-match\-escalation\-threshold) and build parameter
|
46161
|
+
(install\-configure\-with\-match\-escalation\-threshold).
|
46162
|
+
.sp
|
46163
|
+
Configuration is one of these ways. You can change some Groonga
|
46164
|
+
behaviors per database by configuration.
|
46165
|
+
.sp
|
46166
|
+
A configuration item consists of key and value. Both of key and value
|
46167
|
+
are string. The max key size is 4KiB. The max value size is 4091B (=
|
46168
|
+
4KiB \- 5B).
|
46169
|
+
.sp
|
46170
|
+
You can set a configuration item by
|
46171
|
+
\fB/reference/commands/config_set\fP\&.
|
46172
|
+
.sp
|
46173
|
+
You can get a configuration item by
|
46174
|
+
\fB/reference/commands/config_get\fP\&.
|
46175
|
+
.sp
|
46176
|
+
You can delete a configuration item by
|
46177
|
+
\fB/reference/commands/config_delete\fP\&.
|
46178
|
+
.sp
|
46179
|
+
You can confirm all configuration items by
|
46180
|
+
\fB/reference/commands/dump\fP\&.
|
46181
|
+
.SS Commands
|
46182
|
+
.SS Alias
|
46183
|
+
.sp
|
46184
|
+
New in version 5.1.2.
|
46185
|
+
|
46186
|
+
.sp
|
46187
|
+
You can refer a table and column by multiple names by using alias
|
46188
|
+
feature.
|
46189
|
+
.SS Summary
|
46190
|
+
.sp
|
46191
|
+
The alias feature is useful for the following cases:
|
46192
|
+
.INDENT 0.0
|
46193
|
+
.INDENT 3.5
|
46194
|
+
.INDENT 0.0
|
46195
|
+
.IP \(bu 2
|
46196
|
+
You want to rename a table but you can\(aqt change some Groonga
|
46197
|
+
clients that uses the current table name.
|
46198
|
+
.IP \(bu 2
|
46199
|
+
You want to change column type without downtime.
|
46200
|
+
.UNINDENT
|
46201
|
+
.UNINDENT
|
46202
|
+
.UNINDENT
|
46203
|
+
.sp
|
46204
|
+
In the former case, some Groonga clients can use the current table
|
46205
|
+
name after you rename a table. Because the alias feature maps the
|
46206
|
+
current table name to the renamed new table name.
|
46207
|
+
.sp
|
46208
|
+
In the latter case, all Groonga clients access the column by aliased
|
46209
|
+
name such as \fBaliased_column\fP\&. \fBaliased_column\fP refers
|
46210
|
+
\fBcurrent_column\fP\&. You create a new column \fBnew_column\fP with new
|
46211
|
+
type and copy data from \fBcurrent_column\fP by
|
46212
|
+
\fB/reference/commands/column_copy\fP\&. You change \fBaliased_column\fP
|
46213
|
+
to refer \fBnew_column\fP from \fBcurrent_column\fP\&. Now, all Groonga
|
46214
|
+
clients access \fBnew_column\fP by \fBaliased_column\fP without stopping
|
46215
|
+
search requests.
|
46216
|
+
.SS Usage
|
46217
|
+
.sp
|
46218
|
+
You manage alias to real name mapping by a normal table and a normal
|
46219
|
+
column.
|
46220
|
+
.sp
|
46221
|
+
You can use any table type except table\-no\-key for the
|
46222
|
+
table. table\-hash\-key is recommended because exact key match
|
46223
|
+
search is only used for the alias feature. table\-hash\-key is
|
46224
|
+
the fastest table type for exact key match search.
|
46225
|
+
.sp
|
46226
|
+
The column must be \fB/reference/columns/scalar\fP and type is
|
46227
|
+
\fBShortText\fP\&. You can also use \fBText\fP and \fBLongText\fP types but
|
46228
|
+
they are meaningless. Because the max table/column name size is
|
46229
|
+
4KiB. \fBShortText\fP can store 4KiB data.
|
46230
|
+
.sp
|
46231
|
+
Here are example definitions of table and column for managing aliases:
|
46232
|
+
.sp
|
46233
|
+
Execution example:
|
46234
|
+
.INDENT 0.0
|
46235
|
+
.INDENT 3.5
|
46236
|
+
.sp
|
46237
|
+
.nf
|
46238
|
+
.ft C
|
46239
|
+
table_create Aliases TABLE_HASH_KEY ShortText
|
46240
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
46241
|
+
column_create Aliases real_name COLUMN_SCALAR ShortText
|
46242
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
46243
|
+
.ft P
|
46244
|
+
.fi
|
46245
|
+
.UNINDENT
|
46246
|
+
.UNINDENT
|
46247
|
+
.sp
|
46248
|
+
You need to register the table and column by \fBconfiguration\fP\&.
|
46249
|
+
The alias feature uses \fBalias.column\fP configuration item. You can
|
46250
|
+
register the table and column by the following
|
46251
|
+
\fB/reference/commands/config_set\fP:
|
46252
|
+
.sp
|
46253
|
+
Execution example:
|
46254
|
+
.INDENT 0.0
|
46255
|
+
.INDENT 3.5
|
46256
|
+
.sp
|
46257
|
+
.nf
|
46258
|
+
.ft C
|
46259
|
+
config_set alias.column Aliases.real_name
|
46260
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
46261
|
+
.ft P
|
46262
|
+
.fi
|
46263
|
+
.UNINDENT
|
46264
|
+
.UNINDENT
|
46265
|
+
.sp
|
46266
|
+
Here are schema and data to show how to use alias:
|
46267
|
+
.sp
|
46268
|
+
Execution example:
|
46269
|
+
.INDENT 0.0
|
46270
|
+
.INDENT 3.5
|
46271
|
+
.sp
|
46272
|
+
.nf
|
46273
|
+
.ft C
|
46274
|
+
table_create Users TABLE_HASH_KEY ShortText
|
46275
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
46276
|
+
column_create Users age COLUMN_SCALAR UInt8
|
46277
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
46278
|
+
load \-\-table Users
|
46279
|
+
[
|
46280
|
+
{"_key": "alice", "age": 14},
|
46281
|
+
{"_key": "bob", "age": 29}
|
46282
|
+
]
|
46283
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 2]
|
46284
|
+
.ft P
|
46285
|
+
.fi
|
46286
|
+
.UNINDENT
|
46287
|
+
.UNINDENT
|
46288
|
+
.sp
|
46289
|
+
You can use \fBUsers.age\fP in \fB/reference/commands/select\fP:
|
46290
|
+
.sp
|
46291
|
+
Execution example:
|
46292
|
+
.INDENT 0.0
|
46293
|
+
.INDENT 3.5
|
46294
|
+
.sp
|
46295
|
+
.nf
|
46296
|
+
.ft C
|
46297
|
+
select Users \-\-filter \(aqage < 20\(aq
|
46298
|
+
# [
|
46299
|
+
# [
|
46300
|
+
# 0,
|
46301
|
+
# 1337566253.89858,
|
46302
|
+
# 0.000355720520019531
|
46303
|
+
# ],
|
46304
|
+
# [
|
46305
|
+
# [
|
46306
|
+
# [
|
46307
|
+
# 1
|
46308
|
+
# ],
|
46309
|
+
# [
|
46310
|
+
# [
|
46311
|
+
# "_id",
|
46312
|
+
# "UInt32"
|
46313
|
+
# ],
|
46314
|
+
# [
|
46315
|
+
# "_key",
|
46316
|
+
# "ShortText"
|
46317
|
+
# ],
|
46318
|
+
# [
|
46319
|
+
# "age",
|
46320
|
+
# "UInt8"
|
46321
|
+
# ]
|
46322
|
+
# ],
|
46323
|
+
# [
|
46324
|
+
# 1,
|
46325
|
+
# "alice",
|
46326
|
+
# 14
|
46327
|
+
# ]
|
46328
|
+
# ]
|
46329
|
+
# ]
|
46330
|
+
# ]
|
46331
|
+
.ft P
|
46332
|
+
.fi
|
46333
|
+
.UNINDENT
|
46334
|
+
.UNINDENT
|
46335
|
+
.sp
|
46336
|
+
You can\(aqt use \fBUsers.age\fP when you rename \fBUsers.age\fP to
|
46337
|
+
\fBUsers.years\fP by \fB/reference/commands/column_rename\fP:
|
46338
|
+
.sp
|
46339
|
+
Execution example:
|
46340
|
+
.INDENT 0.0
|
46341
|
+
.INDENT 3.5
|
46342
|
+
.sp
|
46343
|
+
.nf
|
46344
|
+
.ft C
|
46345
|
+
column_rename Users age years
|
46346
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
46347
|
+
select Users \-\-filter \(aqage < 20\(aq
|
46348
|
+
# [
|
46349
|
+
# [
|
46350
|
+
# \-63,
|
46351
|
+
# 1337566253.89858,
|
46352
|
+
# 0.000355720520019531,
|
46353
|
+
# "Syntax error: <age| |< 20>",
|
46354
|
+
# [
|
46355
|
+
# [
|
46356
|
+
# "yy_syntax_error",
|
46357
|
+
# "grn_ecmascript.lemon",
|
46358
|
+
# 34
|
46359
|
+
# ]
|
46360
|
+
# ]
|
46361
|
+
# ],
|
46362
|
+
# []
|
46363
|
+
# ]
|
46364
|
+
.ft P
|
46365
|
+
.fi
|
46366
|
+
.UNINDENT
|
46367
|
+
.UNINDENT
|
46368
|
+
.sp
|
46369
|
+
But you can use \fBUsers.age\fP by registering \fBUsers.age\fP to
|
46370
|
+
\fBUsers.years\fP mapping to \fBAliases\fP\&.
|
46371
|
+
.sp
|
46372
|
+
Execution example:
|
46373
|
+
.INDENT 0.0
|
46374
|
+
.INDENT 3.5
|
46375
|
+
.sp
|
46376
|
+
.nf
|
46377
|
+
.ft C
|
46378
|
+
load \-\-table Aliases
|
46379
|
+
[
|
46380
|
+
{"_key": "Users.age", "real_name": "Users.years"}
|
46381
|
+
]
|
46382
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 1]
|
46383
|
+
select Users \-\-filter \(aqage < 20\(aq
|
46384
|
+
# [
|
46385
|
+
# [
|
46386
|
+
# 0,
|
46387
|
+
# 1337566253.89858,
|
46388
|
+
# 0.000355720520019531
|
46389
|
+
# ],
|
46390
|
+
# [
|
46391
|
+
# [
|
46392
|
+
# [
|
46393
|
+
# 1
|
46394
|
+
# ],
|
46395
|
+
# [
|
46396
|
+
# [
|
46397
|
+
# "_id",
|
46398
|
+
# "UInt32"
|
46399
|
+
# ],
|
46400
|
+
# [
|
46401
|
+
# "_key",
|
46402
|
+
# "ShortText"
|
46403
|
+
# ],
|
46404
|
+
# [
|
46405
|
+
# "years",
|
46406
|
+
# "UInt8"
|
46407
|
+
# ]
|
46408
|
+
# ],
|
46409
|
+
# [
|
46410
|
+
# 1,
|
46411
|
+
# "alice",
|
46412
|
+
# 14
|
46413
|
+
# ]
|
46414
|
+
# ]
|
46415
|
+
# ]
|
46416
|
+
# ]
|
46417
|
+
.ft P
|
46418
|
+
.fi
|
46419
|
+
.UNINDENT
|
46420
|
+
.UNINDENT
|
46421
|
+
.sp
|
46422
|
+
Now, you can use \fBUsers.age\fP as alias of \fBUsers.years\fP\&.
|
46423
|
+
.SS How to resolve alias
|
46424
|
+
.sp
|
46425
|
+
This section describes how to resolve alias.
|
46426
|
+
.sp
|
46427
|
+
Groonga uses the alias feature when nonexistent object name (table
|
46428
|
+
name, column name, command name, function name and so on) is
|
46429
|
+
referred. It means that you can\(aqt override existing object (table,
|
46430
|
+
column, command, function and so on) by the alias feature.
|
46431
|
+
.sp
|
46432
|
+
For example, alias isn\(aqt resolved in the following example because
|
46433
|
+
\fBUsers.years\fP exists:
|
46434
|
+
.sp
|
46435
|
+
Execution example:
|
46436
|
+
.INDENT 0.0
|
46437
|
+
.INDENT 3.5
|
46438
|
+
.sp
|
46439
|
+
.nf
|
46440
|
+
.ft C
|
46441
|
+
column_rename Users years years_old
|
46442
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
46443
|
+
select Users \-\-filter \(aqage < 20\(aq
|
46444
|
+
# [
|
46445
|
+
# [
|
46446
|
+
# 0,
|
46447
|
+
# 1337566253.89858,
|
46448
|
+
# 0.000355720520019531
|
46449
|
+
# ],
|
46450
|
+
# [
|
46451
|
+
# [
|
46452
|
+
# [
|
46453
|
+
# 1
|
46454
|
+
# ],
|
46455
|
+
# [
|
46456
|
+
# [
|
46457
|
+
# "_id",
|
46458
|
+
# "UInt32"
|
46459
|
+
# ],
|
46460
|
+
# [
|
46461
|
+
# "_key",
|
46462
|
+
# "ShortText"
|
46463
|
+
# ],
|
46464
|
+
# [
|
46465
|
+
# "years_old",
|
46466
|
+
# "UInt8"
|
46467
|
+
# ]
|
46468
|
+
# ],
|
46469
|
+
# [
|
46470
|
+
# 1,
|
46471
|
+
# "alice",
|
46472
|
+
# 14
|
46473
|
+
# ]
|
46474
|
+
# ]
|
46475
|
+
# ]
|
46476
|
+
# ]
|
46477
|
+
.ft P
|
46478
|
+
.fi
|
46479
|
+
.UNINDENT
|
46480
|
+
.UNINDENT
|
46481
|
+
.sp
|
46482
|
+
Alias is resolved recursively. If you rename \fBUsers.years\fP to
|
46483
|
+
\fBUsers.years_old\fP and you refer \fBUsers.age\fP, Groonga replaces
|
46484
|
+
\fBUsers.age\fP with \fBUsers.years\fP and then \fBUsers.years\fP with
|
46485
|
+
\fBUsers.years_old\fP\&. Because \fBAliases\fP table has the following
|
46486
|
+
records:
|
46487
|
+
.TS
|
46488
|
+
center;
|
46489
|
+
|l|l|.
|
46490
|
+
_
|
46491
|
+
T{
|
46492
|
+
\fB_key\fP
|
46493
|
+
T} T{
|
46494
|
+
\fBreal_name\fP
|
46495
|
+
T}
|
46496
|
+
_
|
46497
|
+
T{
|
46498
|
+
\fBUsers.age\fP
|
46499
|
+
T} T{
|
46500
|
+
\fBUsers.years\fP
|
46501
|
+
T}
|
46502
|
+
_
|
46503
|
+
T{
|
46504
|
+
\fBUsers.years\fP
|
46505
|
+
T} T{
|
46506
|
+
\fBUsers.years_old\fP
|
46507
|
+
T}
|
46508
|
+
_
|
46509
|
+
.TE
|
46510
|
+
.sp
|
46511
|
+
Here is an example to \fBUsers.age\fP is resolved recursively:
|
46512
|
+
.sp
|
46513
|
+
Execution example:
|
46514
|
+
.INDENT 0.0
|
46515
|
+
.INDENT 3.5
|
46516
|
+
.sp
|
46517
|
+
.nf
|
46518
|
+
.ft C
|
46519
|
+
column_rename Users years years_old
|
46520
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
46521
|
+
select Users \-\-filter \(aqage < 20\(aq
|
46522
|
+
# [
|
46523
|
+
# [
|
46524
|
+
# 0,
|
46525
|
+
# 1337566253.89858,
|
46526
|
+
# 0.000355720520019531
|
46527
|
+
# ],
|
46528
|
+
# [
|
46529
|
+
# [
|
46530
|
+
# [
|
46531
|
+
# 1
|
46532
|
+
# ],
|
46533
|
+
# [
|
46534
|
+
# [
|
46535
|
+
# "_id",
|
46536
|
+
# "UInt32"
|
46537
|
+
# ],
|
46538
|
+
# [
|
46539
|
+
# "_key",
|
46540
|
+
# "ShortText"
|
46541
|
+
# ],
|
46542
|
+
# [
|
46543
|
+
# "years_old",
|
46544
|
+
# "UInt8"
|
46545
|
+
# ]
|
46546
|
+
# ],
|
46547
|
+
# [
|
46548
|
+
# 1,
|
46549
|
+
# "alice",
|
46550
|
+
# 14
|
46551
|
+
# ]
|
46552
|
+
# ]
|
46553
|
+
# ]
|
46554
|
+
# ]
|
46555
|
+
.ft P
|
46556
|
+
.fi
|
46557
|
+
.UNINDENT
|
46558
|
+
.UNINDENT
|
46559
|
+
.SS See also
|
46560
|
+
.INDENT 0.0
|
46561
|
+
.INDENT 3.5
|
46562
|
+
.INDENT 0.0
|
46563
|
+
.IP \(bu 2
|
46564
|
+
\fB/reference/configuration\fP
|
46565
|
+
.IP \(bu 2
|
46566
|
+
\fB/reference/commands/config_set\fP
|
46567
|
+
.IP \(bu 2
|
46568
|
+
\fB/reference/commands/table_create\fP
|
46569
|
+
.IP \(bu 2
|
46570
|
+
\fB/reference/commands/column_create\fP
|
46571
|
+
.IP \(bu 2
|
46572
|
+
\fB/reference/commands/select\fP
|
46573
|
+
.UNINDENT
|
46574
|
+
.UNINDENT
|
46575
|
+
.UNINDENT
|
43406
46576
|
.SS Suggest
|
43407
46577
|
.sp
|
43408
46578
|
Groonga has the suggest feature. This section describes how to use it and how it works.
|
@@ -46367,7 +49537,7 @@ Groonga. If you don\(aqt have MessagePack library, you can\(aqt use this type.
|
|
46367
49537
|
.SS Summary
|
46368
49538
|
.sp
|
46369
49539
|
\fI\%grn_ctx\fP is the most important object. \fI\%grn_ctx\fP
|
46370
|
-
keeps the current
|
49540
|
+
keeps the current information such as:
|
46371
49541
|
.INDENT 0.0
|
46372
49542
|
.IP \(bu 2
|
46373
49543
|
The last occurred error.
|
@@ -47211,7 +50381,7 @@ It estimates number of records in the rectangle specified by top_left_point para
|
|
47211
50381
|
.INDENT 0.0
|
47212
50382
|
.TP
|
47213
50383
|
.B grn_obj *grn_geo_cursor_open_in_rectangle(grn_ctx\fI\ *ctx\fP, grn_obj\fI\ *index\fP, grn_obj\fI\ *top_left_point\fP, grn_obj\fI\ *bottom_right_point\fP, int\fI\ offset\fP, int\fI\ limit\fP)
|
47214
|
-
It opens a cursor to get records in the rectangle
|
50384
|
+
It opens a cursor to get records in the rectangle specified by top_left_point parameter and bottom_right_point parameter.
|
47215
50385
|
.INDENT 7.0
|
47216
50386
|
.TP
|
47217
50387
|
.B Parameters
|
@@ -51600,7 +54770,7 @@ rpmパッケージのビルドに必要なパッケージをダウンロード
|
|
51600
54770
|
.sp
|
51601
54771
|
これにより、GroongaやMySQLのRPM/SRPMパッケージなどがカレントディレクトリ以下へとダウンロードされます。
|
51602
54772
|
.sp
|
51603
|
-
|
54773
|
+
Windowsパッケージのビルドに必要なパッケージをダウンロードするには以下のコマンドを実行します。:
|
51604
54774
|
.INDENT 0.0
|
51605
54775
|
.INDENT 3.5
|
51606
54776
|
.sp
|
@@ -52437,6 +55607,6 @@ search
|
|
52437
55607
|
.SH AUTHOR
|
52438
55608
|
Groonga Project
|
52439
55609
|
.SH COPYRIGHT
|
52440
|
-
2009-
|
55610
|
+
2009-2016, Brazil, Inc
|
52441
55611
|
.\" Generated by docutils manpage writer.
|
52442
55612
|
.
|