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,4 +1,4 @@
|
|
1
|
-
Copyright (c)
|
1
|
+
Copyright (c) 2016 mruby developers
|
2
2
|
|
3
3
|
Permission is hereby granted, free of charge, to any person obtaining a
|
4
4
|
copy of this software and associated documentation files (the "Software"),
|
@@ -24,113 +24,113 @@ Due to the reason that you choosed additional mruby packages (GEMS),
|
|
24
24
|
please check the following additional licenses too:
|
25
25
|
|
26
26
|
GEM: mruby-compiler
|
27
|
-
Copyright (c)
|
27
|
+
Copyright (c) 2016 mruby developers
|
28
28
|
License: MIT
|
29
29
|
|
30
30
|
GEM: mruby-sprintf
|
31
|
-
Copyright (c)
|
31
|
+
Copyright (c) 2016 mruby developers
|
32
32
|
License: MIT
|
33
33
|
|
34
34
|
GEM: mruby-print
|
35
|
-
Copyright (c)
|
35
|
+
Copyright (c) 2016 mruby developers
|
36
36
|
License: MIT
|
37
37
|
|
38
38
|
GEM: mruby-math
|
39
|
-
Copyright (c)
|
39
|
+
Copyright (c) 2016 mruby developers
|
40
40
|
License: MIT
|
41
41
|
|
42
42
|
GEM: mruby-time
|
43
|
-
Copyright (c)
|
43
|
+
Copyright (c) 2016 mruby developers
|
44
44
|
License: MIT
|
45
45
|
|
46
46
|
GEM: mruby-struct
|
47
|
-
Copyright (c)
|
47
|
+
Copyright (c) 2016 mruby developers
|
48
48
|
License: MIT
|
49
49
|
|
50
50
|
GEM: mruby-enum-ext
|
51
|
-
Copyright (c)
|
51
|
+
Copyright (c) 2016 mruby developers
|
52
52
|
License: MIT
|
53
53
|
|
54
54
|
GEM: mruby-string-ext
|
55
|
-
Copyright (c)
|
55
|
+
Copyright (c) 2016 mruby developers
|
56
56
|
License: MIT
|
57
57
|
|
58
58
|
GEM: mruby-numeric-ext
|
59
|
-
Copyright (c)
|
59
|
+
Copyright (c) 2016 mruby developers
|
60
60
|
License: MIT
|
61
61
|
|
62
62
|
GEM: mruby-array-ext
|
63
|
-
Copyright (c)
|
63
|
+
Copyright (c) 2016 mruby developers
|
64
64
|
License: MIT
|
65
65
|
|
66
66
|
GEM: mruby-hash-ext
|
67
|
-
Copyright (c)
|
67
|
+
Copyright (c) 2016 mruby developers
|
68
68
|
License: MIT
|
69
69
|
|
70
70
|
GEM: mruby-range-ext
|
71
|
-
Copyright (c)
|
71
|
+
Copyright (c) 2016 mruby developers
|
72
72
|
License: MIT
|
73
73
|
|
74
74
|
GEM: mruby-proc-ext
|
75
|
-
Copyright (c)
|
75
|
+
Copyright (c) 2016 mruby developers
|
76
76
|
License: MIT
|
77
77
|
|
78
78
|
GEM: mruby-symbol-ext
|
79
|
-
Copyright (c)
|
79
|
+
Copyright (c) 2016 mruby developers
|
80
80
|
License: MIT
|
81
81
|
|
82
82
|
GEM: mruby-random
|
83
|
-
Copyright (c)
|
83
|
+
Copyright (c) 2016 mruby developers
|
84
84
|
License: MIT
|
85
85
|
|
86
86
|
GEM: mruby-object-ext
|
87
|
-
Copyright (c)
|
87
|
+
Copyright (c) 2016 mruby developers
|
88
88
|
License: MIT
|
89
89
|
|
90
90
|
GEM: mruby-objectspace
|
91
|
-
Copyright (c)
|
91
|
+
Copyright (c) 2016 mruby developers
|
92
92
|
License: MIT
|
93
93
|
|
94
94
|
GEM: mruby-fiber
|
95
|
-
Copyright (c)
|
95
|
+
Copyright (c) 2016 mruby developers
|
96
96
|
License: MIT
|
97
97
|
|
98
98
|
GEM: mruby-enumerator
|
99
|
-
Copyright (c)
|
99
|
+
Copyright (c) 2016 mruby developers
|
100
100
|
License: MIT
|
101
101
|
|
102
102
|
GEM: mruby-enum-lazy
|
103
|
-
Copyright (c)
|
103
|
+
Copyright (c) 2016 mruby developers
|
104
104
|
License: MIT
|
105
105
|
|
106
106
|
GEM: mruby-toplevel-ext
|
107
|
-
Copyright (c)
|
107
|
+
Copyright (c) 2016 mruby developers
|
108
108
|
License: MIT
|
109
109
|
|
110
110
|
GEM: mruby-kernel-ext
|
111
|
-
Copyright (c)
|
111
|
+
Copyright (c) 2016 mruby developers
|
112
112
|
License: MIT
|
113
113
|
|
114
114
|
GEM: mruby-onig-regexp
|
115
|
-
Copyright (c)
|
115
|
+
Copyright (c) 2016 mattn
|
116
116
|
License: MIT
|
117
117
|
|
118
118
|
GEM: mruby-env
|
119
|
-
Copyright (c)
|
119
|
+
Copyright (c) 2016 Internet Initiative Japan Inc.
|
120
120
|
License: MIT
|
121
121
|
|
122
122
|
GEM: mruby-io
|
123
|
-
Copyright (c)
|
123
|
+
Copyright (c) 2016 Internet Initiative Japan Inc.
|
124
124
|
License: MIT
|
125
125
|
|
126
126
|
GEM: mruby-pp
|
127
|
-
Copyright (c)
|
127
|
+
Copyright (c) 2016 Kouhei Sutou, Tanaka Akira
|
128
128
|
License: BSD-2-Clause
|
129
129
|
|
130
130
|
GEM: mruby-slop
|
131
|
-
Copyright (c)
|
131
|
+
Copyright (c) 2016 Kouhei Sutou, Lee Jarvis
|
132
132
|
License: MIT
|
133
133
|
|
134
134
|
GEM: mruby-bin-mrbc
|
135
|
-
Copyright (c)
|
135
|
+
Copyright (c) 2016 mruby developers
|
136
136
|
License: MIT
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Original Authors "mruby developers" are:
|
2
2
|
Yukihiro Matsumoto
|
3
|
-
|
3
|
+
SCSK KYUSHU CORPORATION
|
4
4
|
Kyushu Institute of Technology
|
5
5
|
Network Applied Communication Laboratory, Inc.
|
6
6
|
Daniel Bovensiepen
|
@@ -32,3 +32,5 @@ Original Authors "mruby developers" are:
|
|
32
32
|
Manycolors, Inc.
|
33
33
|
Shota Nakano
|
34
34
|
Yuichi Osawa
|
35
|
+
Terence Lee
|
36
|
+
Zachary Scott
|
@@ -1,9 +1,9 @@
|
|
1
1
|
[![Build Status][build-status-img]][travis-ci]
|
2
2
|
|
3
|
-
## What
|
3
|
+
## What is mruby
|
4
4
|
|
5
5
|
mruby is the lightweight implementation of the Ruby language complying to (part
|
6
|
-
of) the [ISO standard][ISO-standard].
|
6
|
+
of) the [ISO standard][ISO-standard]. Its syntax is Ruby 1.9 compatible.
|
7
7
|
|
8
8
|
mruby can be linked and embedded within your application. We provide the
|
9
9
|
interpreter program "mruby" and the interactive mruby shell "mirb" as examples.
|
@@ -15,39 +15,30 @@ program under the "test" directory for an example.
|
|
15
15
|
This achievement was sponsored by the Regional Innovation Creation R&D Programs
|
16
16
|
of the Ministry of Economy, Trade and Industry of Japan.
|
17
17
|
|
18
|
-
|
19
18
|
## How to get mruby
|
20
19
|
|
21
|
-
The stable version 1.
|
22
|
-
|
23
|
-
https://github.com/mruby/mruby/archive/1.1.0.zip
|
20
|
+
The stable version 1.2.0 of mruby can be downloaded via the following URL: [https://github.com/mruby/mruby/archive/1.2.0.zip](https://github.com/mruby/mruby/archive/1.2.0.zip)
|
24
21
|
|
25
|
-
The latest development version of mruby can be downloaded via the following URL:
|
26
|
-
|
27
|
-
https://github.com/mruby/mruby/zipball/master
|
22
|
+
The latest development version of mruby can be downloaded via the following URL: [https://github.com/mruby/mruby/zipball/master](https://github.com/mruby/mruby/zipball/master)
|
28
23
|
|
29
24
|
The trunk of the mruby source tree can be checked out with the
|
30
25
|
following command:
|
31
26
|
|
32
27
|
$ git clone https://github.com/mruby/mruby.git
|
33
28
|
|
29
|
+
You can also install and compile mruby using [ruby-install](https://github.com/postmodern/ruby-install), [ruby-build](https://github.com/rbenv/ruby-build) or [rvm](https://github.com/rvm/rvm).
|
34
30
|
|
35
31
|
## mruby home-page
|
36
32
|
|
37
|
-
The URL of the mruby home-page is:
|
38
|
-
|
39
|
-
http://www.mruby.org/
|
40
|
-
|
33
|
+
The URL of the mruby home-page is: [http://www.mruby.org](http://www.mruby.org).
|
41
34
|
|
42
35
|
## Mailing list
|
43
36
|
|
44
|
-
We don't have mailing list, use GitHub
|
45
|
-
|
37
|
+
We don't have a mailing list, but you can use [GitHub issues](https://github.com/mruby/mruby).
|
46
38
|
|
47
39
|
## How to compile and install (mruby and gems)
|
48
40
|
|
49
|
-
See the [doc/compile
|
50
|
-
|
41
|
+
See the [doc/guides/compile.md](doc/guides/compile.md) file.
|
51
42
|
|
52
43
|
## Running Tests
|
53
44
|
|
@@ -59,37 +50,16 @@ Or
|
|
59
50
|
|
60
51
|
$ ruby ./minirake test
|
61
52
|
|
62
|
-
|
63
53
|
## How to customize mruby (mrbgems)
|
64
54
|
|
65
55
|
mruby contains a package manager called *mrbgems*. To create extensions
|
66
56
|
in C and/or Ruby you should create a *GEM*. For a documentation of how to
|
67
|
-
use mrbgems consult the file [doc/mrbgems
|
57
|
+
use mrbgems consult the file [doc/guides/mrbgems.md](doc/guides/mrbgems.md). For example code of
|
68
58
|
how to use mrbgems look into the folder *examples/mrbgems/*.
|
69
59
|
|
70
|
-
|
71
60
|
## License
|
72
61
|
|
73
|
-
|
74
|
-
|
75
|
-
Permission is hereby granted, free of charge, to any person obtaining a
|
76
|
-
copy of this software and associated documentation files (the "Software"),
|
77
|
-
to deal in the Software without restriction, including without limitation
|
78
|
-
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
79
|
-
and/or sell copies of the Software, and to permit persons to whom the
|
80
|
-
Software is furnished to do so, subject to the following conditions:
|
81
|
-
|
82
|
-
The above copyright notice and this permission notice shall be included in
|
83
|
-
all copies or substantial portions of the Software.
|
84
|
-
|
85
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
86
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
87
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
88
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
89
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
90
|
-
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
91
|
-
DEALINGS IN THE SOFTWARE.
|
92
|
-
|
62
|
+
mruby is released under the [MIT License](MITL).
|
93
63
|
|
94
64
|
## Note for License
|
95
65
|
|
@@ -108,17 +78,15 @@ file.)
|
|
108
78
|
|
109
79
|
Please ask us if you want to distribute your code under another license.
|
110
80
|
|
111
|
-
|
112
81
|
## How to Contribute
|
113
82
|
|
114
|
-
See the [contribution guidelines][contribution-guidelines] then send a pull
|
83
|
+
See the [contribution guidelines][contribution-guidelines], and then send a pull
|
115
84
|
request to <http://github.com/mruby/mruby>. We consider you have granted
|
116
85
|
non-exclusive right to your contributed code under MIT license. If you want to
|
117
86
|
be named as one of mruby developers, please include an update to the AUTHORS
|
118
87
|
file in your pull request.
|
119
88
|
|
120
89
|
[ISO-standard]: http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=59579
|
121
|
-
[build-status-img]: https://travis-ci.org/mruby/mruby.
|
122
|
-
[contribution-guidelines]:
|
90
|
+
[build-status-img]: https://travis-ci.org/mruby/mruby.svg?branch=master
|
91
|
+
[contribution-guidelines]: CONTRIBUTING.md
|
123
92
|
[travis-ci]: https://travis-ci.org/mruby/mruby
|
124
|
-
|
@@ -1,14 +1,5 @@
|
|
1
|
-
Copyright (C) 2008-
|
2
|
-
|
3
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
you may not use this file except in compliance with the License.
|
5
|
-
You may obtain a copy of the License at
|
6
|
-
|
7
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
|
9
|
-
Unless required by applicable law or agreed to in writing, software
|
10
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
See the License for the specific language governing permissions and
|
13
|
-
limitations under the License.
|
1
|
+
Copyright (C) 2008-2015 FURUHASHI Sadayuki
|
14
2
|
|
3
|
+
Distributed under the Boost Software License, Version 1.0.
|
4
|
+
(See accompanying file LICENSE_1_0.txt or copy at
|
5
|
+
http://www.boost.org/LICENSE_1_0.txt)
|
@@ -0,0 +1,23 @@
|
|
1
|
+
Boost Software License - Version 1.0 - August 17th, 2003
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person or organization
|
4
|
+
obtaining a copy of the software and accompanying documentation covered by
|
5
|
+
this license (the "Software") to use, reproduce, display, distribute,
|
6
|
+
execute, and transmit the Software, and to prepare derivative works of the
|
7
|
+
Software, and to permit third-parties to whom the Software is furnished to
|
8
|
+
do so, all subject to the following:
|
9
|
+
|
10
|
+
The copyright notices in the Software and this entire statement, including
|
11
|
+
the above license grant, this restriction and the following disclaimer,
|
12
|
+
must be included in all copies of the Software, in whole or in part, and
|
13
|
+
all derivative works of the Software, unless such copies or derivative
|
14
|
+
works are solely in the form of machine-executable object code generated by
|
15
|
+
a source language processor.
|
16
|
+
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
|
20
|
+
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
|
21
|
+
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
|
22
|
+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
23
|
+
DEALINGS IN THE SOFTWARE.
|
@@ -0,0 +1,14 @@
|
|
1
|
+
This product bundles Boost Predef and Boost Preprocessor.
|
2
|
+
They are distributed under the Boost Software License, Version 1.0.
|
3
|
+
(See accompanying file LICENSE_1_0.txt or copy at
|
4
|
+
http://www.boost.org/LICENSE_1_0.txt)
|
5
|
+
|
6
|
+
For details, see the following files:
|
7
|
+
|
8
|
+
external/boost/predef
|
9
|
+
include/msgpack/predef.h
|
10
|
+
include/msgpack/predef/*
|
11
|
+
|
12
|
+
external/boost/preprocessor
|
13
|
+
include/msgpack/preprocessor.hpp
|
14
|
+
include/msgpack/preprocessor/*
|
@@ -1,7 +1,7 @@
|
|
1
1
|
`msgpack` for C/C++
|
2
2
|
===================
|
3
3
|
|
4
|
-
Version 1.0
|
4
|
+
Version 1.3.0 [![Build Status](https://travis-ci.org/msgpack/msgpack-c.svg?branch=master)](https://travis-ci.org/msgpack/msgpack-c) [![Build status](https://ci.appveyor.com/api/projects/status/8kstcgt79qj123mw/branch/master?svg=true)](https://ci.appveyor.com/project/redboltz/msgpack-c/branch/master)
|
5
5
|
|
6
6
|
It's like JSON but small and fast.
|
7
7
|
|
@@ -201,7 +201,7 @@ the binaries:' text box.
|
|
201
201
|
### Documentation
|
202
202
|
|
203
203
|
You can get addtional information on the
|
204
|
-
[wiki](https://github.com/msgpack/msgpack-c/wiki
|
204
|
+
[wiki](https://github.com/msgpack/msgpack-c/wiki).
|
205
205
|
|
206
206
|
Contributing
|
207
207
|
------------
|
@@ -215,5 +215,5 @@ Here's the list of [great contributors](https://github.com/msgpack/msgpack-c/gra
|
|
215
215
|
License
|
216
216
|
-------
|
217
217
|
|
218
|
-
`msgpack-c` is licensed under the
|
219
|
-
the [`
|
218
|
+
`msgpack-c` is licensed under the Boost Software License, Version 1.0. See
|
219
|
+
the [`LICENSE_1_0.txt`](./LICENSE_1_0.txt) file for details.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" Man page generated from reStructuredText.
|
2
2
|
.
|
3
|
-
.TH "GROONGA" "1" "
|
3
|
+
.TH "GROONGA" "1" "2016 年 02 月 27 日" "6.0.0" "Groonga"
|
4
4
|
.SH NAME
|
5
5
|
groonga \- Groonga documentation
|
6
6
|
.
|
@@ -97,7 +97,7 @@ Groonga は独自のカラムストアを持つ列指向のデータベースと
|
|
97
97
|
.INDENT 3.5
|
98
98
|
.INDENT 0.0
|
99
99
|
.IP \(bu 2
|
100
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-
|
100
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-6.0.0\-x86.exe\fP
|
101
101
|
.UNINDENT
|
102
102
|
.UNINDENT
|
103
103
|
.UNINDENT
|
@@ -109,7 +109,7 @@ Groonga は独自のカラムストアを持つ列指向のデータベースと
|
|
109
109
|
.INDENT 3.5
|
110
110
|
.INDENT 0.0
|
111
111
|
.IP \(bu 2
|
112
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-
|
112
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-6.0.0\-x64.exe\fP
|
113
113
|
.UNINDENT
|
114
114
|
.UNINDENT
|
115
115
|
.UNINDENT
|
@@ -124,7 +124,7 @@ Groonga は独自のカラムストアを持つ列指向のデータベースと
|
|
124
124
|
.INDENT 3.5
|
125
125
|
.INDENT 0.0
|
126
126
|
.IP \(bu 2
|
127
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-
|
127
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-6.0.0\-x86.zip\fP
|
128
128
|
.UNINDENT
|
129
129
|
.UNINDENT
|
130
130
|
.UNINDENT
|
@@ -136,7 +136,7 @@ Groonga は独自のカラムストアを持つ列指向のデータベースと
|
|
136
136
|
.INDENT 3.5
|
137
137
|
.INDENT 0.0
|
138
138
|
.IP \(bu 2
|
139
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-
|
139
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-6.0.0\-x64.zip\fP
|
140
140
|
.UNINDENT
|
141
141
|
.UNINDENT
|
142
142
|
.UNINDENT
|
@@ -163,7 +163,7 @@ zipアーカイブをpackages.groonga.orgからダウンロードしてくださ
|
|
163
163
|
.INDENT 3.5
|
164
164
|
.INDENT 0.0
|
165
165
|
.IP \(bu 2
|
166
|
-
\fI\%http://packages.groonga.org/source/groonga/groonga\-
|
166
|
+
\fI\%http://packages.groonga.org/source/groonga/groonga\-6.0.0.zip\fP
|
167
167
|
.UNINDENT
|
168
168
|
.UNINDENT
|
169
169
|
.UNINDENT
|
@@ -176,7 +176,7 @@ Groongaのソースフォルダへと移動します:
|
|
176
176
|
.sp
|
177
177
|
.nf
|
178
178
|
.ft C
|
179
|
-
> cd c:\eUsers\e%USERNAME%\eDownloads\egroonga\-
|
179
|
+
> cd c:\eUsers\e%USERNAME%\eDownloads\egroonga\-6.0.0
|
180
180
|
.ft P
|
181
181
|
.fi
|
182
182
|
.UNINDENT
|
@@ -188,7 +188,7 @@ Groongaのソースフォルダへと移動します:
|
|
188
188
|
.sp
|
189
189
|
.nf
|
190
190
|
.ft C
|
191
|
-
groonga\-
|
191
|
+
groonga\-6.0.0> cmake . \-G "Visual Studio 12 2013 Win64" \-DCMAKE_INSTALL_PREFIX=C:\eGroonga
|
192
192
|
.ft P
|
193
193
|
.fi
|
194
194
|
.UNINDENT
|
@@ -200,7 +200,7 @@ groonga\-5.1.1> cmake . \-G "Visual Studio 12 2013 Win64" \-DCMAKE_INSTALL_PREFI
|
|
200
200
|
.sp
|
201
201
|
.nf
|
202
202
|
.ft C
|
203
|
-
groonga\-
|
203
|
+
groonga\-6.0.0> cmake \-\-build . \-\-config Release
|
204
204
|
.ft P
|
205
205
|
.fi
|
206
206
|
.UNINDENT
|
@@ -212,7 +212,7 @@ groonga\-5.1.1> cmake \-\-build . \-\-config Release
|
|
212
212
|
.sp
|
213
213
|
.nf
|
214
214
|
.ft C
|
215
|
-
groonga\-
|
215
|
+
groonga\-6.0.0> cmake \-\-build . \-\-config Release \-\-target Install
|
216
216
|
.ft P
|
217
217
|
.fi
|
218
218
|
.UNINDENT
|
@@ -270,9 +270,9 @@ groonga\-5.1.1> cmake \-\-build . \-\-config Release \-\-target Install
|
|
270
270
|
.sp
|
271
271
|
.nf
|
272
272
|
.ft C
|
273
|
-
% curl \-O http://packages.groonga.org/source/groonga/groonga\-
|
274
|
-
% tar xvzf groonga\-
|
275
|
-
% cd groonga\-
|
273
|
+
% curl \-O http://packages.groonga.org/source/groonga/groonga\-6.0.0.tar.gz
|
274
|
+
% tar xvzf groonga\-6.0.0.tar.gz
|
275
|
+
% cd groonga\-6.0.0
|
276
276
|
.ft P
|
277
277
|
.fi
|
278
278
|
.UNINDENT
|
@@ -549,9 +549,9 @@ Groongaをビルドするために必要なパッケージをインストール
|
|
549
549
|
.sp
|
550
550
|
.nf
|
551
551
|
.ft C
|
552
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-
|
553
|
-
% tar xvzf groonga\-
|
554
|
-
% cd groonga\-
|
552
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-6.0.0.tar.gz
|
553
|
+
% tar xvzf groonga\-6.0.0.tar.gz
|
554
|
+
% cd groonga\-6.0.0
|
555
555
|
.ft P
|
556
556
|
.fi
|
557
557
|
.UNINDENT
|
@@ -747,9 +747,9 @@ Groongaをビルドするために必要なパッケージをインストール
|
|
747
747
|
.sp
|
748
748
|
.nf
|
749
749
|
.ft C
|
750
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-
|
751
|
-
% tar xvzf groonga\-
|
752
|
-
% cd groonga\-
|
750
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-6.0.0.tar.gz
|
751
|
+
% tar xvzf groonga\-6.0.0.tar.gz
|
752
|
+
% cd groonga\-6.0.0
|
753
753
|
.ft P
|
754
754
|
.fi
|
755
755
|
.UNINDENT
|
@@ -1121,9 +1121,9 @@ Groongaをビルドするために必要なパッケージをインストール
|
|
1121
1121
|
.sp
|
1122
1122
|
.nf
|
1123
1123
|
.ft C
|
1124
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-
|
1125
|
-
% tar xvzf groonga\-
|
1126
|
-
% cd groonga\-
|
1124
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-6.0.0.tar.gz
|
1125
|
+
% tar xvzf groonga\-6.0.0.tar.gz
|
1126
|
+
% cd groonga\-6.0.0
|
1127
1127
|
.ft P
|
1128
1128
|
.fi
|
1129
1129
|
.UNINDENT
|
@@ -1307,9 +1307,9 @@ Groongaをビルドするために必要なパッケージをインストール
|
|
1307
1307
|
.sp
|
1308
1308
|
.nf
|
1309
1309
|
.ft C
|
1310
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-
|
1311
|
-
% tar xvzf groonga\-
|
1312
|
-
% cd groonga\-
|
1310
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-6.0.0.tar.gz
|
1311
|
+
% tar xvzf groonga\-6.0.0.tar.gz
|
1312
|
+
% cd groonga\-6.0.0
|
1313
1313
|
.ft P
|
1314
1314
|
.fi
|
1315
1315
|
.UNINDENT
|
@@ -1373,9 +1373,9 @@ Groongaをビルドするために必要なパッケージをインストール
|
|
1373
1373
|
.sp
|
1374
1374
|
.nf
|
1375
1375
|
.ft C
|
1376
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-
|
1377
|
-
% gtar xvzf groonga\-
|
1378
|
-
% cd groonga\-
|
1376
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-6.0.0.tar.gz
|
1377
|
+
% gtar xvzf groonga\-6.0.0.tar.gz
|
1378
|
+
% cd groonga\-6.0.0
|
1379
1379
|
.ft P
|
1380
1380
|
.fi
|
1381
1381
|
.UNINDENT
|
@@ -1496,9 +1496,9 @@ GroongaはGNUビルドシステムを使っています。以下は一番簡単
|
|
1496
1496
|
.sp
|
1497
1497
|
.nf
|
1498
1498
|
.ft C
|
1499
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-
|
1500
|
-
% tar xvzf groonga\-
|
1501
|
-
% cd groonga\-
|
1499
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-6.0.0.tar.gz
|
1500
|
+
% tar xvzf groonga\-6.0.0.tar.gz
|
1501
|
+
% cd groonga\-6.0.0
|
1502
1502
|
% ./configure
|
1503
1503
|
% make
|
1504
1504
|
% sudo make install
|
@@ -8374,6 +8374,8 @@ groonga [\-p PORT_NUMBER] \-d \-\-protocol memcached DB_PATH
|
|
8374
8374
|
.UNINDENT
|
8375
8375
|
.sp
|
8376
8376
|
\fI\-\-protocol\fP オプションとその引数により、サーバのプロトコルを指定することができます。"memcached"はmemcachedバイナリプロトコルを示しています。
|
8377
|
+
.sp
|
8378
|
+
テーブルの作成は不要です。Groongaは要求を受けつけると自動的にテーブルを作成するからです。テーブルの名前は \fIMemcache\fP になります。
|
8377
8379
|
.SH クライアント
|
8378
8380
|
.sp
|
8379
8381
|
Groongaは、Groongaの専用プロトコルである \fB/spec/gqtp\fP 、memcachedバイナリプロトコル、HTTPの三種類をサポートしています。
|
@@ -8444,7 +8446,7 @@ grndb COMMAND [OPTIONS] DATABASE_PATH
|
|
8444
8446
|
.sp
|
8445
8447
|
.nf
|
8446
8448
|
.ft C
|
8447
|
-
|
8449
|
+
% grndb check /var/lib/groonga/db/db
|
8448
8450
|
.ft P
|
8449
8451
|
.fi
|
8450
8452
|
.UNINDENT
|
@@ -8456,7 +8458,7 @@ $ grndb check /var/lib/groonga/db/db
|
|
8456
8458
|
.sp
|
8457
8459
|
.nf
|
8458
8460
|
.ft C
|
8459
|
-
|
8461
|
+
% grndb recover /var/lib/groonga/db/db
|
8460
8462
|
.ft P
|
8461
8463
|
.fi
|
8462
8464
|
.UNINDENT
|
@@ -8474,6 +8476,50 @@ $ grndb recover /var/lib/groonga/db/db
|
|
8474
8476
|
このコマンドを他のプロセスが開いているデータベースに対しては使ってはいけません。もし、データベースが他のプロセスから開かれていると、このコマンドは間違った結果を報告する可能性があります。
|
8475
8477
|
.UNINDENT
|
8476
8478
|
.UNINDENT
|
8479
|
+
.sp
|
8480
|
+
\fBcheck\fP にはいくつかオプションがあります。
|
8481
|
+
.SS \fB\-\-target\fP
|
8482
|
+
.sp
|
8483
|
+
バージョン 5.1.2 で追加.
|
8484
|
+
|
8485
|
+
.sp
|
8486
|
+
チェック対象のオブジェクトを指定します。
|
8487
|
+
.sp
|
8488
|
+
もし、データベースが大きく、かつ、信頼できないオブジェクトがわかっているなら、このオプションが役に立つでしょう。 \fBcheck\fP は大きなデータベースほど処理に時間がかかります。 \fB\-\-target\fP オプションでチェック対象を限定することでチェック時間を削減できます。
|
8489
|
+
.sp
|
8490
|
+
\fBcheck\fP はチェック対象を再帰的にチェックします。なぜなら、信頼できないオブジェクトに関連するオブジェクトも信頼できないことが多いからです。
|
8491
|
+
.sp
|
8492
|
+
チェック対象がテーブルの場合、そのテーブルのすべてのカラムも再帰的にチェックします。
|
8493
|
+
.sp
|
8494
|
+
チェック対象がテーブルでテーブルのキーの型が他のテーブルの場合、他のテーブルも再帰的にチェックします。
|
8495
|
+
.sp
|
8496
|
+
チェック対象がカラムで値の型がテーブルの場合、そのテーブルも再帰的にチェックします。
|
8497
|
+
.sp
|
8498
|
+
チェック対象がインデックスカラムの場合、値の型に指定したテーブルとすべてのソースも再帰的にチェックします。
|
8499
|
+
.sp
|
8500
|
+
以下は \fBEntries\fP テーブルとそのカラムだけをチェックする例です。:
|
8501
|
+
.INDENT 0.0
|
8502
|
+
.INDENT 3.5
|
8503
|
+
.sp
|
8504
|
+
.nf
|
8505
|
+
.ft C
|
8506
|
+
% grndb check \-\-target Entries /var/lib/groonga/db/db
|
8507
|
+
.ft P
|
8508
|
+
.fi
|
8509
|
+
.UNINDENT
|
8510
|
+
.UNINDENT
|
8511
|
+
.sp
|
8512
|
+
以下は \fBEntries.name\fP カラムだけをチェックする例です。:
|
8513
|
+
.INDENT 0.0
|
8514
|
+
.INDENT 3.5
|
8515
|
+
.sp
|
8516
|
+
.nf
|
8517
|
+
.ft C
|
8518
|
+
% grndb check \-\-target Entries.name /var/lib/groonga/db/db
|
8519
|
+
.ft P
|
8520
|
+
.fi
|
8521
|
+
.UNINDENT
|
8522
|
+
.UNINDENT
|
8477
8523
|
.SS \fBrecover\fP
|
8478
8524
|
.sp
|
8479
8525
|
既存の壊れたGroongaデータベースを復旧します。
|
@@ -8780,7 +8826,7 @@ groonga [options] \-\-protocol http \-d DB_PATH
|
|
8780
8826
|
.UNINDENT
|
8781
8827
|
.UNINDENT
|
8782
8828
|
.sp
|
8783
|
-
\
|
8829
|
+
\fI\%\-\-pid\-path\fP option will be useful for daemon mode.
|
8784
8830
|
.SS Client mode
|
8785
8831
|
.sp
|
8786
8832
|
In client mode, \fBgroonga\fP executable file runs as a client for GQTP
|
@@ -9004,10 +9050,10 @@ PIDを保存するパスを指定します。(デフォルトでは保存しま
|
|
9004
9050
|
; \(aq;\(aq以降もコメント。
|
9005
9051
|
|
9006
9052
|
# \(aqキー = 値\(aqでオプションを指定。
|
9007
|
-
pid\-
|
9053
|
+
pid\-path = /var/run/groonga.pid
|
9008
9054
|
|
9009
9055
|
# \(aq=\(aqの前後の空白はは無視される。↓は↑と同じ意味。
|
9010
|
-
pid\-
|
9056
|
+
pid\-path=/var/run/groonga.pid
|
9011
9057
|
|
9012
9058
|
# \(aqキー\(aqは\(aq\-\-XXX\(aqスタイルのオプション名と同じものが使える。
|
9013
9059
|
# 例えば、\(aq\-\-pid\-path\(aqに対応するキーは\(aqpid\-path\(aq。
|
@@ -10043,7 +10089,7 @@ location /d/ {
|
|
10043
10089
|
.UNINDENT
|
10044
10090
|
.SS \fBproxy_cache\fP
|
10045
10091
|
.sp
|
10046
|
-
まとめると、Groonga組み込みのクエリーキャッシュ機能の代わりにnginx
|
10092
|
+
まとめると、Groonga組み込みのクエリーキャッシュ機能の代わりにnginxのリバースプロキシとキャッシュの仕組みを使うこともできます。
|
10047
10093
|
.SS クエリーキャッシュ
|
10048
10094
|
.sp
|
10049
10095
|
groongaは \fB/reference/commands/select\fP コマンド用にクエリーキャッシュ機能を提供しています。この機能は多くのケースで性能向上を実現します。
|
@@ -13532,6 +13578,322 @@ select Users
|
|
13532
13578
|
コマンドの実行が成功するとtrueを返します。失敗するとfalseを返します。
|
13533
13579
|
.UNINDENT
|
13534
13580
|
.UNINDENT
|
13581
|
+
.SS \fBconfig_delete\fP
|
13582
|
+
.SS 概要
|
13583
|
+
.sp
|
13584
|
+
バージョン 5.1.2 で追加.
|
13585
|
+
|
13586
|
+
.sp
|
13587
|
+
\fBconfig_delete\fP コマンドは指定した設定項目を削除します。
|
13588
|
+
.SS 構文
|
13589
|
+
.sp
|
13590
|
+
このコマンドの引数は1つで必須です:
|
13591
|
+
.INDENT 0.0
|
13592
|
+
.INDENT 3.5
|
13593
|
+
.sp
|
13594
|
+
.nf
|
13595
|
+
.ft C
|
13596
|
+
config_delete key
|
13597
|
+
.ft P
|
13598
|
+
.fi
|
13599
|
+
.UNINDENT
|
13600
|
+
.UNINDENT
|
13601
|
+
.SS 使い方
|
13602
|
+
.sp
|
13603
|
+
以下は \fBalias.column\fP 設定項目を削除する例です。
|
13604
|
+
.sp
|
13605
|
+
実行例:
|
13606
|
+
.INDENT 0.0
|
13607
|
+
.INDENT 3.5
|
13608
|
+
.sp
|
13609
|
+
.nf
|
13610
|
+
.ft C
|
13611
|
+
config_set alias.column Aliases.real_name
|
13612
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
13613
|
+
config_get alias.column
|
13614
|
+
# [[0, 1337566253.89858, 0.000355720520019531], "Aliases.real_name"]
|
13615
|
+
config_delete alias.column
|
13616
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
13617
|
+
config_get alias.column
|
13618
|
+
# [[0, 1337566253.89858, 0.000355720520019531], ""]
|
13619
|
+
.ft P
|
13620
|
+
.fi
|
13621
|
+
.UNINDENT
|
13622
|
+
.UNINDENT
|
13623
|
+
.sp
|
13624
|
+
以下は存在しない設定項目を削除する例です。
|
13625
|
+
.sp
|
13626
|
+
実行例:
|
13627
|
+
.INDENT 0.0
|
13628
|
+
.INDENT 3.5
|
13629
|
+
.sp
|
13630
|
+
.nf
|
13631
|
+
.ft C
|
13632
|
+
config_delete nonexistent
|
13633
|
+
# [
|
13634
|
+
# [
|
13635
|
+
# \-22,
|
13636
|
+
# 1337566253.89858,
|
13637
|
+
# 0.000355720520019531,
|
13638
|
+
# "[config][delete] failed to delete",
|
13639
|
+
# [
|
13640
|
+
# [
|
13641
|
+
# "grn_config_delete",
|
13642
|
+
# "config.c",
|
13643
|
+
# 166
|
13644
|
+
# ]
|
13645
|
+
# ]
|
13646
|
+
# ],
|
13647
|
+
# false
|
13648
|
+
# ]
|
13649
|
+
.ft P
|
13650
|
+
.fi
|
13651
|
+
.UNINDENT
|
13652
|
+
.UNINDENT
|
13653
|
+
.sp
|
13654
|
+
\fBconfig_delete\fP は存在しない設定項目を削除しようとするとエラーを返します。
|
13655
|
+
.SS 引数
|
13656
|
+
.sp
|
13657
|
+
このセクションではすべての引数について説明します。
|
13658
|
+
.SS 必須引数
|
13659
|
+
.sp
|
13660
|
+
必須の引数が1つあります。
|
13661
|
+
.SS \fBkey\fP
|
13662
|
+
.sp
|
13663
|
+
対象設定項目のキーを指定します。
|
13664
|
+
.sp
|
13665
|
+
最大キーサイズは4KiBです。
|
13666
|
+
.sp
|
13667
|
+
キーには空文字列を使うことはできません。
|
13668
|
+
.SS 省略可能引数
|
13669
|
+
.sp
|
13670
|
+
省略可能な引数はありません。
|
13671
|
+
.SS 戻り値
|
13672
|
+
.sp
|
13673
|
+
\fBconfig_delete\fP コマンドは設定項目の削除に成功したかどうかを返します。:
|
13674
|
+
.INDENT 0.0
|
13675
|
+
.INDENT 3.5
|
13676
|
+
.sp
|
13677
|
+
.nf
|
13678
|
+
.ft C
|
13679
|
+
[HEADER, SUCCEEDED_OR_NOT]
|
13680
|
+
.ft P
|
13681
|
+
.fi
|
13682
|
+
.UNINDENT
|
13683
|
+
.UNINDENT
|
13684
|
+
.SS \fBHEADER\fP
|
13685
|
+
.sp
|
13686
|
+
\fBHEADER\fP については \fB/reference/command/output_format\fP を参照してください。
|
13687
|
+
.SS \fBSUCCEEDED_OR_NOT\fP
|
13688
|
+
.sp
|
13689
|
+
コマンドの実行が成功するとtrueを返します。失敗するとエラーとしてfalseを返します。
|
13690
|
+
.SS 参考
|
13691
|
+
.INDENT 0.0
|
13692
|
+
.INDENT 3.5
|
13693
|
+
.INDENT 0.0
|
13694
|
+
.IP \(bu 2
|
13695
|
+
\fB/reference/configuration\fP
|
13696
|
+
.IP \(bu 2
|
13697
|
+
\fBconfig_get\fP
|
13698
|
+
.IP \(bu 2
|
13699
|
+
\fBconfig_set\fP
|
13700
|
+
.UNINDENT
|
13701
|
+
.UNINDENT
|
13702
|
+
.UNINDENT
|
13703
|
+
.SS \fBconfig_get\fP
|
13704
|
+
.SS 概要
|
13705
|
+
.sp
|
13706
|
+
バージョン 5.1.2 で追加.
|
13707
|
+
|
13708
|
+
.sp
|
13709
|
+
\fBconfig_get\fP コマンドは指定した設定項目の値を返します。
|
13710
|
+
.SS 構文
|
13711
|
+
.sp
|
13712
|
+
このコマンドの引数は1つで必須です:
|
13713
|
+
.INDENT 0.0
|
13714
|
+
.INDENT 3.5
|
13715
|
+
.sp
|
13716
|
+
.nf
|
13717
|
+
.ft C
|
13718
|
+
config_get key
|
13719
|
+
.ft P
|
13720
|
+
.fi
|
13721
|
+
.UNINDENT
|
13722
|
+
.UNINDENT
|
13723
|
+
.SS 使い方
|
13724
|
+
.sp
|
13725
|
+
以下は \fBalias.column\fP 設定項目に値を設定して、設定した値を取得する例です。
|
13726
|
+
.sp
|
13727
|
+
実行例:
|
13728
|
+
.INDENT 0.0
|
13729
|
+
.INDENT 3.5
|
13730
|
+
.sp
|
13731
|
+
.nf
|
13732
|
+
.ft C
|
13733
|
+
config_set alias.column Aliases.real_name
|
13734
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
13735
|
+
config_get alias.column
|
13736
|
+
# [[0, 1337566253.89858, 0.000355720520019531], "Aliases.real_name"]
|
13737
|
+
.ft P
|
13738
|
+
.fi
|
13739
|
+
.UNINDENT
|
13740
|
+
.UNINDENT
|
13741
|
+
.sp
|
13742
|
+
以下は存在しない設定項目の値を取得する例です。
|
13743
|
+
.sp
|
13744
|
+
実行例:
|
13745
|
+
.INDENT 0.0
|
13746
|
+
.INDENT 3.5
|
13747
|
+
.sp
|
13748
|
+
.nf
|
13749
|
+
.ft C
|
13750
|
+
config_get nonexistent
|
13751
|
+
# [[0, 1337566253.89858, 0.000355720520019531], ""]
|
13752
|
+
.ft P
|
13753
|
+
.fi
|
13754
|
+
.UNINDENT
|
13755
|
+
.UNINDENT
|
13756
|
+
.sp
|
13757
|
+
\fBconfig_get\fP は存在しない設定項目の場合は空文字列を返します。
|
13758
|
+
.SS 引数
|
13759
|
+
.sp
|
13760
|
+
このセクションではすべての引数について説明します。
|
13761
|
+
.SS 必須引数
|
13762
|
+
.sp
|
13763
|
+
必須の引数が1つあります。
|
13764
|
+
.SS \fBkey\fP
|
13765
|
+
.sp
|
13766
|
+
対象設定項目のキーを指定します。
|
13767
|
+
.sp
|
13768
|
+
最大キーサイズは4KiBです。
|
13769
|
+
.sp
|
13770
|
+
キーには空文字列を使うことはできません。
|
13771
|
+
.SS 省略可能引数
|
13772
|
+
.sp
|
13773
|
+
省略可能な引数はありません。
|
13774
|
+
.SS 戻り値
|
13775
|
+
.sp
|
13776
|
+
\fBconfig_get\fP コマンドは指定した設定項目の値を返します。:
|
13777
|
+
.INDENT 0.0
|
13778
|
+
.INDENT 3.5
|
13779
|
+
.sp
|
13780
|
+
.nf
|
13781
|
+
.ft C
|
13782
|
+
[HEADER, VALUE]
|
13783
|
+
.ft P
|
13784
|
+
.fi
|
13785
|
+
.UNINDENT
|
13786
|
+
.UNINDENT
|
13787
|
+
.SS \fBHEADER\fP
|
13788
|
+
.sp
|
13789
|
+
\fBHEADER\fP については \fB/reference/command/output_format\fP を参照してください。
|
13790
|
+
.SS \fBVALUE\fP
|
13791
|
+
.sp
|
13792
|
+
\fBVALUE\fP は \fBkey\fP で指定した設定項目の値です。文字列です。
|
13793
|
+
.SS 参考
|
13794
|
+
.INDENT 0.0
|
13795
|
+
.INDENT 3.5
|
13796
|
+
.INDENT 0.0
|
13797
|
+
.IP \(bu 2
|
13798
|
+
\fB/reference/configuration\fP
|
13799
|
+
.IP \(bu 2
|
13800
|
+
\fBconfig_set\fP
|
13801
|
+
.IP \(bu 2
|
13802
|
+
\fBconfig_delete\fP
|
13803
|
+
.UNINDENT
|
13804
|
+
.UNINDENT
|
13805
|
+
.UNINDENT
|
13806
|
+
.SS \fBconfig_set\fP
|
13807
|
+
.SS 概要
|
13808
|
+
.sp
|
13809
|
+
バージョン 5.1.2 で追加.
|
13810
|
+
|
13811
|
+
.sp
|
13812
|
+
\fBconfig_set\fP コマンドは指定した設定項目に値を設定します。
|
13813
|
+
.SS 構文
|
13814
|
+
.sp
|
13815
|
+
このコマンドの引数は2つで必須です。:
|
13816
|
+
.INDENT 0.0
|
13817
|
+
.INDENT 3.5
|
13818
|
+
.sp
|
13819
|
+
.nf
|
13820
|
+
.ft C
|
13821
|
+
config_set key value
|
13822
|
+
.ft P
|
13823
|
+
.fi
|
13824
|
+
.UNINDENT
|
13825
|
+
.UNINDENT
|
13826
|
+
.SS 使い方
|
13827
|
+
.sp
|
13828
|
+
以下は \fBalias.column\fP 設定項目に値を設定して、設定した値を確認する例です。
|
13829
|
+
.sp
|
13830
|
+
実行例:
|
13831
|
+
.INDENT 0.0
|
13832
|
+
.INDENT 3.5
|
13833
|
+
.sp
|
13834
|
+
.nf
|
13835
|
+
.ft C
|
13836
|
+
config_set alias.column Aliases.real_name
|
13837
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
13838
|
+
config_get alias.column
|
13839
|
+
# [[0, 1337566253.89858, 0.000355720520019531], "Aliases.real_name"]
|
13840
|
+
.ft P
|
13841
|
+
.fi
|
13842
|
+
.UNINDENT
|
13843
|
+
.UNINDENT
|
13844
|
+
.SS 引数
|
13845
|
+
.sp
|
13846
|
+
このセクションではすべての引数について説明します。
|
13847
|
+
.SS 必須引数
|
13848
|
+
.sp
|
13849
|
+
いくつか必須の引数があります。
|
13850
|
+
.SS \fBkey\fP
|
13851
|
+
.sp
|
13852
|
+
対象設定項目のキーを指定します。
|
13853
|
+
.sp
|
13854
|
+
最大キーサイズは4KiBです。
|
13855
|
+
.sp
|
13856
|
+
キーには空文字列を使うことはできません。
|
13857
|
+
.SS \fBvalue\fP
|
13858
|
+
.sp
|
13859
|
+
\fBkey\fP で指定した対象設定項目の値を指定します。
|
13860
|
+
.sp
|
13861
|
+
値の最大サイズは4091B(= 4KiB \- 5B)です。
|
13862
|
+
.SS 省略可能引数
|
13863
|
+
.sp
|
13864
|
+
省略可能な引数はありません。
|
13865
|
+
.SS 戻り値
|
13866
|
+
.sp
|
13867
|
+
\fBconfig_set\fP コマンドは設定項目に値を設定できたかどうかを返します。:
|
13868
|
+
.INDENT 0.0
|
13869
|
+
.INDENT 3.5
|
13870
|
+
.sp
|
13871
|
+
.nf
|
13872
|
+
.ft C
|
13873
|
+
[HEADER, SUCCEEDED_OR_NOT]
|
13874
|
+
.ft P
|
13875
|
+
.fi
|
13876
|
+
.UNINDENT
|
13877
|
+
.UNINDENT
|
13878
|
+
.SS \fBHEADER\fP
|
13879
|
+
.sp
|
13880
|
+
\fBHEADER\fP については \fB/reference/command/output_format\fP を参照してください。
|
13881
|
+
.SS \fBSUCCEEDED_OR_NOT\fP
|
13882
|
+
.sp
|
13883
|
+
コマンドの実行が成功するとtrueを返します。失敗するとエラーとしてfalseを返します。
|
13884
|
+
.SS 参考
|
13885
|
+
.INDENT 0.0
|
13886
|
+
.INDENT 3.5
|
13887
|
+
.INDENT 0.0
|
13888
|
+
.IP \(bu 2
|
13889
|
+
\fB/reference/configuration\fP
|
13890
|
+
.IP \(bu 2
|
13891
|
+
\fBconfig_get\fP
|
13892
|
+
.IP \(bu 2
|
13893
|
+
\fBconfig_delete\fP
|
13894
|
+
.UNINDENT
|
13895
|
+
.UNINDENT
|
13896
|
+
.UNINDENT
|
13535
13897
|
.SS \fBdatabase_unmap\fP
|
13536
13898
|
.SS 概要
|
13537
13899
|
.sp
|
@@ -14884,10 +15246,10 @@ input_typeに指定する形式で登録するレコードの値を表現した
|
|
14884
15246
|
input_typeがjsonである場合には、以下のいずれかの形式が使用できます。
|
14885
15247
|
.INDENT 0.0
|
14886
15248
|
.TP
|
14887
|
-
.B
|
15249
|
+
.B \fBFormat 1:\fP
|
14888
15250
|
[[カラム名1, カラム名2,..], [カラム値1, カラム値2,..], [カラム値1, カラム値2,..],..]
|
14889
15251
|
.TP
|
14890
|
-
.B
|
15252
|
+
.B \fBFormat 2:\fP
|
14891
15253
|
[{カラム名1: カラム値1, カラム名2: カラム値2}, {カラム名1: カラム値1, カラム名2: カラム値2},..]
|
14892
15254
|
.UNINDENT
|
14893
15255
|
.sp
|
@@ -14980,6 +15342,142 @@ load \-\-table Entry \-\-input_type json
|
|
14980
15342
|
.SS 参考
|
14981
15343
|
.sp
|
14982
15344
|
\fB/reference/grn_expr\fP
|
15345
|
+
.SS \fBlock_acquire\fP
|
15346
|
+
.SS 概要
|
15347
|
+
.sp
|
15348
|
+
バージョン 5.1.2 で追加.
|
15349
|
+
|
15350
|
+
.sp
|
15351
|
+
\fBlock_acquire\fP コマンドは対象オブジェクトのロックを獲得します。対象オブジェクトはデータベース、テーブル、カラムのどれかです。
|
15352
|
+
.sp
|
15353
|
+
\fB注釈:\fP
|
15354
|
+
.INDENT 0.0
|
15355
|
+
.INDENT 3.5
|
15356
|
+
これは危険なコマンドです。獲得したロックはロックが必要なくなったときに \fBlock_release\fP で解放してください。もし、解放し忘れるとデータベースが壊れるかもしれません。
|
15357
|
+
.UNINDENT
|
15358
|
+
.UNINDENT
|
15359
|
+
.SS 構文
|
15360
|
+
.sp
|
15361
|
+
このコマンドの引数は1つで省略できます:
|
15362
|
+
.INDENT 0.0
|
15363
|
+
.INDENT 3.5
|
15364
|
+
.sp
|
15365
|
+
.nf
|
15366
|
+
.ft C
|
15367
|
+
lock_clear [target_name=null]
|
15368
|
+
.ft P
|
15369
|
+
.fi
|
15370
|
+
.UNINDENT
|
15371
|
+
.UNINDENT
|
15372
|
+
.sp
|
15373
|
+
\fBtarget_name\fP パラメーターを省略した場合は対象オブジェクトはデータベースになります。
|
15374
|
+
.SS 使い方
|
15375
|
+
.sp
|
15376
|
+
以下はデータベースのロックを獲得する例です。
|
15377
|
+
.sp
|
15378
|
+
実行例:
|
15379
|
+
.INDENT 0.0
|
15380
|
+
.INDENT 3.5
|
15381
|
+
.sp
|
15382
|
+
.nf
|
15383
|
+
.ft C
|
15384
|
+
lock_acquire
|
15385
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
15386
|
+
.ft P
|
15387
|
+
.fi
|
15388
|
+
.UNINDENT
|
15389
|
+
.UNINDENT
|
15390
|
+
.sp
|
15391
|
+
もし、データベースがロックされていると、新しいテーブル・カラムを作れなくなります。ここでは、他の例を示すためにデータベースのロックを解放します。
|
15392
|
+
.sp
|
15393
|
+
実行例:
|
15394
|
+
.INDENT 0.0
|
15395
|
+
.INDENT 3.5
|
15396
|
+
.sp
|
15397
|
+
.nf
|
15398
|
+
.ft C
|
15399
|
+
lock_release
|
15400
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
15401
|
+
.ft P
|
15402
|
+
.fi
|
15403
|
+
.UNINDENT
|
15404
|
+
.UNINDENT
|
15405
|
+
.sp
|
15406
|
+
以下は \fBEntries\fP テーブルのロックを獲得する例です。
|
15407
|
+
.sp
|
15408
|
+
実行例:
|
15409
|
+
.INDENT 0.0
|
15410
|
+
.INDENT 3.5
|
15411
|
+
.sp
|
15412
|
+
.nf
|
15413
|
+
.ft C
|
15414
|
+
table_create Entries TABLE_NO_KEY
|
15415
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
15416
|
+
lock_acquire Entries
|
15417
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
15418
|
+
.ft P
|
15419
|
+
.fi
|
15420
|
+
.UNINDENT
|
15421
|
+
.UNINDENT
|
15422
|
+
.sp
|
15423
|
+
以下は \fBSites.title\fP カラムのロックを獲得する例です。
|
15424
|
+
.sp
|
15425
|
+
実行例:
|
15426
|
+
.INDENT 0.0
|
15427
|
+
.INDENT 3.5
|
15428
|
+
.sp
|
15429
|
+
.nf
|
15430
|
+
.ft C
|
15431
|
+
table_create Sites TABLE_HASH_KEY ShortText
|
15432
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
15433
|
+
column_create Sites title COLUMN_SCALAR ShortText
|
15434
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
15435
|
+
lock_acquire Sites.title
|
15436
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
15437
|
+
.ft P
|
15438
|
+
.fi
|
15439
|
+
.UNINDENT
|
15440
|
+
.UNINDENT
|
15441
|
+
.SS 引数
|
15442
|
+
.sp
|
15443
|
+
このセクションではすべての引数について説明します。
|
15444
|
+
.SS \fBtarget_name\fP
|
15445
|
+
.sp
|
15446
|
+
テーブル名またはカラム名を指定します。
|
15447
|
+
.sp
|
15448
|
+
指定しなかったら対象オブジェクトはデータベースになります。
|
15449
|
+
.sp
|
15450
|
+
デフォルト値はありません。これは対象オブジェクトはデータベースになるということです。
|
15451
|
+
.SS 戻り値
|
15452
|
+
.sp
|
15453
|
+
\fBlock_acquire\fP コマンドはロックを獲得できたかどうかを返します。:
|
15454
|
+
.INDENT 0.0
|
15455
|
+
.INDENT 3.5
|
15456
|
+
.sp
|
15457
|
+
.nf
|
15458
|
+
.ft C
|
15459
|
+
[HEADER, SUCCEEDED_OR_NOT]
|
15460
|
+
.ft P
|
15461
|
+
.fi
|
15462
|
+
.UNINDENT
|
15463
|
+
.UNINDENT
|
15464
|
+
.SS \fBHEADER\fP
|
15465
|
+
.sp
|
15466
|
+
\fBHEADER\fP については \fB/reference/command/output_format\fP を参照してください。
|
15467
|
+
.SS \fBSUCCEEDED_OR_NOT\fP
|
15468
|
+
.sp
|
15469
|
+
コマンドの実行が成功するとtrueを返します。失敗するとエラーとしてfalseを返します。
|
15470
|
+
.SS 参考
|
15471
|
+
.INDENT 0.0
|
15472
|
+
.INDENT 3.5
|
15473
|
+
.INDENT 0.0
|
15474
|
+
.IP \(bu 2
|
15475
|
+
\fBlock_release\fP
|
15476
|
+
.IP \(bu 2
|
15477
|
+
\fBlock_clear\fP
|
15478
|
+
.UNINDENT
|
15479
|
+
.UNINDENT
|
15480
|
+
.UNINDENT
|
14983
15481
|
.SS \fBlock_clear\fP
|
14984
15482
|
.SS 概要
|
14985
15483
|
.sp
|
@@ -15011,7 +15509,7 @@ lock_clear [target_name=null]
|
|
15011
15509
|
\fBtarget_name\fP パラメーターを省略した場合は対象オブジェクトはデータベースになります。これはデータベース中のすべてのロックを解除するという意味です。
|
15012
15510
|
.SS 使い方
|
15013
15511
|
.sp
|
15014
|
-
|
15512
|
+
以下はデータベースの中のすべてのロックを解除する例です。
|
15015
15513
|
.sp
|
15016
15514
|
実行例:
|
15017
15515
|
.INDENT 0.0
|
@@ -15026,7 +15524,7 @@ lock_clear
|
|
15026
15524
|
.UNINDENT
|
15027
15525
|
.UNINDENT
|
15028
15526
|
.sp
|
15029
|
-
以下は \
|
15527
|
+
以下は \fBEntries\fP テーブルと \fBEntries\fP テーブルのカラムのロックを解除する例です。
|
15030
15528
|
.sp
|
15031
15529
|
実行例:
|
15032
15530
|
.INDENT 0.0
|
@@ -15034,18 +15532,18 @@ lock_clear
|
|
15034
15532
|
.sp
|
15035
15533
|
.nf
|
15036
15534
|
.ft C
|
15037
|
-
table_create
|
15535
|
+
table_create Entries TABLE_NO_KEY
|
15038
15536
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
15039
|
-
column_create
|
15537
|
+
column_create Entries body COLUMN_SCALAR Text
|
15040
15538
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
15041
|
-
lock_clear
|
15539
|
+
lock_clear Entries
|
15042
15540
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
15043
15541
|
.ft P
|
15044
15542
|
.fi
|
15045
15543
|
.UNINDENT
|
15046
15544
|
.UNINDENT
|
15047
15545
|
.sp
|
15048
|
-
以下は \
|
15546
|
+
以下は \fBSites.title\fP カラムのロックを解除する例です。
|
15049
15547
|
.sp
|
15050
15548
|
実行例:
|
15051
15549
|
.INDENT 0.0
|
@@ -15053,11 +15551,11 @@ lock_clear Entry
|
|
15053
15551
|
.sp
|
15054
15552
|
.nf
|
15055
15553
|
.ft C
|
15056
|
-
table_create
|
15554
|
+
table_create Sites TABLE_HASH_KEY ShortText
|
15057
15555
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
15058
|
-
column_create
|
15556
|
+
column_create Sites title COLUMN_SCALAR ShortText
|
15059
15557
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
15060
|
-
lock_clear
|
15558
|
+
lock_clear Sites.title
|
15061
15559
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
15062
15560
|
.ft P
|
15063
15561
|
.fi
|
@@ -15075,7 +15573,7 @@ lock_clear Site.title
|
|
15075
15573
|
デフォルト値はありません。これは対象オブジェクトはデータベースになるということです。
|
15076
15574
|
.SS 戻り値
|
15077
15575
|
.sp
|
15078
|
-
\fBlock_clear\fP
|
15576
|
+
\fBlock_clear\fP コマンドはロックを解除できたかどうかを返します。:
|
15079
15577
|
.INDENT 0.0
|
15080
15578
|
.INDENT 3.5
|
15081
15579
|
.sp
|
@@ -15100,6 +15598,133 @@ lock_clear Site.title
|
|
15100
15598
|
コマンドの実行が成功するとtrueを返します。失敗するとエラーとしてfalseを返します。
|
15101
15599
|
.UNINDENT
|
15102
15600
|
.UNINDENT
|
15601
|
+
.SS \fBlock_release\fP
|
15602
|
+
.SS 概要
|
15603
|
+
.sp
|
15604
|
+
バージョン 5.1.2 で追加.
|
15605
|
+
|
15606
|
+
.sp
|
15607
|
+
\fBlock_release\fP コマンドは対象オブジェクトのロックを解放します。対象オブジェクトはデータベース、テーブル、カラムのどれかです。
|
15608
|
+
.sp
|
15609
|
+
\fB注釈:\fP
|
15610
|
+
.INDENT 0.0
|
15611
|
+
.INDENT 3.5
|
15612
|
+
これは危険なコマンドです。 \fBlock_acquire\fP で獲得したロックだけを解放してください。もし、 \fBlock_acquire\fP せずにロックを解放すると、データベースが壊れる可能性があります。
|
15613
|
+
.UNINDENT
|
15614
|
+
.UNINDENT
|
15615
|
+
.SS 構文
|
15616
|
+
.sp
|
15617
|
+
このコマンドの引数は1つで省略できます:
|
15618
|
+
.INDENT 0.0
|
15619
|
+
.INDENT 3.5
|
15620
|
+
.sp
|
15621
|
+
.nf
|
15622
|
+
.ft C
|
15623
|
+
lock_clear [target_name=null]
|
15624
|
+
.ft P
|
15625
|
+
.fi
|
15626
|
+
.UNINDENT
|
15627
|
+
.UNINDENT
|
15628
|
+
.sp
|
15629
|
+
\fBtarget_name\fP パラメーターを省略した場合は対象オブジェクトはデータベースになります。
|
15630
|
+
.SS 使い方
|
15631
|
+
.sp
|
15632
|
+
以下はデータベースのロックを解放する例です。
|
15633
|
+
.sp
|
15634
|
+
実行例:
|
15635
|
+
.INDENT 0.0
|
15636
|
+
.INDENT 3.5
|
15637
|
+
.sp
|
15638
|
+
.nf
|
15639
|
+
.ft C
|
15640
|
+
lock_acquire
|
15641
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
15642
|
+
lock_release
|
15643
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
15644
|
+
.ft P
|
15645
|
+
.fi
|
15646
|
+
.UNINDENT
|
15647
|
+
.UNINDENT
|
15648
|
+
.sp
|
15649
|
+
以下は \fBEntries\fP テーブルのロックを解放する例です。
|
15650
|
+
.sp
|
15651
|
+
実行例:
|
15652
|
+
.INDENT 0.0
|
15653
|
+
.INDENT 3.5
|
15654
|
+
.sp
|
15655
|
+
.nf
|
15656
|
+
.ft C
|
15657
|
+
table_create Entries TABLE_NO_KEY
|
15658
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
15659
|
+
lock_acquire Entries
|
15660
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
15661
|
+
lock_release Entries
|
15662
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
15663
|
+
.ft P
|
15664
|
+
.fi
|
15665
|
+
.UNINDENT
|
15666
|
+
.UNINDENT
|
15667
|
+
.sp
|
15668
|
+
以下は \fBSites.title\fP カラムのロックを解放する例です。
|
15669
|
+
.sp
|
15670
|
+
実行例:
|
15671
|
+
.INDENT 0.0
|
15672
|
+
.INDENT 3.5
|
15673
|
+
.sp
|
15674
|
+
.nf
|
15675
|
+
.ft C
|
15676
|
+
table_create Sites TABLE_HASH_KEY ShortText
|
15677
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
15678
|
+
column_create Sites title COLUMN_SCALAR ShortText
|
15679
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
15680
|
+
lock_acquire Sites.title
|
15681
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
15682
|
+
lock_release Sites.title
|
15683
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
15684
|
+
.ft P
|
15685
|
+
.fi
|
15686
|
+
.UNINDENT
|
15687
|
+
.UNINDENT
|
15688
|
+
.SS 引数
|
15689
|
+
.sp
|
15690
|
+
このセクションではすべての引数について説明します。
|
15691
|
+
.SS \fBtarget_name\fP
|
15692
|
+
.sp
|
15693
|
+
テーブル名またはカラム名を指定します。
|
15694
|
+
.sp
|
15695
|
+
指定しなかったら対象オブジェクトはデータベースになります。
|
15696
|
+
.sp
|
15697
|
+
デフォルト値はありません。これは対象オブジェクトはデータベースになるということです。
|
15698
|
+
.SS 戻り値
|
15699
|
+
.sp
|
15700
|
+
\fBlock_release\fP コマンドはロックを開放できたかどうかを返します。:
|
15701
|
+
.INDENT 0.0
|
15702
|
+
.INDENT 3.5
|
15703
|
+
.sp
|
15704
|
+
.nf
|
15705
|
+
.ft C
|
15706
|
+
[HEADER, SUCCEEDED_OR_NOT]
|
15707
|
+
.ft P
|
15708
|
+
.fi
|
15709
|
+
.UNINDENT
|
15710
|
+
.UNINDENT
|
15711
|
+
.SS \fBHEADER\fP
|
15712
|
+
.sp
|
15713
|
+
\fBHEADER\fP については \fB/reference/command/output_format\fP を参照してください。
|
15714
|
+
.SS \fBSUCCEEDED_OR_NOT\fP
|
15715
|
+
.sp
|
15716
|
+
コマンドの実行が成功するとtrueを返します。失敗するとエラーとしてfalseを返します。
|
15717
|
+
.SS 参考
|
15718
|
+
.INDENT 0.0
|
15719
|
+
.INDENT 3.5
|
15720
|
+
.INDENT 0.0
|
15721
|
+
.IP \(bu 2
|
15722
|
+
\fBlock_acquire\fP
|
15723
|
+
.IP \(bu 2
|
15724
|
+
\fBlock_clear\fP
|
15725
|
+
.UNINDENT
|
15726
|
+
.UNINDENT
|
15727
|
+
.UNINDENT
|
15103
15728
|
.SS \fBlog_level\fP
|
15104
15729
|
.SS 概要
|
15105
15730
|
.sp
|
@@ -18723,6 +19348,9 @@ object_exist Logs.timestamp
|
|
18723
19348
|
.UNINDENT
|
18724
19349
|
.sp
|
18725
19350
|
\fBLogs.timestamp\fP 内の \fBLogs\fP がテーブル名で \fBtimestamp\fP がカラム名です。
|
19351
|
+
.SS 省略可能引数
|
19352
|
+
.sp
|
19353
|
+
省略可能な引数はありません。
|
18726
19354
|
.SS 戻り値
|
18727
19355
|
.sp
|
18728
19356
|
データベース内に指定した名前のオブジェクトが存在するときは、このコマンドは以下のようにボディとして \fBtrue\fP を返します:
|
@@ -18750,33 +19378,41 @@ object_exist Logs.timestamp
|
|
18750
19378
|
.UNINDENT
|
18751
19379
|
.sp
|
18752
19380
|
\fBHEADER\fP については \fB/reference/command/output_format\fP を参照してください。
|
18753
|
-
.SS \
|
18754
|
-
.sp
|
18755
|
-
バージョン 5.0.1 で追加.
|
18756
|
-
|
19381
|
+
.SS \fBobject_inspect\fP
|
18757
19382
|
.SS 概要
|
18758
19383
|
.sp
|
18759
|
-
|
19384
|
+
バージョン 6.0.0 で追加.
|
19385
|
+
|
18760
19386
|
.sp
|
18761
|
-
|
19387
|
+
\fBobject_inspect\fP はオブジェクトを調査します。オブジェクトの詳細を確認することができます。
|
18762
19388
|
.sp
|
18763
|
-
|
19389
|
+
例:
|
19390
|
+
.INDENT 0.0
|
19391
|
+
.INDENT 3.5
|
19392
|
+
.INDENT 0.0
|
19393
|
+
.IP \(bu 2
|
19394
|
+
オブジェクトがテーブルの場合、テーブル内のレコード数を確認できます。
|
19395
|
+
.IP \(bu 2
|
19396
|
+
オブジェクトがカラムの場合、値の型を確認できます。
|
19397
|
+
.UNINDENT
|
19398
|
+
.UNINDENT
|
19399
|
+
.UNINDENT
|
18764
19400
|
.SS 構文
|
18765
19401
|
.sp
|
18766
|
-
このコマンドの引数は1
|
19402
|
+
このコマンドの引数は1つで省略できます:
|
18767
19403
|
.INDENT 0.0
|
18768
19404
|
.INDENT 3.5
|
18769
19405
|
.sp
|
18770
19406
|
.nf
|
18771
19407
|
.ft C
|
18772
|
-
|
19408
|
+
object_inspect [name=null]
|
18773
19409
|
.ft P
|
18774
19410
|
.fi
|
18775
19411
|
.UNINDENT
|
18776
19412
|
.UNINDENT
|
18777
19413
|
.SS 使い方
|
18778
19414
|
.sp
|
18779
|
-
|
19415
|
+
\fBname\fP で指定したデータベース内のオブジェクトを調査できます。
|
18780
19416
|
.sp
|
18781
19417
|
実行例:
|
18782
19418
|
.INDENT 0.0
|
@@ -18784,271 +19420,536 @@ plugin_register name
|
|
18784
19420
|
.sp
|
18785
19421
|
.nf
|
18786
19422
|
.ft C
|
18787
|
-
|
19423
|
+
table_create Users TABLE_HASH_KEY ShortText
|
18788
19424
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19425
|
+
load \-\-table Users
|
19426
|
+
[
|
19427
|
+
{"_key": "Alice"}
|
19428
|
+
]
|
19429
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 1]
|
19430
|
+
object_inspect Users
|
19431
|
+
# [
|
19432
|
+
# [
|
19433
|
+
# 0,
|
19434
|
+
# 1337566253.89858,
|
19435
|
+
# 0.000355720520019531
|
19436
|
+
# ],
|
19437
|
+
# {
|
19438
|
+
# "name": "Users",
|
19439
|
+
# "n_records": 1,
|
19440
|
+
# "value": {
|
19441
|
+
# "type": null
|
19442
|
+
# },
|
19443
|
+
# "key": {
|
19444
|
+
# "total_size": 5,
|
19445
|
+
# "max_total_size": 4294967295,
|
19446
|
+
# "type": {
|
19447
|
+
# "size": 4096,
|
19448
|
+
# "type": {
|
19449
|
+
# "id": 32,
|
19450
|
+
# "name": "type"
|
19451
|
+
# },
|
19452
|
+
# "id": 14,
|
19453
|
+
# "name": "ShortText"
|
19454
|
+
# }
|
19455
|
+
# },
|
19456
|
+
# "type": {
|
19457
|
+
# "id": 48,
|
19458
|
+
# "name": "table:hash_key"
|
19459
|
+
# },
|
19460
|
+
# "id": 256
|
19461
|
+
# }
|
19462
|
+
# ]
|
18789
19463
|
.ft P
|
18790
19464
|
.fi
|
18791
19465
|
.UNINDENT
|
18792
19466
|
.UNINDENT
|
18793
19467
|
.sp
|
18794
|
-
\
|
19468
|
+
\fBobject_inspect Users\fP は以下の情報を返します。
|
19469
|
+
.INDENT 0.0
|
19470
|
+
.INDENT 3.5
|
19471
|
+
.INDENT 0.0
|
19472
|
+
.IP \(bu 2
|
19473
|
+
テーブル名: \fB"name": Users\fP
|
19474
|
+
.IP \(bu 2
|
19475
|
+
総キーサイズ: \fB"key": {"total_size": 5}\fP ( \fB"Alice"\fP は5バイトのデータです。)
|
19476
|
+
.IP \(bu 2
|
19477
|
+
最大総キーサイズ: \fB"key": {"max_total_size": 4294967295}\fP
|
19478
|
+
.IP \(bu 2
|
19479
|
+
などなど。
|
19480
|
+
.UNINDENT
|
19481
|
+
.UNINDENT
|
19482
|
+
.UNINDENT
|
18795
19483
|
.sp
|
18796
|
-
\
|
18797
|
-
.SS 戻り値
|
19484
|
+
\fBname\fP を指定しないとデータベースを調査できます。
|
18798
19485
|
.sp
|
18799
|
-
|
19486
|
+
実行例:
|
18800
19487
|
.INDENT 0.0
|
18801
19488
|
.INDENT 3.5
|
18802
19489
|
.sp
|
18803
19490
|
.nf
|
18804
19491
|
.ft C
|
18805
|
-
|
19492
|
+
object_inspect
|
19493
|
+
# [
|
19494
|
+
# [
|
19495
|
+
# 0,
|
19496
|
+
# 1337566253.89858,
|
19497
|
+
# 0.000355720520019531
|
19498
|
+
# ],
|
19499
|
+
# {
|
19500
|
+
# "name_table": {
|
19501
|
+
# "name": "",
|
19502
|
+
# "n_records": 256,
|
19503
|
+
# "value": null,
|
19504
|
+
# "key": {
|
19505
|
+
# "type": null
|
19506
|
+
# },
|
19507
|
+
# "type": {
|
19508
|
+
# "id": 50,
|
19509
|
+
# "name": "table:dat_key"
|
19510
|
+
# },
|
19511
|
+
# "id": 0
|
19512
|
+
# },
|
19513
|
+
# "type": {
|
19514
|
+
# "id": 55,
|
19515
|
+
# "name": "db"
|
19516
|
+
# }
|
19517
|
+
# }
|
19518
|
+
# ]
|
18806
19519
|
.ft P
|
18807
19520
|
.fi
|
18808
19521
|
.UNINDENT
|
18809
19522
|
.UNINDENT
|
18810
19523
|
.sp
|
18811
|
-
\
|
18812
|
-
.
|
18813
|
-
|
18814
|
-
.SS 参考
|
19524
|
+
\fBobject_inspect\fP は以下の情報を返します。
|
19525
|
+
.INDENT 0.0
|
19526
|
+
.INDENT 3.5
|
18815
19527
|
.INDENT 0.0
|
18816
19528
|
.IP \(bu 2
|
18817
|
-
\
|
19529
|
+
オブジェクトの名前管理をしているテーブルの種類: \fB"key": {"type": {"name": "table:dat_key"}}\fP
|
19530
|
+
.IP \(bu 2
|
19531
|
+
などなど。
|
18818
19532
|
.UNINDENT
|
18819
|
-
.SS \fBplugin_unregister\fP
|
18820
|
-
.sp
|
18821
|
-
\fB注釈:\fP
|
18822
|
-
.INDENT 0.0
|
18823
|
-
.INDENT 3.5
|
18824
|
-
このコマンドは実験的な機能です。
|
18825
19533
|
.UNINDENT
|
18826
19534
|
.UNINDENT
|
19535
|
+
.SS 引数
|
18827
19536
|
.sp
|
18828
|
-
|
18829
|
-
|
18830
|
-
.SS 概要
|
19537
|
+
このセクションではすべての引数について説明します。
|
19538
|
+
.SS 必須引数
|
18831
19539
|
.sp
|
18832
|
-
|
18833
|
-
.SS
|
19540
|
+
必須の引数はありません。
|
19541
|
+
.SS 省略可能引数
|
18834
19542
|
.sp
|
18835
|
-
|
18836
|
-
.
|
18837
|
-
.INDENT 3.5
|
19543
|
+
省略可能な引数が1つあります。
|
19544
|
+
.SS \fBname\fP
|
18838
19545
|
.sp
|
18839
|
-
|
18840
|
-
.ft C
|
18841
|
-
plugin_unregister name
|
18842
|
-
.ft P
|
18843
|
-
.fi
|
18844
|
-
.UNINDENT
|
18845
|
-
.UNINDENT
|
18846
|
-
.SS 使い方
|
19546
|
+
調査対象のオブジェクト名を指定してください。
|
18847
19547
|
.sp
|
18848
|
-
|
19548
|
+
\fBname\fP を指定しないとデータベースを調査します。
|
19549
|
+
.SS 戻り値
|
18849
19550
|
.sp
|
18850
|
-
|
19551
|
+
このコマンドはボディとしてオブジェクト(たとえばテーブル)の詳細を含んだオブジェクト(ネストしたキーと値のペア)を返します。:
|
18851
19552
|
.INDENT 0.0
|
18852
19553
|
.INDENT 3.5
|
18853
19554
|
.sp
|
18854
19555
|
.nf
|
18855
19556
|
.ft C
|
18856
|
-
|
18857
|
-
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19557
|
+
[HEADER, object]
|
18858
19558
|
.ft P
|
18859
19559
|
.fi
|
18860
19560
|
.UNINDENT
|
18861
19561
|
.UNINDENT
|
18862
19562
|
.sp
|
18863
|
-
\
|
19563
|
+
\fBHEADER\fP については \fB/reference/command/output_format\fP を参照してください。
|
18864
19564
|
.sp
|
18865
|
-
|
18866
|
-
.SS
|
19565
|
+
オブジェクトの詳細のフォーマットはオブジェクトの種類に依存します。たとえば、テーブルはキーの情報を含みますが、関数はキーの情報を含みません。
|
19566
|
+
.SS データベース
|
18867
19567
|
.sp
|
18868
|
-
|
19568
|
+
データベースを調査すると次の情報を返します。:
|
18869
19569
|
.INDENT 0.0
|
18870
19570
|
.INDENT 3.5
|
18871
19571
|
.sp
|
18872
19572
|
.nf
|
18873
19573
|
.ft C
|
18874
|
-
|
19574
|
+
{
|
19575
|
+
"type": {
|
19576
|
+
"id": DATABASE_TYPE_ID,
|
19577
|
+
"name": DATABASE_TYPE_NAME
|
19578
|
+
},
|
19579
|
+
"name_table": DATABASE_NAME_TABLE
|
19580
|
+
}
|
18875
19581
|
.ft P
|
18876
19582
|
.fi
|
18877
19583
|
.UNINDENT
|
18878
19584
|
.UNINDENT
|
19585
|
+
.SS \fBDATABASE_TYPE_ID\fP
|
18879
19586
|
.sp
|
18880
|
-
\
|
19587
|
+
\fBDATABASE_TYPE_ID\fP は常に \fB55\fP です。
|
19588
|
+
.SS \fBDATABASE_TYPE_NAME\fP
|
18881
19589
|
.sp
|
18882
|
-
\
|
18883
|
-
.SS
|
18884
|
-
.INDENT 0.0
|
18885
|
-
.IP \(bu 2
|
18886
|
-
\fBplugin_register\fP
|
18887
|
-
.UNINDENT
|
18888
|
-
.SS \fBquit\fP
|
18889
|
-
.SS 概要
|
19590
|
+
\fBDATABASE_TYPE_NAME\fP は常に \fB"db"\fP です。
|
19591
|
+
.SS \fBDATABASE_NAME_TABLE\fP
|
18890
19592
|
.sp
|
18891
|
-
|
19593
|
+
\fBDATABASE_NAME_TABLE\fP はデータベース内のオブジェクト名を管理するテーブルです。このテーブルは table\-pat\-key または table\-dat\-key です。通常、 table\-dat\-key です。
|
18892
19594
|
.sp
|
18893
|
-
|
19595
|
+
フォーマットの詳細は \fI\%テーブル\fP を参照してください。
|
19596
|
+
.SS テーブル
|
18894
19597
|
.sp
|
18895
|
-
|
18896
|
-
.SS 構文
|
19598
|
+
テーブルを調査すると次の情報を返します。:
|
18897
19599
|
.INDENT 0.0
|
18898
19600
|
.INDENT 3.5
|
18899
19601
|
.sp
|
18900
19602
|
.nf
|
18901
19603
|
.ft C
|
18902
|
-
|
19604
|
+
{
|
19605
|
+
"name": TABLE_NAME,
|
19606
|
+
"type": {
|
19607
|
+
"id": TABLE_TYPE_ID,
|
19608
|
+
"name": TABLE_TYPE_NAME
|
19609
|
+
},
|
19610
|
+
"key": {
|
19611
|
+
"type": TABLE_KEY_TYPE,
|
19612
|
+
"total_size": TABLE_KEY_TOTAL_SIZE
|
19613
|
+
"max_total_size": TABLE_KEY_MAX_TOTAL_SIZE
|
19614
|
+
},
|
19615
|
+
"value": {
|
19616
|
+
"type": TABLE_VALUE_TYPE,
|
19617
|
+
},
|
19618
|
+
"n_records": TABLE_N_RECORDS
|
19619
|
+
}
|
18903
19620
|
.ft P
|
18904
19621
|
.fi
|
18905
19622
|
.UNINDENT
|
18906
19623
|
.UNINDENT
|
18907
|
-
.
|
19624
|
+
.sp
|
19625
|
+
いくつか例外があります。
|
18908
19626
|
.INDENT 0.0
|
18909
19627
|
.INDENT 3.5
|
18910
|
-
.
|
18911
|
-
.
|
18912
|
-
|
18913
|
-
|
18914
|
-
|
18915
|
-
.fi
|
19628
|
+
.INDENT 0.0
|
19629
|
+
.IP \(bu 2
|
19630
|
+
table\-no\-key はキーの情報を返しません。なぜならキーを持っていないからです。
|
19631
|
+
.IP \(bu 2
|
19632
|
+
table\-dat\-key は値の情報を返しません。なぜなら値を持っていないからです。
|
18916
19633
|
.UNINDENT
|
18917
19634
|
.UNINDENT
|
18918
|
-
.
|
18919
|
-
.
|
18920
|
-
ありません。
|
18921
|
-
.SS 戻り値
|
19635
|
+
.UNINDENT
|
19636
|
+
.SS \fBTABLE_NAME\fP
|
18922
19637
|
.sp
|
18923
|
-
|
18924
|
-
.SS \
|
18925
|
-
.SS 概要
|
19638
|
+
調査対象のテーブルの名前。
|
19639
|
+
.SS \fBTABLE_TYPE_ID\fP
|
18926
19640
|
.sp
|
18927
|
-
|
18928
|
-
.SS 構文
|
18929
|
-
.SS 使い方
|
18930
|
-
.SS 戻り値
|
18931
|
-
.SS 参考
|
18932
|
-
.INDENT 0.0
|
18933
|
-
.IP \(bu 2
|
18934
|
-
\fB/reference/commands/select\fP
|
18935
|
-
.UNINDENT
|
18936
|
-
.SS \fBregister\fP
|
19641
|
+
調査対象のテーブルの種類のID
|
18937
19642
|
.sp
|
18938
|
-
|
18939
|
-
|
18940
|
-
|
19643
|
+
以下は種類のIDのリストです。
|
19644
|
+
.TS
|
19645
|
+
center;
|
19646
|
+
|l|l|.
|
19647
|
+
_
|
19648
|
+
T{
|
19649
|
+
テーブルの種類
|
19650
|
+
T} T{
|
19651
|
+
ID
|
19652
|
+
T}
|
19653
|
+
_
|
19654
|
+
T{
|
19655
|
+
table\-hash\-key
|
19656
|
+
T} T{
|
19657
|
+
\fB48\fP
|
19658
|
+
T}
|
19659
|
+
_
|
19660
|
+
T{
|
19661
|
+
table\-pat\-key
|
19662
|
+
T} T{
|
19663
|
+
\fB49\fP
|
19664
|
+
T}
|
19665
|
+
_
|
19666
|
+
T{
|
19667
|
+
table\-dat\-key
|
19668
|
+
T} T{
|
19669
|
+
\fB50\fP
|
19670
|
+
T}
|
19671
|
+
_
|
19672
|
+
T{
|
19673
|
+
table\-no\-key
|
19674
|
+
T} T{
|
19675
|
+
\fB51\fP
|
19676
|
+
T}
|
19677
|
+
_
|
19678
|
+
.TE
|
19679
|
+
.SS \fBTABLE_TYPE_NAME\fP
|
18941
19680
|
.sp
|
18942
|
-
|
19681
|
+
調査対象のテーブルの種類の名前。
|
18943
19682
|
.sp
|
18944
|
-
|
19683
|
+
以下は種類の名前のリストです。
|
19684
|
+
.TS
|
19685
|
+
center;
|
19686
|
+
|l|l|.
|
19687
|
+
_
|
19688
|
+
T{
|
19689
|
+
テーブルの種類
|
19690
|
+
T} T{
|
19691
|
+
名前
|
19692
|
+
T}
|
19693
|
+
_
|
19694
|
+
T{
|
19695
|
+
table\-hash\-key
|
19696
|
+
T} T{
|
19697
|
+
\fB"table:hash_key"\fP
|
19698
|
+
T}
|
19699
|
+
_
|
19700
|
+
T{
|
19701
|
+
table\-pat\-key
|
19702
|
+
T} T{
|
19703
|
+
\fB"table:pat_key"\fP
|
19704
|
+
T}
|
19705
|
+
_
|
19706
|
+
T{
|
19707
|
+
table\-dat\-key
|
19708
|
+
T} T{
|
19709
|
+
\fB"table:dat_key"\fP
|
19710
|
+
T}
|
19711
|
+
_
|
19712
|
+
T{
|
19713
|
+
table\-no\-key
|
19714
|
+
T} T{
|
19715
|
+
\fB"table:no_key"\fP
|
19716
|
+
T}
|
19717
|
+
_
|
19718
|
+
.TE
|
19719
|
+
.SS \fBTABLE_KEY_TYPE\fP
|
18945
19720
|
.sp
|
18946
|
-
|
18947
|
-
.INDENT 0.0
|
18948
|
-
.INDENT 3.5
|
18949
|
-
Registered plugins can be removed since Groonga 5.0.1. Use
|
18950
|
-
\fBplugin_unregister\fP in such a case.
|
18951
|
-
.UNINDENT
|
18952
|
-
.UNINDENT
|
18953
|
-
.SS 構文
|
19721
|
+
調査対象のテーブルのキーの型。
|
18954
19722
|
.sp
|
18955
|
-
|
18956
|
-
.
|
18957
|
-
.INDENT 3.5
|
19723
|
+
フォーマットの詳細は \fI\%型\fP を参照してください。
|
19724
|
+
.SS \fBTABLE_KEY_TOTAL_SIZE\fP
|
18958
19725
|
.sp
|
18959
|
-
|
18960
|
-
.
|
18961
|
-
register path
|
18962
|
-
.ft P
|
18963
|
-
.fi
|
18964
|
-
.UNINDENT
|
18965
|
-
.UNINDENT
|
18966
|
-
.SS 使い方
|
19726
|
+
調査対象のテーブルの総キーサイズ。単位はバイト。
|
19727
|
+
.SS \fBTABLE_KEY_MAX_TOTAL_SIZE\fP
|
18967
19728
|
.sp
|
18968
|
-
|
19729
|
+
調査対象のテーブルの最大総キーサイズ。単位はバイト。
|
19730
|
+
.SS \fBTABLE_VALUE_TYPE\fP
|
18969
19731
|
.sp
|
18970
|
-
|
18971
|
-
.INDENT 0.0
|
18972
|
-
.INDENT 3.5
|
19732
|
+
The type of value of the inspected table.
|
18973
19733
|
.sp
|
18974
|
-
|
18975
|
-
.
|
18976
|
-
register query_expanders/tsv
|
18977
|
-
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
18978
|
-
.ft P
|
18979
|
-
.fi
|
18980
|
-
.UNINDENT
|
18981
|
-
.UNINDENT
|
19734
|
+
フォーマットの詳細は \fI\%型\fP を参照してください。
|
19735
|
+
.SS \fBTABLE_N_RECORDS\fP
|
18982
19736
|
.sp
|
18983
|
-
|
19737
|
+
The number of records of the inspected table.
|
18984
19738
|
.sp
|
18985
|
-
\
|
18986
|
-
.SS
|
19739
|
+
It\(aqs a 64bit unsigned integer value.
|
19740
|
+
.SS 型
|
18987
19741
|
.sp
|
18988
|
-
|
19742
|
+
型を調査すると次の情報を返します。
|
18989
19743
|
.INDENT 0.0
|
18990
19744
|
.INDENT 3.5
|
18991
19745
|
.sp
|
18992
19746
|
.nf
|
18993
19747
|
.ft C
|
18994
|
-
|
19748
|
+
{
|
19749
|
+
"id": TYPE_ID,
|
19750
|
+
"name": TYPE_NAME,
|
19751
|
+
"type": {
|
19752
|
+
"id": TYPE_ID_OF_TYPE,
|
19753
|
+
"name": TYPE_NAME_OF_TYPE
|
19754
|
+
},
|
19755
|
+
"size": TYPE_SIZE
|
19756
|
+
}
|
18995
19757
|
.ft P
|
18996
19758
|
.fi
|
18997
19759
|
.UNINDENT
|
18998
19760
|
.UNINDENT
|
19761
|
+
.SS \fBTYPE_ID\fP
|
18999
19762
|
.sp
|
19000
|
-
|
19001
|
-
.sp
|
19002
|
-
\fBHEADER\fP については \fB/reference/command/output_format\fP を参照してください。
|
19003
|
-
.SS 参考
|
19004
|
-
.INDENT 0.0
|
19005
|
-
.IP \(bu 2
|
19006
|
-
\fBplugin_register\fP
|
19007
|
-
.IP \(bu 2
|
19008
|
-
\fBplugin_unregister\fP
|
19009
|
-
.UNINDENT
|
19010
|
-
.SS \fBreindex\fP
|
19011
|
-
.SS 概要
|
19012
|
-
.sp
|
19013
|
-
バージョン 5.1.0 で追加.
|
19014
|
-
|
19015
|
-
.sp
|
19016
|
-
\fBreindex\fP コマンドは1つ以上のインデックスカラムを作り直します。
|
19017
|
-
.sp
|
19018
|
-
対象オブジェクトにデータベースを指定するとすべてのインデックスカラムを作り直します。
|
19019
|
-
.sp
|
19020
|
-
対象オブジェクトにテーブルを指定すると、そのテーブル内のすべてのインデックスカラムを作り直します。
|
19763
|
+
対象の型のIDです。
|
19021
19764
|
.sp
|
19022
|
-
|
19023
|
-
.
|
19024
|
-
|
19765
|
+
以下は組み込みの型のIDのリストです。
|
19766
|
+
.TS
|
19767
|
+
center;
|
19768
|
+
|l|l|.
|
19769
|
+
_
|
19770
|
+
T{
|
19771
|
+
型
|
19772
|
+
T} T{
|
19773
|
+
ID
|
19774
|
+
T}
|
19775
|
+
_
|
19776
|
+
T{
|
19777
|
+
builtin\-type\-bool
|
19778
|
+
T} T{
|
19779
|
+
\fB3\fP
|
19780
|
+
T}
|
19781
|
+
_
|
19782
|
+
T{
|
19783
|
+
builtin\-type\-int8
|
19784
|
+
T} T{
|
19785
|
+
\fB4\fP
|
19786
|
+
T}
|
19787
|
+
_
|
19788
|
+
T{
|
19789
|
+
builtin\-type\-uint8
|
19790
|
+
T} T{
|
19791
|
+
\fB5\fP
|
19792
|
+
T}
|
19793
|
+
_
|
19794
|
+
T{
|
19795
|
+
builtin\-type\-int16
|
19796
|
+
T} T{
|
19797
|
+
\fB6\fP
|
19798
|
+
T}
|
19799
|
+
_
|
19800
|
+
T{
|
19801
|
+
builtin\-type\-uint16
|
19802
|
+
T} T{
|
19803
|
+
\fB7\fP
|
19804
|
+
T}
|
19805
|
+
_
|
19806
|
+
T{
|
19807
|
+
builtin\-type\-int32
|
19808
|
+
T} T{
|
19809
|
+
\fB8\fP
|
19810
|
+
T}
|
19811
|
+
_
|
19812
|
+
T{
|
19813
|
+
builtin\-type\-uint32
|
19814
|
+
T} T{
|
19815
|
+
\fB9\fP
|
19816
|
+
T}
|
19817
|
+
_
|
19818
|
+
T{
|
19819
|
+
builtin\-type\-int64
|
19820
|
+
T} T{
|
19821
|
+
\fB10\fP
|
19822
|
+
T}
|
19823
|
+
_
|
19824
|
+
T{
|
19825
|
+
builtin\-type\-uint64
|
19826
|
+
T} T{
|
19827
|
+
\fB11\fP
|
19828
|
+
T}
|
19829
|
+
_
|
19830
|
+
T{
|
19831
|
+
builtin\-type\-float
|
19832
|
+
T} T{
|
19833
|
+
\fB12\fP
|
19834
|
+
T}
|
19835
|
+
_
|
19836
|
+
T{
|
19837
|
+
builtin\-type\-time
|
19838
|
+
T} T{
|
19839
|
+
\fB13\fP
|
19840
|
+
T}
|
19841
|
+
_
|
19842
|
+
T{
|
19843
|
+
builtin\-type\-short\-text
|
19844
|
+
T} T{
|
19845
|
+
\fB14\fP
|
19846
|
+
T}
|
19847
|
+
_
|
19848
|
+
T{
|
19849
|
+
builtin\-type\-text
|
19850
|
+
T} T{
|
19851
|
+
\fB15\fP
|
19852
|
+
T}
|
19853
|
+
_
|
19854
|
+
T{
|
19855
|
+
builtin\-type\-long\-text
|
19856
|
+
T} T{
|
19857
|
+
\fB16\fP
|
19858
|
+
T}
|
19859
|
+
_
|
19860
|
+
T{
|
19861
|
+
builtin\-type\-tokyo\-geo\-point
|
19862
|
+
T} T{
|
19863
|
+
\fB17\fP
|
19864
|
+
T}
|
19865
|
+
_
|
19866
|
+
T{
|
19867
|
+
builtin\-type\-wgs84\-geo\-point
|
19868
|
+
T} T{
|
19869
|
+
\fB18\fP
|
19870
|
+
T}
|
19871
|
+
_
|
19872
|
+
.TE
|
19873
|
+
.SS \fBTYPE_NAME\fP
|
19025
19874
|
.sp
|
19026
|
-
|
19875
|
+
調査対象の型の名前。
|
19027
19876
|
.sp
|
19028
|
-
|
19877
|
+
以下は組み込みの型の名前のリストです。
|
19029
19878
|
.INDENT 0.0
|
19030
19879
|
.INDENT 3.5
|
19031
|
-
|
19880
|
+
.INDENT 0.0
|
19881
|
+
.IP \(bu 2
|
19882
|
+
builtin\-type\-bool
|
19883
|
+
.IP \(bu 2
|
19884
|
+
builtin\-type\-int8
|
19885
|
+
.IP \(bu 2
|
19886
|
+
builtin\-type\-uint8
|
19887
|
+
.IP \(bu 2
|
19888
|
+
builtin\-type\-int16
|
19889
|
+
.IP \(bu 2
|
19890
|
+
builtin\-type\-uint16
|
19891
|
+
.IP \(bu 2
|
19892
|
+
builtin\-type\-int32
|
19893
|
+
.IP \(bu 2
|
19894
|
+
builtin\-type\-uint32
|
19895
|
+
.IP \(bu 2
|
19896
|
+
builtin\-type\-int64
|
19897
|
+
.IP \(bu 2
|
19898
|
+
builtin\-type\-uint64
|
19899
|
+
.IP \(bu 2
|
19900
|
+
builtin\-type\-float
|
19901
|
+
.IP \(bu 2
|
19902
|
+
builtin\-type\-time
|
19903
|
+
.IP \(bu 2
|
19904
|
+
builtin\-type\-short\-text
|
19905
|
+
.IP \(bu 2
|
19906
|
+
builtin\-type\-text
|
19907
|
+
.IP \(bu 2
|
19908
|
+
builtin\-type\-long\-text
|
19909
|
+
.IP \(bu 2
|
19910
|
+
builtin\-type\-tokyo\-geo\-point
|
19911
|
+
.IP \(bu 2
|
19912
|
+
builtin\-type\-wgs84\-geo\-point
|
19032
19913
|
.UNINDENT
|
19033
19914
|
.UNINDENT
|
19915
|
+
.UNINDENT
|
19916
|
+
.SS \fBTYPE_ID_OF_TYPE\fP
|
19917
|
+
.sp
|
19918
|
+
\fBTYPE_ID_OF_TYPE\fP は常に \fB32\fP です。
|
19919
|
+
.SS \fBTYPE_NAME_OF_TYPE\fP
|
19920
|
+
.sp
|
19921
|
+
\fBTYPE_NAME_OF_TYPE\fP は常に \fBtype\fP です。
|
19922
|
+
.SS \fBTYPE_SIZE\fP
|
19923
|
+
.sp
|
19924
|
+
\fBTYPE_SIZE\fP は調査対象の型のサイズです。単位はバイトです。調査対象の型が可変長型の場合は、サイズは最大サイズという意味です。
|
19925
|
+
.SS \fBobject_remove\fP
|
19926
|
+
.SS 概要
|
19927
|
+
.sp
|
19928
|
+
バージョン 6.0.0 で追加.
|
19929
|
+
|
19930
|
+
.sp
|
19931
|
+
\fBobject_remove\fP はオブジェクトを削除します。テーブル・カラム・コマンドなどあらゆるオブジェクトを削除できます。通常は \fBtable_remove\fP 、 \fBcolumn_remove\fP といった対象オブジェクト専用のコマンドを使うべきです。
|
19932
|
+
.sp
|
19933
|
+
\fBobject_remove\fP はあらゆるオブジェクトを削除できるため危険です。 \fBobject_remove\fP を使うときは注意してください。
|
19934
|
+
.sp
|
19935
|
+
\fBobject_remove\fP には「強制モード」があります。「強制モード」を使うと壊れたオブジェクトを削除できます。「強制モード」は \fB/reference/executables/grndb\fP が報告した問題を解決するために有用です。
|
19034
19936
|
.SS 構文
|
19035
19937
|
.sp
|
19036
|
-
|
19938
|
+
このコマンドには2つの引数があります。:
|
19037
19939
|
.INDENT 0.0
|
19038
19940
|
.INDENT 3.5
|
19039
19941
|
.sp
|
19040
19942
|
.nf
|
19041
19943
|
.ft C
|
19042
|
-
|
19944
|
+
object_remove name
|
19945
|
+
[force=no]
|
19043
19946
|
.ft P
|
19044
19947
|
.fi
|
19045
19948
|
.UNINDENT
|
19046
19949
|
.UNINDENT
|
19047
|
-
.sp
|
19048
|
-
\fBtarget_name\fP パラメーターを省略した場合は対象オブジェクトはデータベースになります。これは、データベース中のすべてのインデックスカラムを作りなおすという意味です。
|
19049
19950
|
.SS 使い方
|
19050
19951
|
.sp
|
19051
|
-
|
19952
|
+
\fBname\fP で指定したデータベース内のオブジェクトを削除できます。
|
19052
19953
|
.sp
|
19053
19954
|
実行例:
|
19054
19955
|
.INDENT 0.0
|
@@ -19056,14 +19957,37 @@ reindex [target_name=null]
|
|
19056
19957
|
.sp
|
19057
19958
|
.nf
|
19058
19959
|
.ft C
|
19059
|
-
|
19960
|
+
object_remove Users
|
19961
|
+
# [
|
19962
|
+
# [
|
19963
|
+
# \-22,
|
19964
|
+
# 1337566253.89858,
|
19965
|
+
# 0.000355720520019531,
|
19966
|
+
# "[object][remove] target object doesn\(aqt exist: <Users>",
|
19967
|
+
# [
|
19968
|
+
# [
|
19969
|
+
# "command_object_remove",
|
19970
|
+
# "proc_object.c",
|
19971
|
+
# 121
|
19972
|
+
# ]
|
19973
|
+
# ]
|
19974
|
+
# ],
|
19975
|
+
# false
|
19976
|
+
# ]
|
19977
|
+
table_create Users TABLE_HASH_KEY ShortText
|
19978
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19979
|
+
object_remove Users
|
19060
19980
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19061
19981
|
.ft P
|
19062
19982
|
.fi
|
19063
19983
|
.UNINDENT
|
19064
19984
|
.UNINDENT
|
19065
19985
|
.sp
|
19066
|
-
|
19986
|
+
\fBobject_remove Users\fP は \fBUsers\fP テーブルを作る前は \fBfalse\fP を返します。
|
19987
|
+
.sp
|
19988
|
+
\fBobject_remove Users\fP は \fBUsers\fP テーブルを作った後は \fBtrue\fP を返します。
|
19989
|
+
.sp
|
19990
|
+
デフォルトでは壊れたオブジェクトを削除することはできません。
|
19067
19991
|
.sp
|
19068
19992
|
実行例:
|
19069
19993
|
.INDENT 0.0
|
@@ -19071,28 +19995,38 @@ reindex
|
|
19071
19995
|
.sp
|
19072
19996
|
.nf
|
19073
19997
|
.ft C
|
19074
|
-
table_create
|
19075
|
-
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19076
|
-
column_create Entry body COLUMN_SCALAR Text
|
19077
|
-
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19078
|
-
table_create Lexicon TABLE_PAT_KEY ShortText \e
|
19079
|
-
\-\-default_tokenizer TokenBigram \e
|
19080
|
-
\-\-normalizer NormalizerAuto
|
19081
|
-
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19082
|
-
column_create Lexicon entry_key COLUMN_INDEX|WITH_POSITION \e
|
19083
|
-
Entry _key
|
19998
|
+
table_create Users TABLE_HASH_KEY ShortText
|
19084
19999
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19085
|
-
|
19086
|
-
|
20000
|
+
thread_limit 1
|
20001
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 1]
|
20002
|
+
database_unmap
|
19087
20003
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19088
|
-
|
20004
|
+
echo "BROKEN" > ${DB_PATH}.0000100
|
20005
|
+
object_remove Users
|
20006
|
+
# [
|
20007
|
+
# [
|
20008
|
+
# \-22,
|
20009
|
+
# 1337566253.89858,
|
20010
|
+
# 0.000355720520019531,
|
20011
|
+
# "[object][remove] failed to open the target object: <Users>",
|
20012
|
+
# [
|
20013
|
+
# [
|
20014
|
+
# "command_object_remove",
|
20015
|
+
# "proc_object.c",
|
20016
|
+
# 116
|
20017
|
+
# ]
|
20018
|
+
# ]
|
20019
|
+
# ],
|
20020
|
+
# false
|
20021
|
+
# ]
|
20022
|
+
object_exist Users
|
19089
20023
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19090
20024
|
.ft P
|
19091
20025
|
.fi
|
19092
20026
|
.UNINDENT
|
19093
20027
|
.UNINDENT
|
19094
20028
|
.sp
|
19095
|
-
|
20029
|
+
\fBforce yes\fP を指定することで壊れたオブジェクトを削除できます。
|
19096
20030
|
.sp
|
19097
20031
|
実行例:
|
19098
20032
|
.INDENT 0.0
|
@@ -19100,32 +20034,42 @@ reindex Lexicon
|
|
19100
20034
|
.sp
|
19101
20035
|
.nf
|
19102
20036
|
.ft C
|
19103
|
-
|
19104
|
-
# [
|
19105
|
-
|
19106
|
-
#
|
19107
|
-
|
19108
|
-
|
19109
|
-
|
19110
|
-
#
|
19111
|
-
|
19112
|
-
|
19113
|
-
#
|
19114
|
-
|
19115
|
-
|
19116
|
-
|
19117
|
-
#
|
19118
|
-
|
19119
|
-
|
19120
|
-
|
19121
|
-
|
19122
|
-
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20037
|
+
object_remove Users \-\-force yes
|
20038
|
+
# [
|
20039
|
+
# [
|
20040
|
+
# \-65,
|
20041
|
+
# 1337566253.89858,
|
20042
|
+
# 0.000355720520019531,
|
20043
|
+
# "[io][open] file size is too small: <7>(required: >= 64): </tmp/groonga\-databases/commands_object_remove.0000100>",
|
20044
|
+
# [
|
20045
|
+
# [
|
20046
|
+
# "grn_io_open",
|
20047
|
+
# "io.c",
|
20048
|
+
# 565
|
20049
|
+
# ]
|
20050
|
+
# ]
|
20051
|
+
# ],
|
20052
|
+
# false
|
20053
|
+
# ]
|
20054
|
+
object_exist Users
|
20055
|
+
# [[0, 1337566253.89858, 0.000355720520019531], false]
|
19123
20056
|
.ft P
|
19124
20057
|
.fi
|
19125
20058
|
.UNINDENT
|
19126
20059
|
.UNINDENT
|
19127
20060
|
.sp
|
19128
|
-
|
20061
|
+
\fB\-\-force yes\fP は「強制モード」を有効にするという意味です。「強制モード」では壊れたオブジェクトを削除することができます。
|
20062
|
+
.SS 引数
|
20063
|
+
.sp
|
20064
|
+
このセクションではすべての引数について説明します。
|
20065
|
+
.SS 必須引数
|
20066
|
+
.sp
|
20067
|
+
1つだけ必須の引数があります。
|
20068
|
+
.SS \fBname\fP
|
20069
|
+
.sp
|
20070
|
+
削除するテーブルの名前を指定します。
|
20071
|
+
.sp
|
20072
|
+
カラムを削除したいときは、次のように \fBテーブル名.カラム名\fP という書式を使ってください。
|
19129
20073
|
.sp
|
19130
20074
|
実行例:
|
19131
20075
|
.INDENT 0.0
|
@@ -19137,217 +20081,255 @@ table_create Logs TABLE_NO_KEY
|
|
19137
20081
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19138
20082
|
column_create Logs timestamp COLUMN_SCALAR Time
|
19139
20083
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19140
|
-
|
19141
|
-
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19142
|
-
column_create Timestamp logs_timestamp COLUMN_INDEX Logs timestamp
|
19143
|
-
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19144
|
-
reindex Timestamp.logs_timestamp
|
20084
|
+
object_remove Logs.timestamp
|
19145
20085
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19146
20086
|
.ft P
|
19147
20087
|
.fi
|
19148
20088
|
.UNINDENT
|
19149
20089
|
.UNINDENT
|
19150
|
-
.SS 引数
|
19151
20090
|
.sp
|
19152
|
-
|
19153
|
-
.SS
|
20091
|
+
\fBLogs.timestamp\fP 内の \fBLogs\fP がテーブル名で \fBtimestamp\fP がカラム名です。
|
20092
|
+
.SS 省略可能引数
|
19154
20093
|
.sp
|
19155
|
-
|
20094
|
+
省略可能な引数が1つあります。
|
20095
|
+
.SS \fBforce\fP
|
19156
20096
|
.sp
|
19157
|
-
|
20097
|
+
「強制モード」でオブジェクトを削除するかどうかを指定します。
|
19158
20098
|
.sp
|
19159
|
-
|
20099
|
+
デフォルトでは壊れたオブジェクトを削除できません。しかし、「強制モード」を使えば壊れたオブジェクトを削除できます。
|
20100
|
+
.sp
|
20101
|
+
\fBforce\fP の値は \fByes\fP または \fBno\fP でなければいけません。 \fByes\fP は「強制モード」を有効にするという意味です。 \fBno\fP は「強制モード」を無効にするという意味です。
|
20102
|
+
.sp
|
20103
|
+
デフォルト値は \fBno\fP です。デフォルトでは「強制モード」は無効ということです。
|
19160
20104
|
.SS 戻り値
|
19161
20105
|
.sp
|
19162
|
-
\
|
20106
|
+
エラーなしでデータベース内に指定した名前のオブジェクトを削除したときはボディは \fBtrue\fP をになります。例:
|
19163
20107
|
.INDENT 0.0
|
19164
20108
|
.INDENT 3.5
|
19165
20109
|
.sp
|
19166
20110
|
.nf
|
19167
20111
|
.ft C
|
19168
|
-
[HEADER,
|
20112
|
+
[HEADER, true]
|
19169
20113
|
.ft P
|
19170
20114
|
.fi
|
19171
20115
|
.UNINDENT
|
19172
20116
|
.UNINDENT
|
19173
20117
|
.sp
|
19174
|
-
\
|
20118
|
+
このコマンドを実行している最中になにかしらエラーが発生したときはボディは \fBfalse\fP になります。例:
|
19175
20119
|
.INDENT 0.0
|
19176
20120
|
.INDENT 3.5
|
19177
|
-
\fBHEADER\fP については \fB/reference/command/output_format\fP を参照してください。
|
19178
|
-
.UNINDENT
|
19179
|
-
.UNINDENT
|
19180
20121
|
.sp
|
19181
|
-
|
19182
|
-
.
|
19183
|
-
|
19184
|
-
|
20122
|
+
.nf
|
20123
|
+
.ft C
|
20124
|
+
[HEADER, false]
|
20125
|
+
.ft P
|
20126
|
+
.fi
|
19185
20127
|
.UNINDENT
|
19186
20128
|
.UNINDENT
|
19187
|
-
.SS \fBrequest_cancel\fP
|
19188
|
-
.SS 概要
|
19189
20129
|
.sp
|
19190
|
-
\fB
|
19191
|
-
.INDENT 0.0
|
19192
|
-
.INDENT 3.5
|
19193
|
-
このコマンドは実験的な機能です。
|
19194
|
-
.UNINDENT
|
19195
|
-
.UNINDENT
|
20130
|
+
\fBHEADER\fP については \fB/reference/command/output_format\fP を参照してください。
|
19196
20131
|
.sp
|
19197
|
-
|
20132
|
+
\fBfalse\fP が「このコマンドはオブジェクトを削除できなかった」ということを表すわけではないことに注意してください。「強制モード」を有効にすると、オブジェクトが壊れていても削除します。この場合、オブジェクトは削除されますが、ボディは \fBfalse\fP になります。
|
20133
|
+
.SS \fBplugin_register\fP
|
20134
|
+
.sp
|
20135
|
+
バージョン 5.0.1 で追加.
|
19198
20136
|
|
20137
|
+
.SS 概要
|
19199
20138
|
.sp
|
19200
|
-
\
|
20139
|
+
\fBplugin_register\fP コマンドはプラグインを登録します。プラグインを使う前にプラグインを登録する必要があります。
|
19201
20140
|
.sp
|
19202
|
-
|
20141
|
+
同じデータベースに対しては1つのプラグインについて一度だけ \fBplugin_register\fP コマンドを実行すれば十分です。これは、登録されたプラグイン情報はデータベースに記録されているからです。 \fBgroonga\fP プロセスを再起動したときは、 \fBregister\fP コマンドを実行しなくてもすでに登録されているプラグインを読み込みます。
|
20142
|
+
.sp
|
20143
|
+
\fBplugin_unregister\fP でプラグインの登録を解除することができます。
|
20144
|
+
.SS 構文
|
20145
|
+
.sp
|
20146
|
+
このコマンドの引数は1つで必須です:
|
19203
20147
|
.INDENT 0.0
|
19204
20148
|
.INDENT 3.5
|
19205
|
-
.
|
19206
|
-
.
|
19207
|
-
|
19208
|
-
|
19209
|
-
|
19210
|
-
.
|
19211
|
-
マルチスレッド型のGroongaサーバーのみサポートしています。( \fB/reference/executables/groonga\fP ベースのサーバーでは使えますが、 \fB/reference/executables/groonga\-httpd\fP では使えません。)
|
19212
|
-
.UNINDENT
|
20149
|
+
.sp
|
20150
|
+
.nf
|
20151
|
+
.ft C
|
20152
|
+
plugin_register name
|
20153
|
+
.ft P
|
20154
|
+
.fi
|
19213
20155
|
.UNINDENT
|
19214
20156
|
.UNINDENT
|
20157
|
+
.SS 使い方
|
19215
20158
|
.sp
|
19216
|
-
|
19217
|
-
.sp
|
19218
|
-
リクエストがキャンセルされたら、キャンセルされたリクエストの \fB/reference/command/return_code\fP は \fB\-5\fP ( \fBGRN_INTERRUPTED_FUNCTION_CALL\fP )になります。
|
19219
|
-
.SS 構文
|
20159
|
+
これは \fB${PREFIX}/lib/groonga/plugins/query_expanders/tsv.so\fP に含まれている \fBQueryExpanderTSV\fP クエリー展開オブジェクトを登録する例です。
|
19220
20160
|
.sp
|
19221
|
-
|
20161
|
+
実行例:
|
19222
20162
|
.INDENT 0.0
|
19223
20163
|
.INDENT 3.5
|
19224
20164
|
.sp
|
19225
20165
|
.nf
|
19226
20166
|
.ft C
|
19227
|
-
|
20167
|
+
plugin_register query_expanders/tsv
|
20168
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19228
20169
|
.ft P
|
19229
20170
|
.fi
|
19230
20171
|
.UNINDENT
|
19231
20172
|
.UNINDENT
|
19232
|
-
.SS 使い方
|
19233
20173
|
.sp
|
19234
|
-
|
20174
|
+
\fB${PREFIX}/lib/groonga/plugins/\fP と拡張子( \fB\&.so\fP )は省略可能です。これらは自動で補完されます。
|
20175
|
+
.sp
|
20176
|
+
\fBplugin_register /usr/lib/groonga/plugins/query_expanders/tsv.so\fP というように絶対パスを指定することもできます。
|
20177
|
+
.SS 戻り値
|
20178
|
+
.sp
|
20179
|
+
\fBplugin_register\fP が成功したときは以下のようにボディは \fBtrue\fP になります:
|
19235
20180
|
.INDENT 0.0
|
19236
20181
|
.INDENT 3.5
|
19237
20182
|
.sp
|
19238
20183
|
.nf
|
19239
20184
|
.ft C
|
19240
|
-
|
19241
|
-
# The above "select" takes a long time...
|
19242
|
-
# Point: "request_id=unique\-id\-1"
|
19243
|
-
$ curl \(aqhttp://localhost:10041/d/request_cancel?id=unique\-id\-1\(aq
|
19244
|
-
[[...], {"id": "unique\-id\-1", "canceled": true}]
|
19245
|
-
# Point: "id=unique\-id\-1"
|
20185
|
+
[HEADER, true]
|
19246
20186
|
.ft P
|
19247
20187
|
.fi
|
19248
20188
|
.UNINDENT
|
19249
20189
|
.UNINDENT
|
19250
20190
|
.sp
|
19251
|
-
|
20191
|
+
\fBplugin_register\fP が失敗すると、エラーの詳細は \fBHEADER\fP に含まれます。
|
19252
20192
|
.sp
|
19253
|
-
|
20193
|
+
\fBHEADER\fP については \fB/reference/command/output_format\fP を参照してください。
|
20194
|
+
.SS 参考
|
20195
|
+
.INDENT 0.0
|
20196
|
+
.IP \(bu 2
|
20197
|
+
\fBplugin_unregister\fP
|
20198
|
+
.UNINDENT
|
20199
|
+
.SS \fBplugin_unregister\fP
|
19254
20200
|
.sp
|
19255
|
-
|
20201
|
+
\fB注釈:\fP
|
20202
|
+
.INDENT 0.0
|
20203
|
+
.INDENT 3.5
|
20204
|
+
このコマンドは実験的な機能です。
|
20205
|
+
.UNINDENT
|
20206
|
+
.UNINDENT
|
19256
20207
|
.sp
|
19257
|
-
|
20208
|
+
バージョン 5.0.1 で追加.
|
20209
|
+
|
20210
|
+
.SS 概要
|
20211
|
+
.sp
|
20212
|
+
\fBplugin_unregister\fP コマンドはプラグインの登録を解除します。
|
20213
|
+
.SS 構文
|
20214
|
+
.sp
|
20215
|
+
このコマンドの引数は1つで必須です:
|
19258
20216
|
.INDENT 0.0
|
19259
20217
|
.INDENT 3.5
|
19260
20218
|
.sp
|
19261
20219
|
.nf
|
19262
20220
|
.ft C
|
19263
|
-
|
19264
|
-
[[...], {"id": "unique\-id\-1", "canceled": true}]
|
19265
|
-
# "select" is still running... ("canceled" is "true")
|
19266
|
-
$ curl \(aqhttp://localhost:10041/d/request_cancel?id=unique\-id\-1\(aq
|
19267
|
-
[[...], {"id": "unique\-id\-1", "canceled": true}]
|
19268
|
-
# "select" is still running... ("canceled" is "true")
|
19269
|
-
$ curl \(aqhttp://localhost:10041/d/request_cancel?id=unique\-id\-1\(aq
|
19270
|
-
[[...], {"id": "unique\-id\-1", "canceled": false}]
|
19271
|
-
# "select" is canceled or finished. ("canceled" is "false")
|
20221
|
+
plugin_unregister name
|
19272
20222
|
.ft P
|
19273
20223
|
.fi
|
19274
20224
|
.UNINDENT
|
19275
20225
|
.UNINDENT
|
20226
|
+
.SS 使い方
|
19276
20227
|
.sp
|
19277
|
-
|
20228
|
+
これは \fB${PREFIX}/lib/groonga/plugins/query_expanders/tsv.so\fP に含まれている \fBQueryExpanderTSV\fP クエリー展開オブジェクトの登録を解除する例です。
|
20229
|
+
.sp
|
20230
|
+
実行例:
|
19278
20231
|
.INDENT 0.0
|
19279
20232
|
.INDENT 3.5
|
19280
20233
|
.sp
|
19281
20234
|
.nf
|
19282
20235
|
.ft C
|
19283
|
-
|
19284
|
-
[[
|
20236
|
+
plugin_unregister query_expanders/tsv
|
20237
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19285
20238
|
.ft P
|
19286
20239
|
.fi
|
19287
20240
|
.UNINDENT
|
19288
20241
|
.UNINDENT
|
19289
|
-
.SS 引数
|
19290
20242
|
.sp
|
19291
|
-
|
19292
|
-
.SS 必須引数
|
19293
|
-
.sp
|
19294
|
-
\fBid\fP だけが必須の引数です。
|
19295
|
-
.SS \fBid\fP
|
20243
|
+
\fB${PREFIX}/lib/groonga/plugins/\fP と拡張子( \fB\&.so\fP )は省略可能です。これらは自動で補完されます。
|
19296
20244
|
.sp
|
19297
|
-
|
20245
|
+
\fBplugin_unregister /usr/lib/groonga/plugins/query_expanders/tsv.so\fP というように絶対パスを指定することもできます。
|
19298
20246
|
.SS 戻り値
|
19299
20247
|
.sp
|
19300
|
-
\
|
20248
|
+
\fBplugin_unregister\fP が成功したときは以下のようにボディは \fBtrue\fP になります:
|
19301
20249
|
.INDENT 0.0
|
19302
20250
|
.INDENT 3.5
|
19303
20251
|
.sp
|
19304
20252
|
.nf
|
19305
20253
|
.ft C
|
19306
|
-
[
|
19307
|
-
HEADER,
|
19308
|
-
{
|
19309
|
-
"id": ID,
|
19310
|
-
"canceled": CANCEL_REQUEST_IS_ACCEPTED_OR_NOT
|
19311
|
-
}
|
19312
|
-
]
|
20254
|
+
[HEADER, true]
|
19313
20255
|
.ft P
|
19314
20256
|
.fi
|
19315
20257
|
.UNINDENT
|
19316
20258
|
.UNINDENT
|
19317
20259
|
.sp
|
19318
|
-
\fBHEADER\fP
|
19319
|
-
.
|
19320
|
-
.INDENT 3.5
|
20260
|
+
\fBplugin_unregister\fP が失敗すると、エラーの詳細は \fBHEADER\fP に含まれます。
|
20261
|
+
.sp
|
19321
20262
|
\fBHEADER\fP については \fB/reference/command/output_format\fP を参照してください。
|
20263
|
+
.SS 参考
|
20264
|
+
.INDENT 0.0
|
20265
|
+
.IP \(bu 2
|
20266
|
+
\fBplugin_register\fP
|
19322
20267
|
.UNINDENT
|
19323
|
-
.
|
20268
|
+
.SS \fBquit\fP
|
20269
|
+
.SS 概要
|
19324
20270
|
.sp
|
19325
|
-
|
20271
|
+
quit \- セッション終了
|
20272
|
+
.sp
|
20273
|
+
Groonga組込コマンドの一つであるquitについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
|
20274
|
+
.sp
|
20275
|
+
quitは、groongaプロセスとのセッションを終了します。クライアントプロセスならばgroongaプロセスとの接続を切ります。
|
20276
|
+
.SS 構文
|
19326
20277
|
.INDENT 0.0
|
19327
20278
|
.INDENT 3.5
|
19328
|
-
|
20279
|
+
.sp
|
20280
|
+
.nf
|
20281
|
+
.ft C
|
20282
|
+
quit
|
20283
|
+
.ft P
|
20284
|
+
.fi
|
19329
20285
|
.UNINDENT
|
19330
20286
|
.UNINDENT
|
19331
|
-
.
|
19332
|
-
\fBCANCEL_REQUEST_IS_ACCEPTED_OR_NOT\fP
|
20287
|
+
.SS 使い方
|
19333
20288
|
.INDENT 0.0
|
19334
20289
|
.INDENT 3.5
|
19335
|
-
もし、このキャンセルリクエストが受け付けられたら \fBtrue\fP 、そうでなければ \fBfalse\fP になります。
|
19336
20290
|
.sp
|
19337
|
-
|
19338
|
-
.
|
19339
|
-
|
20291
|
+
.nf
|
20292
|
+
.ft C
|
20293
|
+
quit
|
20294
|
+
.ft P
|
20295
|
+
.fi
|
19340
20296
|
.UNINDENT
|
19341
20297
|
.UNINDENT
|
20298
|
+
.SS 引数
|
20299
|
+
.sp
|
20300
|
+
ありません。
|
20301
|
+
.SS 戻り値
|
20302
|
+
.sp
|
20303
|
+
ありません。
|
20304
|
+
.SS \fBrange_filter\fP
|
20305
|
+
.SS 概要
|
20306
|
+
.sp
|
20307
|
+
TODO: write me
|
20308
|
+
.SS 構文
|
20309
|
+
.SS 使い方
|
20310
|
+
.SS 戻り値
|
19342
20311
|
.SS 参考
|
19343
20312
|
.INDENT 0.0
|
19344
20313
|
.IP \(bu 2
|
19345
|
-
\fB/reference/
|
20314
|
+
\fB/reference/commands/select\fP
|
19346
20315
|
.UNINDENT
|
19347
|
-
.SS \
|
20316
|
+
.SS \fBregister\fP
|
20317
|
+
.sp
|
20318
|
+
バージョン 5.0.1 で撤廃: Use \fBplugin_register\fP instead.
|
20319
|
+
|
19348
20320
|
.SS 概要
|
19349
20321
|
.sp
|
19350
|
-
\
|
20322
|
+
\fBregister\fP コマンドはプラグインを登録します。プラグインを使う前にプラグインを登録する必要があります。
|
20323
|
+
.sp
|
20324
|
+
同じデータベースに対しては1つのプラグインについて一度だけ \fIregister\(ga\fP コマンドを実行すれば十分です。これは、登録されたプラグイン情報はデータベースに記録されているからです。 \fBgroonga\fP プロセスを再起動したときは、 \fBregister\fP コマンドを実行しなくてもすでに登録されているプラグインを読み込みます。
|
20325
|
+
.sp
|
20326
|
+
\fB注釈:\fP
|
20327
|
+
.INDENT 0.0
|
20328
|
+
.INDENT 3.5
|
20329
|
+
Registered plugins can be removed since Groonga 5.0.1. Use
|
20330
|
+
\fBplugin_unregister\fP in such a case.
|
20331
|
+
.UNINDENT
|
20332
|
+
.UNINDENT
|
19351
20333
|
.SS 構文
|
19352
20334
|
.sp
|
19353
20335
|
このコマンドの引数は1つで必須です:
|
@@ -19356,16 +20338,14 @@ $ curl \(aqhttp://localhost:10041/d/select?table=LargeTable&filter=true&request_
|
|
19356
20338
|
.sp
|
19357
20339
|
.nf
|
19358
20340
|
.ft C
|
19359
|
-
|
20341
|
+
register path
|
19360
20342
|
.ft P
|
19361
20343
|
.fi
|
19362
20344
|
.UNINDENT
|
19363
20345
|
.UNINDENT
|
19364
20346
|
.SS 使い方
|
19365
20347
|
.sp
|
19366
|
-
\
|
19367
|
-
.sp
|
19368
|
-
Rubyスクリプトとして \fB1 + 2\fP という計算するだけの例です。
|
20348
|
+
これは \fB${PREFIX}/lib/groonga/plugins/query_expanders/tsv.so\fP に含まれている \fBQueryExpanderTSV\fP クエリー展開オブジェクトを登録する例です。
|
19369
20349
|
.sp
|
19370
20350
|
実行例:
|
19371
20351
|
.INDENT 0.0
|
@@ -19373,76 +20353,82 @@ Rubyスクリプトとして \fB1 + 2\fP という計算するだけの例です
|
|
19373
20353
|
.sp
|
19374
20354
|
.nf
|
19375
20355
|
.ft C
|
19376
|
-
register
|
20356
|
+
register query_expanders/tsv
|
19377
20357
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19378
|
-
ruby_eval "1 + 2"
|
19379
|
-
# [[0, 1337566253.89858, 0.000355720520019531], {"value": 3}]
|
19380
20358
|
.ft P
|
19381
20359
|
.fi
|
19382
20360
|
.UNINDENT
|
19383
20361
|
.UNINDENT
|
19384
20362
|
.sp
|
19385
|
-
\
|
19386
|
-
.sp
|
19387
|
-
\fBruby_eval\fP コマンドは実験的なプラグインです。このコマンドは将来的に変更されるかもしれません。
|
19388
|
-
.SS 引数
|
19389
|
-
.sp
|
19390
|
-
このセクションではすべての引数について説明します。
|
19391
|
-
.SS \fBscript\fP
|
20363
|
+
\fB${PREFIX}/lib/groonga/plugins/\fP と拡張子( \fB\&.so\fP )は省略可能です。これらは自動で補完されます。
|
19392
20364
|
.sp
|
19393
|
-
|
20365
|
+
\fBregister /usr/lib/groonga/plugins/query_expanders/tsv.so\fP というように絶対パスを指定することもできます。
|
19394
20366
|
.SS 戻り値
|
19395
20367
|
.sp
|
19396
|
-
\
|
20368
|
+
\fBregister\fP が成功したときは以下のようにボディは \fBtrue\fP になります:
|
19397
20369
|
.INDENT 0.0
|
19398
20370
|
.INDENT 3.5
|
19399
20371
|
.sp
|
19400
20372
|
.nf
|
19401
20373
|
.ft C
|
19402
|
-
[HEADER,
|
20374
|
+
[HEADER, true]
|
19403
20375
|
.ft P
|
19404
20376
|
.fi
|
19405
20377
|
.UNINDENT
|
19406
20378
|
.UNINDENT
|
19407
20379
|
.sp
|
19408
|
-
\fBHEADER\fP
|
19409
|
-
.
|
19410
|
-
.INDENT 3.5
|
20380
|
+
\fBregister\fP が失敗すると、エラーの詳細は \fBHEADER\fP に含まれます。
|
20381
|
+
.sp
|
19411
20382
|
\fBHEADER\fP については \fB/reference/command/output_format\fP を参照してください。
|
20383
|
+
.SS 参考
|
20384
|
+
.INDENT 0.0
|
20385
|
+
.IP \(bu 2
|
20386
|
+
\fBplugin_register\fP
|
20387
|
+
.IP \(bu 2
|
20388
|
+
\fBplugin_unregister\fP
|
19412
20389
|
.UNINDENT
|
19413
|
-
.
|
20390
|
+
.SS \fBreindex\fP
|
20391
|
+
.SS 概要
|
19414
20392
|
.sp
|
19415
|
-
|
20393
|
+
バージョン 5.1.0 で追加.
|
20394
|
+
|
20395
|
+
.sp
|
20396
|
+
\fBreindex\fP コマンドは1つ以上のインデックスカラムを作り直します。
|
20397
|
+
.sp
|
20398
|
+
対象オブジェクトにデータベースを指定するとすべてのインデックスカラムを作り直します。
|
20399
|
+
.sp
|
20400
|
+
対象オブジェクトにテーブルを指定すると、そのテーブル内のすべてのインデックスカラムを作り直します。
|
20401
|
+
.sp
|
20402
|
+
対象オブジェクトにデータカラムを指定すると、そのデータカラム用のすべてのインデックスカラムを作り直します。
|
20403
|
+
.sp
|
20404
|
+
対象オブジェクトにインデックスカラムを指定すると、そのインデックスカラムを作り直します。
|
20405
|
+
.sp
|
20406
|
+
このコマンドはインデックスカラムが壊れたときに便利です。対象オブジェクトはデータベース、テーブル、カラムのどれかです。
|
20407
|
+
.sp
|
20408
|
+
\fB注釈:\fP
|
19416
20409
|
.INDENT 0.0
|
19417
20410
|
.INDENT 3.5
|
19418
|
-
\
|
19419
|
-
.sp
|
19420
|
-
今のところ、 \fBruby_eval\fP は評価された値として数値だけサポートしています。サポートしている型は今後増えていく予定です。
|
20411
|
+
\fBreindex\fP コマンドを実行している間は対象インデックスカラムを使うことはできません。もし、複数のプロセスから同じデータベースを使っている場合、 \fBreindex\fP を実行したプロセス以外のすべてのプロセスはデータベースを開き直すべきです。データベースを開き直すには \fBdatabase_unmap\fP を使えます。
|
19421
20412
|
.UNINDENT
|
19422
20413
|
.UNINDENT
|
19423
|
-
.SS 参考
|
19424
|
-
.SS \fBruby_load\fP
|
19425
|
-
.SS 概要
|
19426
|
-
.sp
|
19427
|
-
\fBruby_load\fP コマンドは指定したRubyスクリプトを読み込みます。
|
19428
20414
|
.SS 構文
|
19429
20415
|
.sp
|
19430
|
-
このコマンドの引数は1
|
20416
|
+
このコマンドの引数は1つで省略できます:
|
19431
20417
|
.INDENT 0.0
|
19432
20418
|
.INDENT 3.5
|
19433
20419
|
.sp
|
19434
20420
|
.nf
|
19435
20421
|
.ft C
|
19436
|
-
|
20422
|
+
reindex [target_name=null]
|
19437
20423
|
.ft P
|
19438
20424
|
.fi
|
19439
20425
|
.UNINDENT
|
19440
20426
|
.UNINDENT
|
19441
|
-
.SS 使い方
|
19442
20427
|
.sp
|
19443
|
-
\
|
20428
|
+
\fBtarget_name\fP パラメーターを省略した場合は対象オブジェクトはデータベースになります。これは、データベース中のすべてのインデックスカラムを作りなおすという意味です。
|
20429
|
+
.SS 使い方
|
19444
20430
|
.sp
|
19445
|
-
|
20431
|
+
以下はデータベースの中のすべてのインデックスカラムを作り直す例です。
|
19446
20432
|
.sp
|
19447
20433
|
実行例:
|
19448
20434
|
.INDENT 0.0
|
@@ -19450,16 +20436,410 @@ Rubyスクリプトとして \fBexpression.rb\fP を単に読み込む例です
|
|
19450
20436
|
.sp
|
19451
20437
|
.nf
|
19452
20438
|
.ft C
|
19453
|
-
|
20439
|
+
reindex
|
19454
20440
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19455
|
-
ruby_load "expression.rb"
|
19456
|
-
# [[0, 1337566253.89858, 0.000355720520019531], {"value": null}]
|
19457
20441
|
.ft P
|
19458
20442
|
.fi
|
19459
20443
|
.UNINDENT
|
19460
20444
|
.UNINDENT
|
19461
20445
|
.sp
|
19462
|
-
\
|
20446
|
+
以下は \fBLexicon\fP テーブルの中のすべてのインデックスカラム( \fBLexicon.entry_key\fP と \fBLexicon.entry_body\fP )を作り直す例です。
|
20447
|
+
.sp
|
20448
|
+
実行例:
|
20449
|
+
.INDENT 0.0
|
20450
|
+
.INDENT 3.5
|
20451
|
+
.sp
|
20452
|
+
.nf
|
20453
|
+
.ft C
|
20454
|
+
table_create Entry TABLE_HASH_KEY ShortText
|
20455
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20456
|
+
column_create Entry body COLUMN_SCALAR Text
|
20457
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20458
|
+
table_create Lexicon TABLE_PAT_KEY ShortText \e
|
20459
|
+
\-\-default_tokenizer TokenBigram \e
|
20460
|
+
\-\-normalizer NormalizerAuto
|
20461
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20462
|
+
column_create Lexicon entry_key COLUMN_INDEX|WITH_POSITION \e
|
20463
|
+
Entry _key
|
20464
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20465
|
+
column_create Lexicon entry_body COLUMN_INDEX|WITH_POSITION \e
|
20466
|
+
Entry body
|
20467
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20468
|
+
reindex Lexicon
|
20469
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20470
|
+
.ft P
|
20471
|
+
.fi
|
20472
|
+
.UNINDENT
|
20473
|
+
.UNINDENT
|
20474
|
+
.sp
|
20475
|
+
以下は \fBSite.title\fP データカラムのすべてのインデックスカラム( \fBBigramLexicon.site_title\fP と \fBRegexpLexicon.site_title\fP )を作り直す例です。
|
20476
|
+
.sp
|
20477
|
+
実行例:
|
20478
|
+
.INDENT 0.0
|
20479
|
+
.INDENT 3.5
|
20480
|
+
.sp
|
20481
|
+
.nf
|
20482
|
+
.ft C
|
20483
|
+
table_create Site TABLE_HASH_KEY ShortText
|
20484
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20485
|
+
column_create Site title COLUMN_SCALAR ShortText
|
20486
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20487
|
+
table_create BigramLexicon TABLE_PAT_KEY ShortText \e
|
20488
|
+
\-\-default_tokenizer TokenBigram \e
|
20489
|
+
\-\-normalizer NormalizerAuto
|
20490
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20491
|
+
column_create BigramLexicon site_title COLUMN_INDEX|WITH_POSITION \e
|
20492
|
+
Site title
|
20493
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20494
|
+
table_create RegexpLexicon TABLE_PAT_KEY ShortText \e
|
20495
|
+
\-\-default_tokenizer TokenRegexp \e
|
20496
|
+
\-\-normalizer NormalizerAuto
|
20497
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20498
|
+
column_create RegexpLexicon site_title COLUMN_INDEX|WITH_POSITION \e
|
20499
|
+
Site title
|
20500
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20501
|
+
reindex Site.title
|
20502
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20503
|
+
.ft P
|
20504
|
+
.fi
|
20505
|
+
.UNINDENT
|
20506
|
+
.UNINDENT
|
20507
|
+
.sp
|
20508
|
+
以下は1つのインデックスカラム( \fBTimestamp.index\fP )を作り直す例です。
|
20509
|
+
.sp
|
20510
|
+
実行例:
|
20511
|
+
.INDENT 0.0
|
20512
|
+
.INDENT 3.5
|
20513
|
+
.sp
|
20514
|
+
.nf
|
20515
|
+
.ft C
|
20516
|
+
table_create Logs TABLE_NO_KEY
|
20517
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20518
|
+
column_create Logs timestamp COLUMN_SCALAR Time
|
20519
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20520
|
+
table_create Timestamp TABLE_PAT_KEY Time
|
20521
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20522
|
+
column_create Timestamp logs_timestamp COLUMN_INDEX Logs timestamp
|
20523
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20524
|
+
reindex Timestamp.logs_timestamp
|
20525
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20526
|
+
.ft P
|
20527
|
+
.fi
|
20528
|
+
.UNINDENT
|
20529
|
+
.UNINDENT
|
20530
|
+
.SS 引数
|
20531
|
+
.sp
|
20532
|
+
このセクションではすべての引数について説明します。
|
20533
|
+
.SS \fBtarget_name\fP
|
20534
|
+
.sp
|
20535
|
+
テーブル名またはカラム名を指定します。
|
20536
|
+
.sp
|
20537
|
+
指定しなかったら対象オブジェクトはデータベースになります。
|
20538
|
+
.sp
|
20539
|
+
デフォルト値はありません。これは対象オブジェクトはデータベースになるということです。
|
20540
|
+
.SS 戻り値
|
20541
|
+
.sp
|
20542
|
+
\fBreindex\fP コマンドは作り直しが成功したかどうかを返します。:
|
20543
|
+
.INDENT 0.0
|
20544
|
+
.INDENT 3.5
|
20545
|
+
.sp
|
20546
|
+
.nf
|
20547
|
+
.ft C
|
20548
|
+
[HEADER, SUCCEEDED_OR_NOT]
|
20549
|
+
.ft P
|
20550
|
+
.fi
|
20551
|
+
.UNINDENT
|
20552
|
+
.UNINDENT
|
20553
|
+
.sp
|
20554
|
+
\fBHEADER\fP
|
20555
|
+
.INDENT 0.0
|
20556
|
+
.INDENT 3.5
|
20557
|
+
\fBHEADER\fP については \fB/reference/command/output_format\fP を参照してください。
|
20558
|
+
.UNINDENT
|
20559
|
+
.UNINDENT
|
20560
|
+
.sp
|
20561
|
+
\fBSUCCEEDED_OR_NOT\fP
|
20562
|
+
.INDENT 0.0
|
20563
|
+
.INDENT 3.5
|
20564
|
+
コマンドの実行が成功するとtrueを返します。失敗するとエラーとしてfalseを返します。
|
20565
|
+
.UNINDENT
|
20566
|
+
.UNINDENT
|
20567
|
+
.SS \fBrequest_cancel\fP
|
20568
|
+
.SS 概要
|
20569
|
+
.sp
|
20570
|
+
\fB注釈:\fP
|
20571
|
+
.INDENT 0.0
|
20572
|
+
.INDENT 3.5
|
20573
|
+
このコマンドは実験的な機能です。
|
20574
|
+
.UNINDENT
|
20575
|
+
.UNINDENT
|
20576
|
+
.sp
|
20577
|
+
バージョン 4.0.9 で追加.
|
20578
|
+
|
20579
|
+
.sp
|
20580
|
+
\fBrequest_cancel\fP コマンドは実行中のリクエストをキャンセルします。
|
20581
|
+
.sp
|
20582
|
+
いくつか制限があります。
|
20583
|
+
.INDENT 0.0
|
20584
|
+
.INDENT 3.5
|
20585
|
+
.INDENT 0.0
|
20586
|
+
.IP \(bu 2
|
20587
|
+
リクエストIDはユーザーが管理する必要があります。(各リクエストに一意のキーを割り当てる必要があります。)
|
20588
|
+
.IP \(bu 2
|
20589
|
+
キャンセルリクエストは無視されることもあります。(同じリクエストIDに対して何度も \fBrequest_cancel\fP コマンドを送信することができます。)
|
20590
|
+
.IP \(bu 2
|
20591
|
+
マルチスレッド型のGroongaサーバーのみサポートしています。( \fB/reference/executables/groonga\fP ベースのサーバーでは使えますが、 \fB/reference/executables/groonga\-httpd\fP では使えません。)
|
20592
|
+
.UNINDENT
|
20593
|
+
.UNINDENT
|
20594
|
+
.UNINDENT
|
20595
|
+
.sp
|
20596
|
+
リクエストIDについては \fB/reference/command/request_id\fP を参照してください。
|
20597
|
+
.sp
|
20598
|
+
リクエストがキャンセルされたら、キャンセルされたリクエストの \fB/reference/command/return_code\fP は \fB\-5\fP ( \fBGRN_INTERRUPTED_FUNCTION_CALL\fP )になります。
|
20599
|
+
.SS 構文
|
20600
|
+
.sp
|
20601
|
+
このコマンドの引数は1つで必須です:
|
20602
|
+
.INDENT 0.0
|
20603
|
+
.INDENT 3.5
|
20604
|
+
.sp
|
20605
|
+
.nf
|
20606
|
+
.ft C
|
20607
|
+
request_cancel id
|
20608
|
+
.ft P
|
20609
|
+
.fi
|
20610
|
+
.UNINDENT
|
20611
|
+
.UNINDENT
|
20612
|
+
.SS 使い方
|
20613
|
+
.sp
|
20614
|
+
以下は \fBrequest_cancel\fP コマンドの使用例です:
|
20615
|
+
.INDENT 0.0
|
20616
|
+
.INDENT 3.5
|
20617
|
+
.sp
|
20618
|
+
.nf
|
20619
|
+
.ft C
|
20620
|
+
$ curl \(aqhttp://localhost:10041/d/select?table=LargeTable&filter=true&request_id=unique\-id\-1\(aq &
|
20621
|
+
# The above "select" takes a long time...
|
20622
|
+
# Point: "request_id=unique\-id\-1"
|
20623
|
+
$ curl \(aqhttp://localhost:10041/d/request_cancel?id=unique\-id\-1\(aq
|
20624
|
+
[[...], {"id": "unique\-id\-1", "canceled": true}]
|
20625
|
+
# Point: "id=unique\-id\-1"
|
20626
|
+
.ft P
|
20627
|
+
.fi
|
20628
|
+
.UNINDENT
|
20629
|
+
.UNINDENT
|
20630
|
+
.sp
|
20631
|
+
最初の \fBselect\fP コマンドが長時間かかると仮定します。 \fBrequest_id=unique\-id\-1\fP パラメーターを指定することで \fBunique\-id\-1\fP というリクエストIDをこの \fBselect\fP コマンドに割り当てます。
|
20632
|
+
.sp
|
20633
|
+
2つめの \fBrequest_cancel\fP コマンドで \fBid=unique\-id\-1\fP パラメーターを指定しています。 \fBunique\-id\-1\fP は \fBselect\fP コマンドに渡したリクエストIDと同じリクエストIDです。
|
20634
|
+
.sp
|
20635
|
+
この \fBselect\fP コマンドはすぐにはキャンセルされないかもしれません。また、このキャンセルリクエストは無視されることもあります。
|
20636
|
+
.sp
|
20637
|
+
同じリクエストIDに対するキャンセルリクエストを複数回送ることができます。もし、対象のリクエストがキャンセルされたか終了した場合は戻り値の中の \fB"canceled"\fP の値が \fBtrue\fP から \fBfalse\fP に変わります。
|
20638
|
+
.INDENT 0.0
|
20639
|
+
.INDENT 3.5
|
20640
|
+
.sp
|
20641
|
+
.nf
|
20642
|
+
.ft C
|
20643
|
+
$ curl \(aqhttp://localhost:10041/d/request_cancel?id=unique\-id\-1\(aq
|
20644
|
+
[[...], {"id": "unique\-id\-1", "canceled": true}]
|
20645
|
+
# "select" is still running... ("canceled" is "true")
|
20646
|
+
$ curl \(aqhttp://localhost:10041/d/request_cancel?id=unique\-id\-1\(aq
|
20647
|
+
[[...], {"id": "unique\-id\-1", "canceled": true}]
|
20648
|
+
# "select" is still running... ("canceled" is "true")
|
20649
|
+
$ curl \(aqhttp://localhost:10041/d/request_cancel?id=unique\-id\-1\(aq
|
20650
|
+
[[...], {"id": "unique\-id\-1", "canceled": false}]
|
20651
|
+
# "select" is canceled or finished. ("canceled" is "false")
|
20652
|
+
.ft P
|
20653
|
+
.fi
|
20654
|
+
.UNINDENT
|
20655
|
+
.UNINDENT
|
20656
|
+
.sp
|
20657
|
+
もし、この \fBselect\fP コマンドがキャンセルされたら、 \fBselect\fP コマンドの \fB/reference/command/return_code\fP は \fB\-5\fP ( \fBGRN_INTERRUPTED_FUNCTION_CALL\fP )になります。:
|
20658
|
+
.INDENT 0.0
|
20659
|
+
.INDENT 3.5
|
20660
|
+
.sp
|
20661
|
+
.nf
|
20662
|
+
.ft C
|
20663
|
+
$ curl \(aqhttp://localhost:10041/d/select?table=LargeTable&filter=true&request_id=unique\-id\-1\(aq &
|
20664
|
+
[[\-5, ...], ...]
|
20665
|
+
.ft P
|
20666
|
+
.fi
|
20667
|
+
.UNINDENT
|
20668
|
+
.UNINDENT
|
20669
|
+
.SS 引数
|
20670
|
+
.sp
|
20671
|
+
このセクションでは \fBrequest_cancel\fP の引数について説明します。
|
20672
|
+
.SS 必須引数
|
20673
|
+
.sp
|
20674
|
+
\fBid\fP だけが必須の引数です。
|
20675
|
+
.SS \fBid\fP
|
20676
|
+
.sp
|
20677
|
+
対象リクエストのIDを指定します。
|
20678
|
+
.SS 戻り値
|
20679
|
+
.sp
|
20680
|
+
\fBrequest_cancel\fP コマンドはキャンセルリクエストの結果を返します。:
|
20681
|
+
.INDENT 0.0
|
20682
|
+
.INDENT 3.5
|
20683
|
+
.sp
|
20684
|
+
.nf
|
20685
|
+
.ft C
|
20686
|
+
[
|
20687
|
+
HEADER,
|
20688
|
+
{
|
20689
|
+
"id": ID,
|
20690
|
+
"canceled": CANCEL_REQUEST_IS_ACCEPTED_OR_NOT
|
20691
|
+
}
|
20692
|
+
]
|
20693
|
+
.ft P
|
20694
|
+
.fi
|
20695
|
+
.UNINDENT
|
20696
|
+
.UNINDENT
|
20697
|
+
.sp
|
20698
|
+
\fBHEADER\fP
|
20699
|
+
.INDENT 0.0
|
20700
|
+
.INDENT 3.5
|
20701
|
+
\fBHEADER\fP については \fB/reference/command/output_format\fP を参照してください。
|
20702
|
+
.UNINDENT
|
20703
|
+
.UNINDENT
|
20704
|
+
.sp
|
20705
|
+
\fBID\fP
|
20706
|
+
.INDENT 0.0
|
20707
|
+
.INDENT 3.5
|
20708
|
+
対象のリクエストのIDです。
|
20709
|
+
.UNINDENT
|
20710
|
+
.UNINDENT
|
20711
|
+
.sp
|
20712
|
+
\fBCANCEL_REQUEST_IS_ACCEPTED_OR_NOT\fP
|
20713
|
+
.INDENT 0.0
|
20714
|
+
.INDENT 3.5
|
20715
|
+
もし、このキャンセルリクエストが受け付けられたら \fBtrue\fP 、そうでなければ \fBfalse\fP になります。
|
20716
|
+
.sp
|
20717
|
+
「キャンセルリクエストが受け付けられた」というのは「対象リクエストがキャンセルされた」という意味ではないことに注意してください。これは「キャンセルリクエストは対象リクエストに通知したが、対象リクエストはそのキャンセルリクエストを無視するかもしれない」という意味です。
|
20718
|
+
.sp
|
20719
|
+
指定したリクエストIDが割り当てられているリクエストが存在しなければ \fBfalse\fP になります。
|
20720
|
+
.UNINDENT
|
20721
|
+
.UNINDENT
|
20722
|
+
.SS 参考
|
20723
|
+
.INDENT 0.0
|
20724
|
+
.IP \(bu 2
|
20725
|
+
\fB/reference/command/request_id\fP
|
20726
|
+
.UNINDENT
|
20727
|
+
.SS \fBruby_eval\fP
|
20728
|
+
.SS 概要
|
20729
|
+
.sp
|
20730
|
+
\fBruby_eval\fP コマンドはRubyスクリプトを評価して評価結果を返します。
|
20731
|
+
.SS 構文
|
20732
|
+
.sp
|
20733
|
+
このコマンドの引数は1つで必須です:
|
20734
|
+
.INDENT 0.0
|
20735
|
+
.INDENT 3.5
|
20736
|
+
.sp
|
20737
|
+
.nf
|
20738
|
+
.ft C
|
20739
|
+
ruby_eval script
|
20740
|
+
.ft P
|
20741
|
+
.fi
|
20742
|
+
.UNINDENT
|
20743
|
+
.UNINDENT
|
20744
|
+
.SS 使い方
|
20745
|
+
.sp
|
20746
|
+
\fBruby_eval\fP を使うと、mrubyがサポートしているスクリプトを実行できます。
|
20747
|
+
.sp
|
20748
|
+
Rubyスクリプトとして \fB1 + 2\fP という計算するだけの例です。
|
20749
|
+
.sp
|
20750
|
+
実行例:
|
20751
|
+
.INDENT 0.0
|
20752
|
+
.INDENT 3.5
|
20753
|
+
.sp
|
20754
|
+
.nf
|
20755
|
+
.ft C
|
20756
|
+
register ruby/eval
|
20757
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20758
|
+
ruby_eval "1 + 2"
|
20759
|
+
# [[0, 1337566253.89858, 0.000355720520019531], {"value": 3}]
|
20760
|
+
.ft P
|
20761
|
+
.fi
|
20762
|
+
.UNINDENT
|
20763
|
+
.UNINDENT
|
20764
|
+
.sp
|
20765
|
+
\fBruby_eval\fP コマンドを使うには事前に \fBruby/eval\fP プラグインを登録します。
|
20766
|
+
.sp
|
20767
|
+
\fBruby_eval\fP コマンドは実験的なプラグインです。このコマンドは将来的に変更されるかもしれません。
|
20768
|
+
.SS 引数
|
20769
|
+
.sp
|
20770
|
+
このセクションではすべての引数について説明します。
|
20771
|
+
.SS \fBscript\fP
|
20772
|
+
.sp
|
20773
|
+
評価したいrubyスクリプトを指定します。
|
20774
|
+
.SS 戻り値
|
20775
|
+
.sp
|
20776
|
+
\fBruby_eval\fP は例外情報などのメタデータつきで評価結果を返します(メタデータはまだ実装されていないので今のところ含まれません):
|
20777
|
+
.INDENT 0.0
|
20778
|
+
.INDENT 3.5
|
20779
|
+
.sp
|
20780
|
+
.nf
|
20781
|
+
.ft C
|
20782
|
+
[HEADER, {"value": EVALUATED_VALUE}]
|
20783
|
+
.ft P
|
20784
|
+
.fi
|
20785
|
+
.UNINDENT
|
20786
|
+
.UNINDENT
|
20787
|
+
.sp
|
20788
|
+
\fBHEADER\fP
|
20789
|
+
.INDENT 0.0
|
20790
|
+
.INDENT 3.5
|
20791
|
+
\fBHEADER\fP については \fB/reference/command/output_format\fP を参照してください。
|
20792
|
+
.UNINDENT
|
20793
|
+
.UNINDENT
|
20794
|
+
.sp
|
20795
|
+
\fBEVALUATED_VALUE\fP
|
20796
|
+
.INDENT 0.0
|
20797
|
+
.INDENT 3.5
|
20798
|
+
\fBEVALUATED_VALUE\fP は \fBruby_script\fP を評価した値です。
|
20799
|
+
.sp
|
20800
|
+
今のところ、 \fBruby_eval\fP は評価された値として数値だけサポートしています。サポートしている型は今後増えていく予定です。
|
20801
|
+
.UNINDENT
|
20802
|
+
.UNINDENT
|
20803
|
+
.SS 参考
|
20804
|
+
.SS \fBruby_load\fP
|
20805
|
+
.SS 概要
|
20806
|
+
.sp
|
20807
|
+
\fBruby_load\fP コマンドは指定したRubyスクリプトを読み込みます。
|
20808
|
+
.SS 構文
|
20809
|
+
.sp
|
20810
|
+
このコマンドの引数は1つで必須です:
|
20811
|
+
.INDENT 0.0
|
20812
|
+
.INDENT 3.5
|
20813
|
+
.sp
|
20814
|
+
.nf
|
20815
|
+
.ft C
|
20816
|
+
ruby_load path
|
20817
|
+
.ft P
|
20818
|
+
.fi
|
20819
|
+
.UNINDENT
|
20820
|
+
.UNINDENT
|
20821
|
+
.SS 使い方
|
20822
|
+
.sp
|
20823
|
+
\fBruby_load\fP を使ってmrubyがサポートしているスクリプトを読み込むことができます。
|
20824
|
+
.sp
|
20825
|
+
Rubyスクリプトとして \fBexpression.rb\fP を単に読み込む例です。
|
20826
|
+
.sp
|
20827
|
+
実行例:
|
20828
|
+
.INDENT 0.0
|
20829
|
+
.INDENT 3.5
|
20830
|
+
.sp
|
20831
|
+
.nf
|
20832
|
+
.ft C
|
20833
|
+
register ruby/load
|
20834
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20835
|
+
ruby_load "expression.rb"
|
20836
|
+
# [[0, 1337566253.89858, 0.000355720520019531], {"value": null}]
|
20837
|
+
.ft P
|
20838
|
+
.fi
|
20839
|
+
.UNINDENT
|
20840
|
+
.UNINDENT
|
20841
|
+
.sp
|
20842
|
+
\fBruby_load\fP コマンドを使うには事前に \fBruby/load\fP プラグインを登録します。
|
19463
20843
|
.sp
|
19464
20844
|
\fBruby_load\fP コマンドは実験的なプラグインです。このコマンドは将来的に変更されるかもしれません。
|
19465
20845
|
.SS 引数
|
@@ -19500,6 +20880,1272 @@ ruby_load "expression.rb"
|
|
19500
20880
|
.SS 参考
|
19501
20881
|
.sp
|
19502
20882
|
\fB/reference/commands/ruby_eval\fP
|
20883
|
+
.SS \fBschema\fP
|
20884
|
+
.SS 概要
|
20885
|
+
.sp
|
20886
|
+
バージョン 5.0.9 で追加.
|
20887
|
+
|
20888
|
+
.sp
|
20889
|
+
\fBschema\fP コマンドはデータベース内のスキーマを返します。
|
20890
|
+
.sp
|
20891
|
+
このコマンドはデータベースの詳細を知りたいときに便利です。たとえば、データベースを視覚化したり、データベースのGUIを作ったりするときに便利です。
|
20892
|
+
.SS 構文
|
20893
|
+
.sp
|
20894
|
+
このコマンドに引数はありません:
|
20895
|
+
.INDENT 0.0
|
20896
|
+
.INDENT 3.5
|
20897
|
+
.sp
|
20898
|
+
.nf
|
20899
|
+
.ft C
|
20900
|
+
schema
|
20901
|
+
.ft P
|
20902
|
+
.fi
|
20903
|
+
.UNINDENT
|
20904
|
+
.UNINDENT
|
20905
|
+
.SS 使い方
|
20906
|
+
.sp
|
20907
|
+
以下は出力例を示すためのサンプルスキーマです。
|
20908
|
+
.sp
|
20909
|
+
実行例:
|
20910
|
+
.INDENT 0.0
|
20911
|
+
.INDENT 3.5
|
20912
|
+
.sp
|
20913
|
+
.nf
|
20914
|
+
.ft C
|
20915
|
+
table_create Memos TABLE_HASH_KEY ShortText
|
20916
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20917
|
+
column_create Memos content COLUMN_SCALAR Text
|
20918
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20919
|
+
table_create Terms TABLE_PAT_KEY ShortText \e
|
20920
|
+
\-\-default_tokenizer TokenBigram \e
|
20921
|
+
\-\-normalizer NormalizerAuto
|
20922
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20923
|
+
column_create Terms memos_content_index \e
|
20924
|
+
COLUMN_INDEX|WITH_POSITION \e
|
20925
|
+
Memos content
|
20926
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20927
|
+
.ft P
|
20928
|
+
.fi
|
20929
|
+
.UNINDENT
|
20930
|
+
.UNINDENT
|
20931
|
+
.sp
|
20932
|
+
このサンプルスキーマに対する \fBschema\fP コマンドの出力は次の通りです。
|
20933
|
+
.sp
|
20934
|
+
実行例:
|
20935
|
+
.INDENT 0.0
|
20936
|
+
.INDENT 3.5
|
20937
|
+
.sp
|
20938
|
+
.nf
|
20939
|
+
.ft C
|
20940
|
+
schema
|
20941
|
+
# [
|
20942
|
+
# [
|
20943
|
+
# 0,
|
20944
|
+
# 1337566253.89858,
|
20945
|
+
# 0.000355720520019531
|
20946
|
+
# ],
|
20947
|
+
# {
|
20948
|
+
# "tables": {
|
20949
|
+
# "Terms": {
|
20950
|
+
# "normalizer": {
|
20951
|
+
# "name": "NormalizerAuto"
|
20952
|
+
# },
|
20953
|
+
# "name": "Terms",
|
20954
|
+
# "tokenizer": {
|
20955
|
+
# "name": "TokenBigram"
|
20956
|
+
# },
|
20957
|
+
# "command": {
|
20958
|
+
# "command_line": "table_create \-\-name Terms \-\-flags TABLE_PAT_KEY \-\-key_type ShortText \-\-default_tokenizer TokenBigram \-\-normalizer NormalizerAuto",
|
20959
|
+
# "name": "table_create",
|
20960
|
+
# "arguments": {
|
20961
|
+
# "key_type": "ShortText",
|
20962
|
+
# "default_tokenizer": "TokenBigram",
|
20963
|
+
# "normalizer": "NormalizerAuto",
|
20964
|
+
# "flags": "TABLE_PAT_KEY",
|
20965
|
+
# "name": "Terms"
|
20966
|
+
# }
|
20967
|
+
# },
|
20968
|
+
# "indexes": [],
|
20969
|
+
# "key_type": {
|
20970
|
+
# "type": "type",
|
20971
|
+
# "name": "ShortText"
|
20972
|
+
# },
|
20973
|
+
# "value_type": null,
|
20974
|
+
# "token_filters": [],
|
20975
|
+
# "type": "patricia trie",
|
20976
|
+
# "columns": {
|
20977
|
+
# "memos_content_index": {
|
20978
|
+
# "name": "memos_content_index",
|
20979
|
+
# "weight": false,
|
20980
|
+
# "section": false,
|
20981
|
+
# "compress": null,
|
20982
|
+
# "command": {
|
20983
|
+
# "command_line": "column_create \-\-table Terms \-\-name memos_content_index \-\-flags COLUMN_INDEX|WITH_POSITION \-\-type Memos \-\-sources content",
|
20984
|
+
# "name": "column_create",
|
20985
|
+
# "arguments": {
|
20986
|
+
# "table": "Terms",
|
20987
|
+
# "flags": "COLUMN_INDEX|WITH_POSITION",
|
20988
|
+
# "name": "memos_content_index",
|
20989
|
+
# "sources": "content",
|
20990
|
+
# "type": "Memos"
|
20991
|
+
# }
|
20992
|
+
# },
|
20993
|
+
# "indexes": [],
|
20994
|
+
# "sources": [
|
20995
|
+
# {
|
20996
|
+
# "table": "Memos",
|
20997
|
+
# "name": "content",
|
20998
|
+
# "full_name": "Memos.content"
|
20999
|
+
# }
|
21000
|
+
# ],
|
21001
|
+
# "value_type": {
|
21002
|
+
# "type": "reference",
|
21003
|
+
# "name": "Memos"
|
21004
|
+
# },
|
21005
|
+
# "full_name": "Terms.memos_content_index",
|
21006
|
+
# "position": true,
|
21007
|
+
# "table": "Terms",
|
21008
|
+
# "type": "index"
|
21009
|
+
# }
|
21010
|
+
# }
|
21011
|
+
# },
|
21012
|
+
# "Memos": {
|
21013
|
+
# "normalizer": null,
|
21014
|
+
# "name": "Memos",
|
21015
|
+
# "tokenizer": null,
|
21016
|
+
# "command": {
|
21017
|
+
# "command_line": "table_create \-\-name Memos \-\-flags TABLE_HASH_KEY \-\-key_type ShortText",
|
21018
|
+
# "name": "table_create",
|
21019
|
+
# "arguments": {
|
21020
|
+
# "key_type": "ShortText",
|
21021
|
+
# "flags": "TABLE_HASH_KEY",
|
21022
|
+
# "name": "Memos"
|
21023
|
+
# }
|
21024
|
+
# },
|
21025
|
+
# "indexes": [],
|
21026
|
+
# "key_type": {
|
21027
|
+
# "type": "type",
|
21028
|
+
# "name": "ShortText"
|
21029
|
+
# },
|
21030
|
+
# "value_type": null,
|
21031
|
+
# "token_filters": [],
|
21032
|
+
# "type": "hash table",
|
21033
|
+
# "columns": {
|
21034
|
+
# "content": {
|
21035
|
+
# "name": "content",
|
21036
|
+
# "weight": false,
|
21037
|
+
# "section": false,
|
21038
|
+
# "compress": null,
|
21039
|
+
# "command": {
|
21040
|
+
# "command_line": "column_create \-\-table Memos \-\-name content \-\-flags COLUMN_SCALAR \-\-type Text",
|
21041
|
+
# "name": "column_create",
|
21042
|
+
# "arguments": {
|
21043
|
+
# "table": "Memos",
|
21044
|
+
# "flags": "COLUMN_SCALAR",
|
21045
|
+
# "name": "content",
|
21046
|
+
# "type": "Text"
|
21047
|
+
# }
|
21048
|
+
# },
|
21049
|
+
# "indexes": [
|
21050
|
+
# {
|
21051
|
+
# "table": "Terms",
|
21052
|
+
# "section": 0,
|
21053
|
+
# "name": "memos_content_index",
|
21054
|
+
# "full_name": "Terms.memos_content_index"
|
21055
|
+
# }
|
21056
|
+
# ],
|
21057
|
+
# "sources": [],
|
21058
|
+
# "value_type": {
|
21059
|
+
# "type": "type",
|
21060
|
+
# "name": "Text"
|
21061
|
+
# },
|
21062
|
+
# "full_name": "Memos.content",
|
21063
|
+
# "position": false,
|
21064
|
+
# "table": "Memos",
|
21065
|
+
# "type": "scalar"
|
21066
|
+
# }
|
21067
|
+
# }
|
21068
|
+
# }
|
21069
|
+
# },
|
21070
|
+
# "normalizers": {
|
21071
|
+
# "NormalizerNFKC51": {
|
21072
|
+
# "name": "NormalizerNFKC51"
|
21073
|
+
# },
|
21074
|
+
# "NormalizerAuto": {
|
21075
|
+
# "name": "NormalizerAuto"
|
21076
|
+
# }
|
21077
|
+
# },
|
21078
|
+
# "token_filters": {},
|
21079
|
+
# "tokenizers": {
|
21080
|
+
# "TokenBigramSplitSymbolAlphaDigit": {
|
21081
|
+
# "name": "TokenBigramSplitSymbolAlphaDigit"
|
21082
|
+
# },
|
21083
|
+
# "TokenRegexp": {
|
21084
|
+
# "name": "TokenRegexp"
|
21085
|
+
# },
|
21086
|
+
# "TokenBigramIgnoreBlankSplitSymbolAlphaDigit": {
|
21087
|
+
# "name": "TokenBigramIgnoreBlankSplitSymbolAlphaDigit"
|
21088
|
+
# },
|
21089
|
+
# "TokenBigram": {
|
21090
|
+
# "name": "TokenBigram"
|
21091
|
+
# },
|
21092
|
+
# "TokenDelimit": {
|
21093
|
+
# "name": "TokenDelimit"
|
21094
|
+
# },
|
21095
|
+
# "TokenUnigram": {
|
21096
|
+
# "name": "TokenUnigram"
|
21097
|
+
# },
|
21098
|
+
# "TokenBigramSplitSymbol": {
|
21099
|
+
# "name": "TokenBigramSplitSymbol"
|
21100
|
+
# },
|
21101
|
+
# "TokenDelimitNull": {
|
21102
|
+
# "name": "TokenDelimitNull"
|
21103
|
+
# },
|
21104
|
+
# "TokenBigramIgnoreBlankSplitSymbolAlpha": {
|
21105
|
+
# "name": "TokenBigramIgnoreBlankSplitSymbolAlpha"
|
21106
|
+
# },
|
21107
|
+
# "TokenBigramSplitSymbolAlpha": {
|
21108
|
+
# "name": "TokenBigramSplitSymbolAlpha"
|
21109
|
+
# },
|
21110
|
+
# "TokenTrigram": {
|
21111
|
+
# "name": "TokenTrigram"
|
21112
|
+
# },
|
21113
|
+
# "TokenMecab": {
|
21114
|
+
# "name": "TokenMecab"
|
21115
|
+
# },
|
21116
|
+
# "TokenBigramIgnoreBlankSplitSymbol": {
|
21117
|
+
# "name": "TokenBigramIgnoreBlankSplitSymbol"
|
21118
|
+
# },
|
21119
|
+
# "TokenBigramIgnoreBlank": {
|
21120
|
+
# "name": "TokenBigramIgnoreBlank"
|
21121
|
+
# }
|
21122
|
+
# },
|
21123
|
+
# "plugins": {},
|
21124
|
+
# "types": {
|
21125
|
+
# "UInt64": {
|
21126
|
+
# "can_be_key_type": true,
|
21127
|
+
# "name": "UInt64",
|
21128
|
+
# "can_be_value_type": true,
|
21129
|
+
# "size": 8
|
21130
|
+
# },
|
21131
|
+
# "Int32": {
|
21132
|
+
# "can_be_key_type": true,
|
21133
|
+
# "name": "Int32",
|
21134
|
+
# "can_be_value_type": true,
|
21135
|
+
# "size": 4
|
21136
|
+
# },
|
21137
|
+
# "Int16": {
|
21138
|
+
# "can_be_key_type": true,
|
21139
|
+
# "name": "Int16",
|
21140
|
+
# "can_be_value_type": true,
|
21141
|
+
# "size": 2
|
21142
|
+
# },
|
21143
|
+
# "LongText": {
|
21144
|
+
# "can_be_key_type": false,
|
21145
|
+
# "name": "LongText",
|
21146
|
+
# "can_be_value_type": false,
|
21147
|
+
# "size": 2147483648
|
21148
|
+
# },
|
21149
|
+
# "TokyoGeoPoint": {
|
21150
|
+
# "can_be_key_type": true,
|
21151
|
+
# "name": "TokyoGeoPoint",
|
21152
|
+
# "can_be_value_type": true,
|
21153
|
+
# "size": 8
|
21154
|
+
# },
|
21155
|
+
# "Text": {
|
21156
|
+
# "can_be_key_type": false,
|
21157
|
+
# "name": "Text",
|
21158
|
+
# "can_be_value_type": false,
|
21159
|
+
# "size": 65536
|
21160
|
+
# },
|
21161
|
+
# "ShortText": {
|
21162
|
+
# "can_be_key_type": true,
|
21163
|
+
# "name": "ShortText",
|
21164
|
+
# "can_be_value_type": false,
|
21165
|
+
# "size": 4096
|
21166
|
+
# },
|
21167
|
+
# "Float": {
|
21168
|
+
# "can_be_key_type": true,
|
21169
|
+
# "name": "Float",
|
21170
|
+
# "can_be_value_type": true,
|
21171
|
+
# "size": 8
|
21172
|
+
# },
|
21173
|
+
# "UInt8": {
|
21174
|
+
# "can_be_key_type": true,
|
21175
|
+
# "name": "UInt8",
|
21176
|
+
# "can_be_value_type": true,
|
21177
|
+
# "size": 1
|
21178
|
+
# },
|
21179
|
+
# "UInt32": {
|
21180
|
+
# "can_be_key_type": true,
|
21181
|
+
# "name": "UInt32",
|
21182
|
+
# "can_be_value_type": true,
|
21183
|
+
# "size": 4
|
21184
|
+
# },
|
21185
|
+
# "Object": {
|
21186
|
+
# "can_be_key_type": true,
|
21187
|
+
# "name": "Object",
|
21188
|
+
# "can_be_value_type": true,
|
21189
|
+
# "size": 8
|
21190
|
+
# },
|
21191
|
+
# "UInt16": {
|
21192
|
+
# "can_be_key_type": true,
|
21193
|
+
# "name": "UInt16",
|
21194
|
+
# "can_be_value_type": true,
|
21195
|
+
# "size": 2
|
21196
|
+
# },
|
21197
|
+
# "Int64": {
|
21198
|
+
# "can_be_key_type": true,
|
21199
|
+
# "name": "Int64",
|
21200
|
+
# "can_be_value_type": true,
|
21201
|
+
# "size": 8
|
21202
|
+
# },
|
21203
|
+
# "Time": {
|
21204
|
+
# "can_be_key_type": true,
|
21205
|
+
# "name": "Time",
|
21206
|
+
# "can_be_value_type": true,
|
21207
|
+
# "size": 8
|
21208
|
+
# },
|
21209
|
+
# "Bool": {
|
21210
|
+
# "can_be_key_type": true,
|
21211
|
+
# "name": "Bool",
|
21212
|
+
# "can_be_value_type": true,
|
21213
|
+
# "size": 1
|
21214
|
+
# },
|
21215
|
+
# "WGS84GeoPoint": {
|
21216
|
+
# "can_be_key_type": true,
|
21217
|
+
# "name": "WGS84GeoPoint",
|
21218
|
+
# "can_be_value_type": true,
|
21219
|
+
# "size": 8
|
21220
|
+
# },
|
21221
|
+
# "Int8": {
|
21222
|
+
# "can_be_key_type": true,
|
21223
|
+
# "name": "Int8",
|
21224
|
+
# "can_be_value_type": true,
|
21225
|
+
# "size": 1
|
21226
|
+
# }
|
21227
|
+
# }
|
21228
|
+
# }
|
21229
|
+
# ]
|
21230
|
+
.ft P
|
21231
|
+
.fi
|
21232
|
+
.UNINDENT
|
21233
|
+
.UNINDENT
|
21234
|
+
.SS 引数
|
21235
|
+
.sp
|
21236
|
+
このセクションではすべての引数について説明します。
|
21237
|
+
.SS 必須引数
|
21238
|
+
.sp
|
21239
|
+
必須の引数はありません。
|
21240
|
+
.SS 省略可能引数
|
21241
|
+
.sp
|
21242
|
+
省略可能な引数はありません。
|
21243
|
+
.SS 戻り値
|
21244
|
+
.sp
|
21245
|
+
\fBschema\fP はこのデータベースのスキーマを返します。:
|
21246
|
+
.INDENT 0.0
|
21247
|
+
.INDENT 3.5
|
21248
|
+
.sp
|
21249
|
+
.nf
|
21250
|
+
.ft C
|
21251
|
+
[HEADER, SCHEMA]
|
21252
|
+
.ft P
|
21253
|
+
.fi
|
21254
|
+
.UNINDENT
|
21255
|
+
.UNINDENT
|
21256
|
+
.SS \fBHEADER\fP
|
21257
|
+
.sp
|
21258
|
+
\fBHEADER\fP については \fB/reference/command/output_format\fP を参照してください。
|
21259
|
+
.SS \fBSCHEMA\fP
|
21260
|
+
.sp
|
21261
|
+
\fBSCHEMA\fP は以下の情報を含んだオブジェクトです。:
|
21262
|
+
.INDENT 0.0
|
21263
|
+
.INDENT 3.5
|
21264
|
+
.sp
|
21265
|
+
.nf
|
21266
|
+
.ft C
|
21267
|
+
{
|
21268
|
+
"plugins": PLUGINS,
|
21269
|
+
"types": TYPES,
|
21270
|
+
"tokenizers": TOKENIZERS,
|
21271
|
+
"normalizers": NORMALIZERS,
|
21272
|
+
"token_filters": TOKEN_FITLERS,
|
21273
|
+
"tables": TABLES
|
21274
|
+
}
|
21275
|
+
.ft P
|
21276
|
+
.fi
|
21277
|
+
.UNINDENT
|
21278
|
+
.UNINDENT
|
21279
|
+
.SS \fBPLUGINS\fP
|
21280
|
+
.sp
|
21281
|
+
\fBPLUGINS\fP はオブジェクトです。キーはプラグイン名で値はプラグインの詳細です。:
|
21282
|
+
.INDENT 0.0
|
21283
|
+
.INDENT 3.5
|
21284
|
+
.sp
|
21285
|
+
.nf
|
21286
|
+
.ft C
|
21287
|
+
{
|
21288
|
+
"PLUGIN_NAME_1": PLUGIN_1,
|
21289
|
+
"PLUGIN_NAME_2": PLUGIN_2,
|
21290
|
+
...
|
21291
|
+
"PLUGIN_NAME_n": PLUGIN_n
|
21292
|
+
}
|
21293
|
+
.ft P
|
21294
|
+
.fi
|
21295
|
+
.UNINDENT
|
21296
|
+
.UNINDENT
|
21297
|
+
.SS \fBPLUGIN\fP
|
21298
|
+
.sp
|
21299
|
+
\fBPLUGIN\fP はプラグインの詳細を示すオブジェクトです。
|
21300
|
+
.INDENT 0.0
|
21301
|
+
.INDENT 3.5
|
21302
|
+
.sp
|
21303
|
+
.nf
|
21304
|
+
.ft C
|
21305
|
+
{
|
21306
|
+
"name": PLUGIN_NAME
|
21307
|
+
}
|
21308
|
+
.ft P
|
21309
|
+
.fi
|
21310
|
+
.UNINDENT
|
21311
|
+
.UNINDENT
|
21312
|
+
.sp
|
21313
|
+
以下は \fBPLUGIN\fP のプロパティです。
|
21314
|
+
.TS
|
21315
|
+
center;
|
21316
|
+
|l|l|.
|
21317
|
+
_
|
21318
|
+
T{
|
21319
|
+
名前
|
21320
|
+
T} T{
|
21321
|
+
説明
|
21322
|
+
T}
|
21323
|
+
_
|
21324
|
+
T{
|
21325
|
+
\fBname\fP
|
21326
|
+
T} T{
|
21327
|
+
プラグイン名。 \fBplugin_register\fP で使います。
|
21328
|
+
T}
|
21329
|
+
_
|
21330
|
+
.TE
|
21331
|
+
.SS \fBTYPES\fP
|
21332
|
+
.sp
|
21333
|
+
\fBTYPES\fP はオブジェクトです。キーは型名で、値は型の詳細です。:
|
21334
|
+
.INDENT 0.0
|
21335
|
+
.INDENT 3.5
|
21336
|
+
.sp
|
21337
|
+
.nf
|
21338
|
+
.ft C
|
21339
|
+
{
|
21340
|
+
"TYPE_NAME_1": TYPE_1,
|
21341
|
+
"TYPE_NAME_2": TYPE_2,
|
21342
|
+
...
|
21343
|
+
"TYPE_NAME_n": TYPE_n
|
21344
|
+
}
|
21345
|
+
.ft P
|
21346
|
+
.fi
|
21347
|
+
.UNINDENT
|
21348
|
+
.UNINDENT
|
21349
|
+
.SS \fBTYPE\fP
|
21350
|
+
.sp
|
21351
|
+
\fBTYPE\fP は型の詳細を示すオブジェクトです。:
|
21352
|
+
.INDENT 0.0
|
21353
|
+
.INDENT 3.5
|
21354
|
+
.sp
|
21355
|
+
.nf
|
21356
|
+
.ft C
|
21357
|
+
{
|
21358
|
+
"name": TYPE_NAME,
|
21359
|
+
"size": SIZE_OF_ONE_VALUE_IN_BYTE,
|
21360
|
+
"can_be_key_type": BOOLEAN,
|
21361
|
+
"can_be_value_type": BOOLEAN
|
21362
|
+
}
|
21363
|
+
.ft P
|
21364
|
+
.fi
|
21365
|
+
.UNINDENT
|
21366
|
+
.UNINDENT
|
21367
|
+
.sp
|
21368
|
+
以下は \fBTYPE\fP のプロパティです。
|
21369
|
+
.TS
|
21370
|
+
center;
|
21371
|
+
|l|l|.
|
21372
|
+
_
|
21373
|
+
T{
|
21374
|
+
名前
|
21375
|
+
T} T{
|
21376
|
+
説明
|
21377
|
+
T}
|
21378
|
+
_
|
21379
|
+
T{
|
21380
|
+
\fBname\fP
|
21381
|
+
T} T{
|
21382
|
+
型名。
|
21383
|
+
T}
|
21384
|
+
_
|
21385
|
+
T{
|
21386
|
+
\fBsize\fP
|
21387
|
+
T} T{
|
21388
|
+
1つの値のバイト数です。
|
21389
|
+
T}
|
21390
|
+
_
|
21391
|
+
T{
|
21392
|
+
\fBcan_be_key_type\fP
|
21393
|
+
T} T{
|
21394
|
+
この型をテーブルのキーの型に使えるなら \fBtrue\fP 、そうでないなら \fBfalse\fP 。
|
21395
|
+
T}
|
21396
|
+
_
|
21397
|
+
T{
|
21398
|
+
\fBcan_be_value_type\fP
|
21399
|
+
T} T{
|
21400
|
+
この型をテーブルの値の型に使えるなら \fBtrue\fP 、そうでないなら \fBfalse\fP 。
|
21401
|
+
T}
|
21402
|
+
_
|
21403
|
+
.TE
|
21404
|
+
.SS \fBTOKENIZERS\fP
|
21405
|
+
.sp
|
21406
|
+
\fBTOKENIZERS\fP はオブジェクトです。キーはトークナイザー名で値はトークナイザーの詳細です。:
|
21407
|
+
.INDENT 0.0
|
21408
|
+
.INDENT 3.5
|
21409
|
+
.sp
|
21410
|
+
.nf
|
21411
|
+
.ft C
|
21412
|
+
{
|
21413
|
+
"TOKENIZER_NAME_1": TOKENIZER_1,
|
21414
|
+
"TOKENIZER_NAME_2": TOKENIZER_2,
|
21415
|
+
...
|
21416
|
+
"TOKENIZER_NAME_n": TOKENIZER_n
|
21417
|
+
}
|
21418
|
+
.ft P
|
21419
|
+
.fi
|
21420
|
+
.UNINDENT
|
21421
|
+
.UNINDENT
|
21422
|
+
.SS \fBTOKENIZER\fP
|
21423
|
+
.sp
|
21424
|
+
\fBTOKENIZER\fP はトークナイザーの詳細を示すオブジェクトです。:
|
21425
|
+
.INDENT 0.0
|
21426
|
+
.INDENT 3.5
|
21427
|
+
.sp
|
21428
|
+
.nf
|
21429
|
+
.ft C
|
21430
|
+
{
|
21431
|
+
"name": TOKENIZER_NAME
|
21432
|
+
}
|
21433
|
+
.ft P
|
21434
|
+
.fi
|
21435
|
+
.UNINDENT
|
21436
|
+
.UNINDENT
|
21437
|
+
.sp
|
21438
|
+
以下は \fBTOKENIZER\fP のプロパティです。
|
21439
|
+
.TS
|
21440
|
+
center;
|
21441
|
+
|l|l|.
|
21442
|
+
_
|
21443
|
+
T{
|
21444
|
+
名前
|
21445
|
+
T} T{
|
21446
|
+
説明
|
21447
|
+
T}
|
21448
|
+
_
|
21449
|
+
T{
|
21450
|
+
\fBname\fP
|
21451
|
+
T} T{
|
21452
|
+
トークナイザー名。 table\-create\-default\-tokenizer で使います。
|
21453
|
+
T}
|
21454
|
+
_
|
21455
|
+
.TE
|
21456
|
+
.SS \fBNORMALIZERS\fP
|
21457
|
+
.sp
|
21458
|
+
\fBNORMALIZERS\fP はオブジェクトです。キーはノーマライザー名で値はノーマライザーの詳細です。:
|
21459
|
+
.INDENT 0.0
|
21460
|
+
.INDENT 3.5
|
21461
|
+
.sp
|
21462
|
+
.nf
|
21463
|
+
.ft C
|
21464
|
+
{
|
21465
|
+
"NORMALIZER_NAME_1": NORMALIZER_1,
|
21466
|
+
"NORMALIZER_NAME_2": NORMALIZER_2,
|
21467
|
+
...
|
21468
|
+
"NORMALIZER_NAME_n": NORMALIZER_n
|
21469
|
+
}
|
21470
|
+
.ft P
|
21471
|
+
.fi
|
21472
|
+
.UNINDENT
|
21473
|
+
.UNINDENT
|
21474
|
+
.SS \fBNORMALIZER\fP
|
21475
|
+
.sp
|
21476
|
+
\fBNORMALIZER\fP はノーマライザーの詳細を示すオブジェクトです。:
|
21477
|
+
.INDENT 0.0
|
21478
|
+
.INDENT 3.5
|
21479
|
+
.sp
|
21480
|
+
.nf
|
21481
|
+
.ft C
|
21482
|
+
{
|
21483
|
+
"name": NORMALIZER_NAME
|
21484
|
+
}
|
21485
|
+
.ft P
|
21486
|
+
.fi
|
21487
|
+
.UNINDENT
|
21488
|
+
.UNINDENT
|
21489
|
+
.sp
|
21490
|
+
以下は \fBNORMALIZER\fP のプロパティです。
|
21491
|
+
.TS
|
21492
|
+
center;
|
21493
|
+
|l|l|.
|
21494
|
+
_
|
21495
|
+
T{
|
21496
|
+
名前
|
21497
|
+
T} T{
|
21498
|
+
説明
|
21499
|
+
T}
|
21500
|
+
_
|
21501
|
+
T{
|
21502
|
+
\fBname\fP
|
21503
|
+
T} T{
|
21504
|
+
ノーマライザー名。 table\-create\-normalizer で使います。
|
21505
|
+
T}
|
21506
|
+
_
|
21507
|
+
.TE
|
21508
|
+
.SS \fBTOKEN_FILTERS\fP
|
21509
|
+
.sp
|
21510
|
+
\fBTOKEN_FILTERS\fP はオブジェクトです。キーはトークンフィルター名で値はトークンフィルターの詳細です。:
|
21511
|
+
.INDENT 0.0
|
21512
|
+
.INDENT 3.5
|
21513
|
+
.sp
|
21514
|
+
.nf
|
21515
|
+
.ft C
|
21516
|
+
{
|
21517
|
+
"TOKEN_FILTER_NAME_1": TOKEN_FILTER_1,
|
21518
|
+
"TOKEN_FILTER_NAME_2": TOKEN_FILTER_2,
|
21519
|
+
...
|
21520
|
+
"TOKEN_FILTER_NAME_n": TOKEN_FILTER_n
|
21521
|
+
}
|
21522
|
+
.ft P
|
21523
|
+
.fi
|
21524
|
+
.UNINDENT
|
21525
|
+
.UNINDENT
|
21526
|
+
.SS \fBTOKEN_FILTER\fP
|
21527
|
+
.sp
|
21528
|
+
\fBTOKEN_FILTER\fP はトークンフィルターの詳細を示すオブジェクトです。:
|
21529
|
+
.INDENT 0.0
|
21530
|
+
.INDENT 3.5
|
21531
|
+
.sp
|
21532
|
+
.nf
|
21533
|
+
.ft C
|
21534
|
+
{
|
21535
|
+
"name": TOKEN_FILTER_NAME
|
21536
|
+
}
|
21537
|
+
.ft P
|
21538
|
+
.fi
|
21539
|
+
.UNINDENT
|
21540
|
+
.UNINDENT
|
21541
|
+
.sp
|
21542
|
+
以下は \fBTOKEN_FILTER\fP のプロパティです。
|
21543
|
+
.TS
|
21544
|
+
center;
|
21545
|
+
|l|l|.
|
21546
|
+
_
|
21547
|
+
T{
|
21548
|
+
名前
|
21549
|
+
T} T{
|
21550
|
+
説明
|
21551
|
+
T}
|
21552
|
+
_
|
21553
|
+
T{
|
21554
|
+
\fBname\fP
|
21555
|
+
T} T{
|
21556
|
+
トークンフィルター名。 table\-create\-token\-filters で使います。
|
21557
|
+
T}
|
21558
|
+
_
|
21559
|
+
.TE
|
21560
|
+
.SS \fBTABLES\fP
|
21561
|
+
.sp
|
21562
|
+
\fBTABLES\fP はオブジェクトです。キーはテーブル名で値はテーブルの詳細です。:
|
21563
|
+
.INDENT 0.0
|
21564
|
+
.INDENT 3.5
|
21565
|
+
.sp
|
21566
|
+
.nf
|
21567
|
+
.ft C
|
21568
|
+
{
|
21569
|
+
"TABLE_NAME_1": TABLE_1,
|
21570
|
+
"TABLE_NAME_2": TABLE_2,
|
21571
|
+
...
|
21572
|
+
"TABLE_NAME_n": TABLE_n
|
21573
|
+
}
|
21574
|
+
.ft P
|
21575
|
+
.fi
|
21576
|
+
.UNINDENT
|
21577
|
+
.UNINDENT
|
21578
|
+
.SS \fBTABLE\fP
|
21579
|
+
.sp
|
21580
|
+
\fBTABLE\fP はテーブルの詳細を示すオブジェクトです。
|
21581
|
+
.INDENT 0.0
|
21582
|
+
.INDENT 3.5
|
21583
|
+
.sp
|
21584
|
+
.nf
|
21585
|
+
.ft C
|
21586
|
+
{
|
21587
|
+
"name": TABLE_NAME
|
21588
|
+
"type": TYPE,
|
21589
|
+
"key_type": KEY_TYPE,
|
21590
|
+
"value_type": VALUE_TYPE,
|
21591
|
+
"tokenizer": TOKENIZER,
|
21592
|
+
"normalizer": NORMALIZER,
|
21593
|
+
"token_filters": [
|
21594
|
+
TOKEN_FILTER_1,
|
21595
|
+
TOKEN_FILTER_2,
|
21596
|
+
...,
|
21597
|
+
TOKEN_FILTER_n,
|
21598
|
+
],
|
21599
|
+
"indexes": [
|
21600
|
+
INDEX_1,
|
21601
|
+
INDEX_2,
|
21602
|
+
...,
|
21603
|
+
INDEX_n
|
21604
|
+
],
|
21605
|
+
"command": COMMAND,
|
21606
|
+
"columns": {
|
21607
|
+
"COLUMN_NAME_1": COLUMN_1,
|
21608
|
+
"COLUMN_NAME_2": COLUMN_2,
|
21609
|
+
...,
|
21610
|
+
"COLUMN_NAME_3": COLUMN_3,
|
21611
|
+
}
|
21612
|
+
}
|
21613
|
+
.ft P
|
21614
|
+
.fi
|
21615
|
+
.UNINDENT
|
21616
|
+
.UNINDENT
|
21617
|
+
.sp
|
21618
|
+
以下は \fBTABLE\fP のプロパティです。
|
21619
|
+
.TS
|
21620
|
+
center;
|
21621
|
+
|l|l|.
|
21622
|
+
_
|
21623
|
+
T{
|
21624
|
+
名前
|
21625
|
+
T} T{
|
21626
|
+
説明
|
21627
|
+
T}
|
21628
|
+
_
|
21629
|
+
T{
|
21630
|
+
\fBname\fP
|
21631
|
+
T} T{
|
21632
|
+
テーブル名。
|
21633
|
+
T}
|
21634
|
+
_
|
21635
|
+
T{
|
21636
|
+
\fBtype\fP
|
21637
|
+
T} T{
|
21638
|
+
テーブルの種類。
|
21639
|
+
.sp
|
21640
|
+
以下のどれかです。
|
21641
|
+
.INDENT 0.0
|
21642
|
+
.INDENT 3.5
|
21643
|
+
.INDENT 0.0
|
21644
|
+
.IP \(bu 2
|
21645
|
+
\fBarray\fP: table\-no\-key
|
21646
|
+
.IP \(bu 2
|
21647
|
+
\fBhash\fP: table\-hash\-key
|
21648
|
+
.IP \(bu 2
|
21649
|
+
\fBpatricia trie\fP: table\-pat\-key
|
21650
|
+
.IP \(bu 2
|
21651
|
+
\fBdouble array trie\fP: table\-dat\-key
|
21652
|
+
.UNINDENT
|
21653
|
+
.UNINDENT
|
21654
|
+
.UNINDENT
|
21655
|
+
T}
|
21656
|
+
_
|
21657
|
+
T{
|
21658
|
+
\fBkey_type\fP
|
21659
|
+
T} T{
|
21660
|
+
テーブルのキーの型。
|
21661
|
+
.sp
|
21662
|
+
テーブルの種類が \fBarray\fP なら \fBnull\fP になります。
|
21663
|
+
.sp
|
21664
|
+
テーブルの種類が \fBarray\fP でなければオブジェクトになります。オブジェクトは次のプロパティを持ちます。
|
21665
|
+
.INDENT 0.0
|
21666
|
+
.INDENT 3.5
|
21667
|
+
.INDENT 0.0
|
21668
|
+
.IP \(bu 2
|
21669
|
+
\fBname\fP :型名。
|
21670
|
+
.IP \(bu 2
|
21671
|
+
\fBtype\fP :もし型がテーブルなら \fBreference\fP 、そうでないなら \fBtype\fP 。
|
21672
|
+
.UNINDENT
|
21673
|
+
.UNINDENT
|
21674
|
+
.UNINDENT
|
21675
|
+
T}
|
21676
|
+
_
|
21677
|
+
T{
|
21678
|
+
\fBvalue_type\fP
|
21679
|
+
T} T{
|
21680
|
+
テーブルの値の型。
|
21681
|
+
.sp
|
21682
|
+
テーブルが「値」を使っていない場合は \fBnull\fP になります。
|
21683
|
+
.sp
|
21684
|
+
テーブルが「値」を使っている場合はオブジェクトになります。オブジェクトは次のプロパティを持ちます。
|
21685
|
+
.INDENT 0.0
|
21686
|
+
.INDENT 3.5
|
21687
|
+
.INDENT 0.0
|
21688
|
+
.IP \(bu 2
|
21689
|
+
\fBname\fP :型名。
|
21690
|
+
.IP \(bu 2
|
21691
|
+
\fBtype\fP :もし型がテーブルなら \fBreference\fP 、そうでないなら \fBtype\fP 。
|
21692
|
+
.UNINDENT
|
21693
|
+
.UNINDENT
|
21694
|
+
.UNINDENT
|
21695
|
+
T}
|
21696
|
+
_
|
21697
|
+
T{
|
21698
|
+
\fBtokenizer\fP
|
21699
|
+
T} T{
|
21700
|
+
テーブルのトークナイザー。 table\-create\-default\-tokenizer で指定されたものです。
|
21701
|
+
.sp
|
21702
|
+
テーブルがトークナイザーを使っていない場合は \fBnull\fP になります。
|
21703
|
+
.sp
|
21704
|
+
テーブルがトークナイザーを使っている場合はオブジェクトになります。オブジェクトは次のプロパティを持ちます。
|
21705
|
+
.INDENT 0.0
|
21706
|
+
.INDENT 3.5
|
21707
|
+
.INDENT 0.0
|
21708
|
+
.IP \(bu 2
|
21709
|
+
\fBname\fP :トークナイザー名。
|
21710
|
+
.UNINDENT
|
21711
|
+
.UNINDENT
|
21712
|
+
.UNINDENT
|
21713
|
+
T}
|
21714
|
+
_
|
21715
|
+
T{
|
21716
|
+
\fBnormalizer\fP
|
21717
|
+
T} T{
|
21718
|
+
テーブルのノーマライザー。 table\-create\-normalizer で指定されたものです。
|
21719
|
+
.sp
|
21720
|
+
テーブルがノーマライザーを使っていない場合は \fBnull\fP になります。
|
21721
|
+
.sp
|
21722
|
+
テーブルがノーマライザーを使っている場合はオブジェクトになります。オブジェクトは次のプロパティを持ちます。
|
21723
|
+
.INDENT 0.0
|
21724
|
+
.INDENT 3.5
|
21725
|
+
.INDENT 0.0
|
21726
|
+
.IP \(bu 2
|
21727
|
+
\fBname\fP :ノーマライザー名。
|
21728
|
+
.UNINDENT
|
21729
|
+
.UNINDENT
|
21730
|
+
.UNINDENT
|
21731
|
+
T}
|
21732
|
+
_
|
21733
|
+
T{
|
21734
|
+
\fBtoken_filters\fP
|
21735
|
+
T} T{
|
21736
|
+
テーブルのトークンフィルターです。 table\-create\-token\-filters で指定されたものです。
|
21737
|
+
.sp
|
21738
|
+
オブジェクトの配列です。オブジェクトは次のプロパティを持ちます。
|
21739
|
+
.INDENT 0.0
|
21740
|
+
.INDENT 3.5
|
21741
|
+
.INDENT 0.0
|
21742
|
+
.IP \(bu 2
|
21743
|
+
\fBname\fP :トークンフィルター名。
|
21744
|
+
.UNINDENT
|
21745
|
+
.UNINDENT
|
21746
|
+
.UNINDENT
|
21747
|
+
T}
|
21748
|
+
_
|
21749
|
+
T{
|
21750
|
+
\fBindexes\fP
|
21751
|
+
T} T{
|
21752
|
+
テーブルのキーに対するインデックス。
|
21753
|
+
.sp
|
21754
|
+
\fI\%INDEX\fP の配列です。
|
21755
|
+
T}
|
21756
|
+
_
|
21757
|
+
T{
|
21758
|
+
\fBcommand\fP
|
21759
|
+
T} T{
|
21760
|
+
このテーブルを作るためのGroongaコマンドに関する情報。
|
21761
|
+
.sp
|
21762
|
+
\fI\%COMMAND\fP になります。
|
21763
|
+
T}
|
21764
|
+
_
|
21765
|
+
T{
|
21766
|
+
\fBcolumns\fP
|
21767
|
+
T} T{
|
21768
|
+
テーブルのカラム。
|
21769
|
+
.sp
|
21770
|
+
オブジェクトです。キーはカラム名で値は \fI\%COLUMN\fP です。
|
21771
|
+
T}
|
21772
|
+
_
|
21773
|
+
.TE
|
21774
|
+
.SS \fBINDEX\fP
|
21775
|
+
.sp
|
21776
|
+
\fBINDEX\fP はインデックスの詳細を示すオブジェクトです。:
|
21777
|
+
.INDENT 0.0
|
21778
|
+
.INDENT 3.5
|
21779
|
+
.sp
|
21780
|
+
.nf
|
21781
|
+
.ft C
|
21782
|
+
{
|
21783
|
+
"full_name": INDEX_COLUMN_NAME_WITH_TABLE_NAME,
|
21784
|
+
"table": TABLE_NAME,
|
21785
|
+
"name": INDEX_COLUMN_NAME,
|
21786
|
+
"section": SECTION
|
21787
|
+
}
|
21788
|
+
.ft P
|
21789
|
+
.fi
|
21790
|
+
.UNINDENT
|
21791
|
+
.UNINDENT
|
21792
|
+
.sp
|
21793
|
+
以下は \fBINDEX\fP のプロパティです。
|
21794
|
+
.TS
|
21795
|
+
center;
|
21796
|
+
|l|l|.
|
21797
|
+
_
|
21798
|
+
T{
|
21799
|
+
名前
|
21800
|
+
T} T{
|
21801
|
+
説明
|
21802
|
+
T}
|
21803
|
+
_
|
21804
|
+
T{
|
21805
|
+
\fBfull_name\fP
|
21806
|
+
T} T{
|
21807
|
+
テーブル名を含むインデックスカラム名。
|
21808
|
+
.sp
|
21809
|
+
例: \fBTerms.index\fP
|
21810
|
+
T}
|
21811
|
+
_
|
21812
|
+
T{
|
21813
|
+
\fBtable\fP
|
21814
|
+
T} T{
|
21815
|
+
インデックスカラムのテーブル名。
|
21816
|
+
.sp
|
21817
|
+
例: \fBTerms\fP
|
21818
|
+
T}
|
21819
|
+
_
|
21820
|
+
T{
|
21821
|
+
\fBname\fP
|
21822
|
+
T} T{
|
21823
|
+
インデックスカラム名。
|
21824
|
+
.sp
|
21825
|
+
例: \fBindex\fP
|
21826
|
+
T}
|
21827
|
+
_
|
21828
|
+
T{
|
21829
|
+
\fBsection\fP
|
21830
|
+
T} T{
|
21831
|
+
テーブルのキーに対するインデックスカラムのセクション番号。
|
21832
|
+
.sp
|
21833
|
+
インデックスカラムがマルチカラムインデックスでない場合は \fB0\fP になります。
|
21834
|
+
T}
|
21835
|
+
_
|
21836
|
+
.TE
|
21837
|
+
.SS \fBCOMMAND\fP
|
21838
|
+
.sp
|
21839
|
+
\fBCOMMAND\fP はこのテーブル・カラムを作る方法を示したオブジェクトです。:
|
21840
|
+
.INDENT 0.0
|
21841
|
+
.INDENT 3.5
|
21842
|
+
.sp
|
21843
|
+
.nf
|
21844
|
+
.ft C
|
21845
|
+
{
|
21846
|
+
"name": COMMAND_NAME,
|
21847
|
+
"arguments": {
|
21848
|
+
"KEY_1": "VALUE_1",
|
21849
|
+
"KEY_2": "VALUE_2",
|
21850
|
+
...,
|
21851
|
+
"KEY_n": "VALUE_n"
|
21852
|
+
},
|
21853
|
+
"command_line": COMMAND_LINE
|
21854
|
+
}
|
21855
|
+
.ft P
|
21856
|
+
.fi
|
21857
|
+
.UNINDENT
|
21858
|
+
.UNINDENT
|
21859
|
+
.sp
|
21860
|
+
以下は \fBCOMMAND\fP のプロパティです。
|
21861
|
+
.TS
|
21862
|
+
center;
|
21863
|
+
|l|l|.
|
21864
|
+
_
|
21865
|
+
T{
|
21866
|
+
名前
|
21867
|
+
T} T{
|
21868
|
+
説明
|
21869
|
+
T}
|
21870
|
+
_
|
21871
|
+
T{
|
21872
|
+
\fBname\fP
|
21873
|
+
T} T{
|
21874
|
+
このテーブル・カラムを作るGroongaコマンドの名前。
|
21875
|
+
T}
|
21876
|
+
_
|
21877
|
+
T{
|
21878
|
+
\fBarguments\fP
|
21879
|
+
T} T{
|
21880
|
+
このテーブル・カラムを作るためのGroongaコマンドの引数。
|
21881
|
+
.sp
|
21882
|
+
オブジェクトになります。キーは引数名で値は引数の値です。
|
21883
|
+
T}
|
21884
|
+
_
|
21885
|
+
T{
|
21886
|
+
\fBcommand_line\fP
|
21887
|
+
T} T{
|
21888
|
+
このテーブル・カラムを作るGroongaコマンドのコマンドラインです。
|
21889
|
+
.sp
|
21890
|
+
この文字列はGroongaが評価できます。
|
21891
|
+
T}
|
21892
|
+
_
|
21893
|
+
.TE
|
21894
|
+
.SS \fBCOLUMN\fP
|
21895
|
+
.sp
|
21896
|
+
\fBCOLUMN\fP はカラムの詳細を示したオブジェクトです。:
|
21897
|
+
.INDENT 0.0
|
21898
|
+
.INDENT 3.5
|
21899
|
+
.sp
|
21900
|
+
.nf
|
21901
|
+
.ft C
|
21902
|
+
{
|
21903
|
+
"name": COLUMN_NAME,
|
21904
|
+
"table": TABLE_NAME,
|
21905
|
+
"full_name": COLUMN_NAME_WITH_TABLE,
|
21906
|
+
"type": TYPE,
|
21907
|
+
"value_type": VALUE_TYPE,
|
21908
|
+
"compress": COMPRESS,
|
21909
|
+
"section": SECTION,
|
21910
|
+
"weight": WEIGHT,
|
21911
|
+
"compress": COMPRESS,
|
21912
|
+
"section": BOOLEAN,
|
21913
|
+
"weight": BOOLEAN,
|
21914
|
+
"position": BOOLEAN,
|
21915
|
+
"sources": [
|
21916
|
+
SOURCE_1,
|
21917
|
+
SOURCE_2,
|
21918
|
+
...,
|
21919
|
+
SOURCE_n
|
21920
|
+
],
|
21921
|
+
"indexes": [
|
21922
|
+
INDEX_1,
|
21923
|
+
INDEX_2,
|
21924
|
+
...,
|
21925
|
+
INDEX_n
|
21926
|
+
],
|
21927
|
+
"command": COMMAND
|
21928
|
+
}
|
21929
|
+
.ft P
|
21930
|
+
.fi
|
21931
|
+
.UNINDENT
|
21932
|
+
.UNINDENT
|
21933
|
+
.sp
|
21934
|
+
以下は \fBCOLUMN\fP のプロパティです。
|
21935
|
+
.TS
|
21936
|
+
center;
|
21937
|
+
|l|l|.
|
21938
|
+
_
|
21939
|
+
T{
|
21940
|
+
名前
|
21941
|
+
T} T{
|
21942
|
+
説明
|
21943
|
+
T}
|
21944
|
+
_
|
21945
|
+
T{
|
21946
|
+
\fBname\fP
|
21947
|
+
T} T{
|
21948
|
+
カラム名。
|
21949
|
+
.sp
|
21950
|
+
例: \fBage\fP
|
21951
|
+
T}
|
21952
|
+
_
|
21953
|
+
T{
|
21954
|
+
\fBtable\fP
|
21955
|
+
T} T{
|
21956
|
+
カラムのテーブル名。
|
21957
|
+
.sp
|
21958
|
+
例: \fBUsers\fP
|
21959
|
+
T}
|
21960
|
+
_
|
21961
|
+
T{
|
21962
|
+
\fBfull_name\fP
|
21963
|
+
T} T{
|
21964
|
+
テーブル名を含むカラム名。
|
21965
|
+
.sp
|
21966
|
+
例: \fBUsers.age\fP
|
21967
|
+
T}
|
21968
|
+
_
|
21969
|
+
T{
|
21970
|
+
\fBtype\fP
|
21971
|
+
T} T{
|
21972
|
+
カラムの種類。
|
21973
|
+
.sp
|
21974
|
+
以下のどれかです。
|
21975
|
+
.INDENT 0.0
|
21976
|
+
.INDENT 3.5
|
21977
|
+
.INDENT 0.0
|
21978
|
+
.IP \(bu 2
|
21979
|
+
\fBscalar\fP: \fB/reference/columns/scalar\fP
|
21980
|
+
.IP \(bu 2
|
21981
|
+
\fBvector\fP: \fB/reference/columns/vector\fP
|
21982
|
+
.IP \(bu 2
|
21983
|
+
\fBindex\fP: \fB/reference/columns/index\fP
|
21984
|
+
.UNINDENT
|
21985
|
+
.UNINDENT
|
21986
|
+
.UNINDENT
|
21987
|
+
T}
|
21988
|
+
_
|
21989
|
+
T{
|
21990
|
+
\fBvalue_type\fP
|
21991
|
+
T} T{
|
21992
|
+
カラムの値の型。
|
21993
|
+
.sp
|
21994
|
+
オブジェクトです。このオブジェクトは次のプロパティを持ちます。
|
21995
|
+
.INDENT 0.0
|
21996
|
+
.INDENT 3.5
|
21997
|
+
.INDENT 0.0
|
21998
|
+
.IP \(bu 2
|
21999
|
+
\fBname\fP :型名。
|
22000
|
+
.IP \(bu 2
|
22001
|
+
\fBtype\fP :もし型がテーブルなら \fBreference\fP 、そうでないなら \fBtype\fP 。
|
22002
|
+
.UNINDENT
|
22003
|
+
.UNINDENT
|
22004
|
+
.UNINDENT
|
22005
|
+
T}
|
22006
|
+
_
|
22007
|
+
T{
|
22008
|
+
\fBcompress\fP
|
22009
|
+
T} T{
|
22010
|
+
カラムの圧縮方法です。
|
22011
|
+
.sp
|
22012
|
+
カラムがどの圧縮方法も使っていない場合は \fBnull\fP になります。
|
22013
|
+
.sp
|
22014
|
+
カラムが圧縮方法を使っている場合は次のどれかになります。
|
22015
|
+
.INDENT 0.0
|
22016
|
+
.INDENT 3.5
|
22017
|
+
.INDENT 0.0
|
22018
|
+
.IP \(bu 2
|
22019
|
+
\fBzlib\fP :カラムの値を圧縮するためにzlibを使います。
|
22020
|
+
.IP \(bu 2
|
22021
|
+
\fBlz4\fP :カラムの値を圧縮するためにLZ4を使います。
|
22022
|
+
.UNINDENT
|
22023
|
+
.UNINDENT
|
22024
|
+
.UNINDENT
|
22025
|
+
T}
|
22026
|
+
_
|
22027
|
+
T{
|
22028
|
+
\fBsection\fP
|
22029
|
+
T} T{
|
22030
|
+
カラムがセクション情報を保存できるかどうか。
|
22031
|
+
.sp
|
22032
|
+
\fBWITH_SECTION\fP フラグ付きでカラムを作ったときは \fBtrue\fP 、そうでないときは \fBfalse\fP になります。
|
22033
|
+
.sp
|
22034
|
+
通常、インデックスカラムでない場合は \fBfalse\fP になります。
|
22035
|
+
T}
|
22036
|
+
_
|
22037
|
+
T{
|
22038
|
+
\fBweight\fP
|
22039
|
+
T} T{
|
22040
|
+
カラムが重み情報を保存できるかどうか。
|
22041
|
+
.sp
|
22042
|
+
\fBWITH_WEIGHT\fP フラグ付きでカラムを作ったときは \fBtrue\fP 、そうでないときは \fBfalse\fP になります。
|
22043
|
+
T}
|
22044
|
+
_
|
22045
|
+
T{
|
22046
|
+
\fBposition\fP
|
22047
|
+
T} T{
|
22048
|
+
カラムが位置情報を保存できるかどうか。
|
22049
|
+
.sp
|
22050
|
+
\fBWITH_POSITION\fP フラグ付きでカラムを作ったときは \fBtrue\fP 、そうでないときは \fBfalse\fP になります。
|
22051
|
+
.sp
|
22052
|
+
通常、インデックスカラムでない場合は \fBfalse\fP になります。
|
22053
|
+
T}
|
22054
|
+
_
|
22055
|
+
T{
|
22056
|
+
\fBsources\fP
|
22057
|
+
T} T{
|
22058
|
+
インデックスカラムのソースカラム。
|
22059
|
+
.sp
|
22060
|
+
\fI\%SOURCE\fP の配列になります。
|
22061
|
+
.sp
|
22062
|
+
通常、カラムがインデックスカラムでない場合は空配列になります。
|
22063
|
+
T}
|
22064
|
+
_
|
22065
|
+
T{
|
22066
|
+
\fBindexes\fP
|
22067
|
+
T} T{
|
22068
|
+
カラムのインデックス。
|
22069
|
+
.sp
|
22070
|
+
\fI\%INDEX\fP の配列です。
|
22071
|
+
T}
|
22072
|
+
_
|
22073
|
+
T{
|
22074
|
+
\fBcommand\fP
|
22075
|
+
T} T{
|
22076
|
+
このカラムを作るためのGroongaコマンド情報。
|
22077
|
+
.sp
|
22078
|
+
\fI\%COMMAND\fP になります。
|
22079
|
+
T}
|
22080
|
+
_
|
22081
|
+
.TE
|
22082
|
+
.SS \fBSOURCE\fP
|
22083
|
+
.sp
|
22084
|
+
\fBSOURCE\fP はソースの詳細を示すオブジェクトです。:
|
22085
|
+
.INDENT 0.0
|
22086
|
+
.INDENT 3.5
|
22087
|
+
.sp
|
22088
|
+
.nf
|
22089
|
+
.ft C
|
22090
|
+
{
|
22091
|
+
"name": COLUMN_NAME,
|
22092
|
+
"table": TABLE_NAME,
|
22093
|
+
"full_name": COLUMN_NAME_WITH_TABLE_NAME
|
22094
|
+
}
|
22095
|
+
.ft P
|
22096
|
+
.fi
|
22097
|
+
.UNINDENT
|
22098
|
+
.UNINDENT
|
22099
|
+
.sp
|
22100
|
+
以下は \fBSOURCE\fP のプロパティです。
|
22101
|
+
.TS
|
22102
|
+
center;
|
22103
|
+
|l|l|.
|
22104
|
+
_
|
22105
|
+
T{
|
22106
|
+
名前
|
22107
|
+
T} T{
|
22108
|
+
説明
|
22109
|
+
T}
|
22110
|
+
_
|
22111
|
+
T{
|
22112
|
+
\fBname\fP
|
22113
|
+
T} T{
|
22114
|
+
ソースカラム名。
|
22115
|
+
.sp
|
22116
|
+
例: \fBcontent\fP
|
22117
|
+
.sp
|
22118
|
+
\fB_key\fP 擬似カラムになるかもしれません。
|
22119
|
+
T}
|
22120
|
+
_
|
22121
|
+
T{
|
22122
|
+
\fBtable\fP
|
22123
|
+
T} T{
|
22124
|
+
ソースカラムのテーブル名。
|
22125
|
+
.sp
|
22126
|
+
例: \fBMemos\fP
|
22127
|
+
T}
|
22128
|
+
_
|
22129
|
+
T{
|
22130
|
+
\fBfull_name\fP
|
22131
|
+
T} T{
|
22132
|
+
テーブル名を含むソースカラム名。
|
22133
|
+
.sp
|
22134
|
+
例: \fBMemos.content\fP
|
22135
|
+
T}
|
22136
|
+
_
|
22137
|
+
.TE
|
22138
|
+
.SS 参考
|
22139
|
+
.INDENT 0.0
|
22140
|
+
.INDENT 3.5
|
22141
|
+
.INDENT 0.0
|
22142
|
+
.IP \(bu 2
|
22143
|
+
\fBtable_create\fP
|
22144
|
+
.IP \(bu 2
|
22145
|
+
\fBcolumn_create\fP
|
22146
|
+
.UNINDENT
|
22147
|
+
.UNINDENT
|
22148
|
+
.UNINDENT
|
19503
22149
|
.SS \fBselect\fP
|
19504
22150
|
.SS 概要
|
19505
22151
|
.sp
|
@@ -25906,10 +28552,10 @@ groonga\-suggest\-create\-dataset /tmp/db\-path query
|
|
25906
28552
|
.INDENT 3.5
|
25907
28553
|
.INDENT 0.0
|
25908
28554
|
.TP
|
25909
|
-
.B
|
28555
|
+
.B \fByes\fP
|
25910
28556
|
常に前方一致検索を実行します。
|
25911
28557
|
.TP
|
25912
|
-
.B
|
28558
|
+
.B \fBno\fP
|
25913
28559
|
前方一致検索を実行しません。
|
25914
28560
|
.TP
|
25915
28561
|
.B \fBauto\fP
|
@@ -25931,10 +28577,10 @@ groonga\-suggest\-create\-dataset /tmp/db\-path query
|
|
25931
28577
|
.INDENT 3.5
|
25932
28578
|
.INDENT 0.0
|
25933
28579
|
.TP
|
25934
|
-
.B
|
28580
|
+
.B \fByes\fP
|
25935
28581
|
常に類似検索を実行します。
|
25936
28582
|
.TP
|
25937
|
-
.B
|
28583
|
+
.B \fBno\fP
|
25938
28584
|
類似検索を実行しません。
|
25939
28585
|
.TP
|
25940
28586
|
.B \fBauto\fP
|
@@ -28781,7 +31427,7 @@ select Users
|
|
28781
31427
|
テーブル名またはカラム名を指定します。
|
28782
31428
|
.SS 戻り値
|
28783
31429
|
.sp
|
28784
|
-
\fBtruncate\fP
|
31430
|
+
\fBtruncate\fP コマンドは全削除が成功したかどうかを返します。:
|
28785
31431
|
.INDENT 0.0
|
28786
31432
|
.INDENT 3.5
|
28787
31433
|
.sp
|
@@ -34113,7 +36759,7 @@ select Entries \-\-query content:~.roonga
|
|
34113
36759
|
.UNINDENT
|
34114
36760
|
.UNINDENT
|
34115
36761
|
.sp
|
34116
|
-
|
36762
|
+
多くの場合、各レコードに対して順に正規表現を評価します。そのため、多くのレコードがある場合は遅くなるかもしれません。
|
34117
36763
|
.sp
|
34118
36764
|
いくつかのケースでは、Groongaはインデックスを使って正規表現を評価します。これはとても高速です。詳細は \fB/reference/regular_expression\fP を参照してください。
|
34119
36765
|
.SS 結合式
|
@@ -37167,7 +39813,7 @@ select Entries \-\-filter \(aqcontent @~ ".roonga"\(aq
|
|
37167
39813
|
.UNINDENT
|
37168
39814
|
.UNINDENT
|
37169
39815
|
.sp
|
37170
|
-
|
39816
|
+
多くの場合、各レコードに対して順に正規表現を評価します。そのため、多くのレコードがある場合は遅くなるかもしれません。
|
37171
39817
|
.sp
|
37172
39818
|
いくつかのケースでは、Groongaはインデックスを使って正規表現を評価します。これはとても高速です。詳細は \fB/reference/regular_expression\fP を参照してください。
|
37173
39819
|
.SS 参考
|
@@ -41081,6 +43727,391 @@ load \-\-table Readings
|
|
41081
43727
|
.UNINDENT
|
41082
43728
|
.UNINDENT
|
41083
43729
|
.UNINDENT
|
43730
|
+
.SS 設定
|
43731
|
+
.sp
|
43732
|
+
バージョン 5.1.2 で追加.
|
43733
|
+
|
43734
|
+
.sp
|
43735
|
+
Groongaはデータベース単位で設定項目を管理できます。これらの設定項目は永続化されます。つまり、Groongaプロセスが終了した後も設定項目を利用できるということです。
|
43736
|
+
.SS 概要
|
43737
|
+
.sp
|
43738
|
+
\fB/spec/search\fP のようにGroongaのいくつか挙動はリクエストパラメーター( select\-match\-escalation\-threshold )やビルドパラメーター( install\-configure\-with\-match\-escalation\-threshold )などいくつかの方法で変更できます。
|
43739
|
+
.sp
|
43740
|
+
設定はそれらの方法のうちの1つです。設定を使うことでデータベース単位でGroongaの挙動を変更できます。
|
43741
|
+
.sp
|
43742
|
+
1つの設定項目はキーと値のペアです。キーも値も文字列です。キーの最大サイズは4KiBです。値の最大サイズは4091B(= 4KiB \- 5B)です。
|
43743
|
+
.sp
|
43744
|
+
設定項目は \fB/reference/commands/config_set\fP で設定できます。
|
43745
|
+
.sp
|
43746
|
+
設定項目の値は \fB/reference/commands/config_get\fP で取得できます。
|
43747
|
+
.sp
|
43748
|
+
設定項目は \fB/reference/commands/config_delete\fP で削除できます。
|
43749
|
+
.sp
|
43750
|
+
\fB/reference/commands/dump\fP ですべての設定項目を確認できます。
|
43751
|
+
.SS コマンド一覧
|
43752
|
+
.SS エイリアス
|
43753
|
+
.sp
|
43754
|
+
バージョン 5.1.2 で追加.
|
43755
|
+
|
43756
|
+
.sp
|
43757
|
+
エイリアス機能を使うと複数の名前で1つのテーブル・カラムを参照できます。
|
43758
|
+
.SS 概要
|
43759
|
+
.sp
|
43760
|
+
このエイリアス機能は次のケースで有用です。
|
43761
|
+
.INDENT 0.0
|
43762
|
+
.INDENT 3.5
|
43763
|
+
.INDENT 0.0
|
43764
|
+
.IP \(bu 2
|
43765
|
+
テーブルをリネームしたいが現在のテーブル名を使っているGroongaクライアントがいてそれらは変更できない。
|
43766
|
+
.IP \(bu 2
|
43767
|
+
ダウンタイムなしでカラムの型を変更したい。
|
43768
|
+
.UNINDENT
|
43769
|
+
.UNINDENT
|
43770
|
+
.UNINDENT
|
43771
|
+
.sp
|
43772
|
+
前者のケースでは、テーブルをリネームした後も既存のGroongaクライアントは現在のテーブル名(リネーム前のテーブル名)でアクセスできます。なぜなら、エイリアス機能は現在のテーブル名を新しいリネーム後のテーブル名に対応づけるからです。
|
43773
|
+
.sp
|
43774
|
+
後者のケースでは、前提として、すべてのGroongaクライアントは \fBaliased_column\fP のようなエイリアスされた名前でアクセスするようにしておきます。 \fBaliased_column\fP は \fBcurrent_column\fP (現在のテーブル)を参照するようにします。この状態で、 \fBnew_column\fP という新しいカラムを新しい型で作成し、 \fB/reference/commands/column_copy\fP を使ってそのカラムに \fBcurrent_column\fP からデータをコピーします。その後、 \fBaliased_column\fP の参照先を \fBcurrent_column\fP から \fBnew_column\fP に変更します。これですべてのGroongaクライアントは \fBaliased_column\fP で \fBnew_column\fP を参照するようになります。検索リクエストを止める必要はありません。
|
43775
|
+
.SS 使い方
|
43776
|
+
.sp
|
43777
|
+
エイリアスと実際の名前の対応は通常のテーブルとカラムで管理します。
|
43778
|
+
.sp
|
43779
|
+
エイリアス管理テーブルには table\-no\-key 以外であればどの種類でも使えます。オススメは table\-hash\-key です。なぜなら、エイリアス機能ではキーの完全一致検索しか使わないからです。キーの完全一致検索が一番速いのは table\-hash\-key です。
|
43780
|
+
.sp
|
43781
|
+
カラムは、種類を \fB/reference/columns/scalar\fP 、型を \fBShortText\fP にします。 \fBText\fP または \fBLongText\fP 型も使えますが、意味がありません。なぜなら、テーブル・カラム名の最大サイズは4KiBだからです。 \fBShortText\fP は4KiBのデータを格納できます。
|
43782
|
+
.sp
|
43783
|
+
以下はエイリアス管理用のテーブル・カラムの定義例です。
|
43784
|
+
.sp
|
43785
|
+
実行例:
|
43786
|
+
.INDENT 0.0
|
43787
|
+
.INDENT 3.5
|
43788
|
+
.sp
|
43789
|
+
.nf
|
43790
|
+
.ft C
|
43791
|
+
table_create Aliases TABLE_HASH_KEY ShortText
|
43792
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
43793
|
+
column_create Aliases real_name COLUMN_SCALAR ShortText
|
43794
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
43795
|
+
.ft P
|
43796
|
+
.fi
|
43797
|
+
.UNINDENT
|
43798
|
+
.UNINDENT
|
43799
|
+
.sp
|
43800
|
+
\fBconfiguration\fP を使ってこのテーブルとカラムを登録する必要があります。エイリアス機能は設定項目 \fBalias.column\fP を使います。次のように \fB/reference/commands/config_set\fP を使ってこのテーブルとカラムを登録します。
|
43801
|
+
.sp
|
43802
|
+
実行例:
|
43803
|
+
.INDENT 0.0
|
43804
|
+
.INDENT 3.5
|
43805
|
+
.sp
|
43806
|
+
.nf
|
43807
|
+
.ft C
|
43808
|
+
config_set alias.column Aliases.real_name
|
43809
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
43810
|
+
.ft P
|
43811
|
+
.fi
|
43812
|
+
.UNINDENT
|
43813
|
+
.UNINDENT
|
43814
|
+
.sp
|
43815
|
+
エイリアスの使い方を示すためのスキーマとデータは次の通りです。
|
43816
|
+
.sp
|
43817
|
+
実行例:
|
43818
|
+
.INDENT 0.0
|
43819
|
+
.INDENT 3.5
|
43820
|
+
.sp
|
43821
|
+
.nf
|
43822
|
+
.ft C
|
43823
|
+
table_create Users TABLE_HASH_KEY ShortText
|
43824
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
43825
|
+
column_create Users age COLUMN_SCALAR UInt8
|
43826
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
43827
|
+
load \-\-table Users
|
43828
|
+
[
|
43829
|
+
{"_key": "alice", "age": 14},
|
43830
|
+
{"_key": "bob", "age": 29}
|
43831
|
+
]
|
43832
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 2]
|
43833
|
+
.ft P
|
43834
|
+
.fi
|
43835
|
+
.UNINDENT
|
43836
|
+
.UNINDENT
|
43837
|
+
.sp
|
43838
|
+
\fB/reference/commands/select\fP で \fBUsers.age\fP を使えます。
|
43839
|
+
.sp
|
43840
|
+
実行例:
|
43841
|
+
.INDENT 0.0
|
43842
|
+
.INDENT 3.5
|
43843
|
+
.sp
|
43844
|
+
.nf
|
43845
|
+
.ft C
|
43846
|
+
select Users \-\-filter \(aqage < 20\(aq
|
43847
|
+
# [
|
43848
|
+
# [
|
43849
|
+
# 0,
|
43850
|
+
# 1337566253.89858,
|
43851
|
+
# 0.000355720520019531
|
43852
|
+
# ],
|
43853
|
+
# [
|
43854
|
+
# [
|
43855
|
+
# [
|
43856
|
+
# 1
|
43857
|
+
# ],
|
43858
|
+
# [
|
43859
|
+
# [
|
43860
|
+
# "_id",
|
43861
|
+
# "UInt32"
|
43862
|
+
# ],
|
43863
|
+
# [
|
43864
|
+
# "_key",
|
43865
|
+
# "ShortText"
|
43866
|
+
# ],
|
43867
|
+
# [
|
43868
|
+
# "age",
|
43869
|
+
# "UInt8"
|
43870
|
+
# ]
|
43871
|
+
# ],
|
43872
|
+
# [
|
43873
|
+
# 1,
|
43874
|
+
# "alice",
|
43875
|
+
# 14
|
43876
|
+
# ]
|
43877
|
+
# ]
|
43878
|
+
# ]
|
43879
|
+
# ]
|
43880
|
+
.ft P
|
43881
|
+
.fi
|
43882
|
+
.UNINDENT
|
43883
|
+
.UNINDENT
|
43884
|
+
.sp
|
43885
|
+
\fB/reference/commands/column_rename\fP で \fBUsers.age\fP を \fBUsers.years\fP にリネームすると \fBUsers.age\fP にはアクセスできなくなります。
|
43886
|
+
.sp
|
43887
|
+
実行例:
|
43888
|
+
.INDENT 0.0
|
43889
|
+
.INDENT 3.5
|
43890
|
+
.sp
|
43891
|
+
.nf
|
43892
|
+
.ft C
|
43893
|
+
column_rename Users age years
|
43894
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
43895
|
+
select Users \-\-filter \(aqage < 20\(aq
|
43896
|
+
# [
|
43897
|
+
# [
|
43898
|
+
# \-63,
|
43899
|
+
# 1337566253.89858,
|
43900
|
+
# 0.000355720520019531,
|
43901
|
+
# "Syntax error: <age| |< 20>",
|
43902
|
+
# [
|
43903
|
+
# [
|
43904
|
+
# "yy_syntax_error",
|
43905
|
+
# "grn_ecmascript.lemon",
|
43906
|
+
# 34
|
43907
|
+
# ]
|
43908
|
+
# ]
|
43909
|
+
# ],
|
43910
|
+
# []
|
43911
|
+
# ]
|
43912
|
+
.ft P
|
43913
|
+
.fi
|
43914
|
+
.UNINDENT
|
43915
|
+
.UNINDENT
|
43916
|
+
.sp
|
43917
|
+
\fBAliases\fP テーブルに \fBUsers.age\fP から \fBUsers.years\fP の対応を追加すると \fBUsers.age\fP を使うことができます。
|
43918
|
+
.sp
|
43919
|
+
実行例:
|
43920
|
+
.INDENT 0.0
|
43921
|
+
.INDENT 3.5
|
43922
|
+
.sp
|
43923
|
+
.nf
|
43924
|
+
.ft C
|
43925
|
+
load \-\-table Aliases
|
43926
|
+
[
|
43927
|
+
{"_key": "Users.age", "real_name": "Users.years"}
|
43928
|
+
]
|
43929
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 1]
|
43930
|
+
select Users \-\-filter \(aqage < 20\(aq
|
43931
|
+
# [
|
43932
|
+
# [
|
43933
|
+
# 0,
|
43934
|
+
# 1337566253.89858,
|
43935
|
+
# 0.000355720520019531
|
43936
|
+
# ],
|
43937
|
+
# [
|
43938
|
+
# [
|
43939
|
+
# [
|
43940
|
+
# 1
|
43941
|
+
# ],
|
43942
|
+
# [
|
43943
|
+
# [
|
43944
|
+
# "_id",
|
43945
|
+
# "UInt32"
|
43946
|
+
# ],
|
43947
|
+
# [
|
43948
|
+
# "_key",
|
43949
|
+
# "ShortText"
|
43950
|
+
# ],
|
43951
|
+
# [
|
43952
|
+
# "years",
|
43953
|
+
# "UInt8"
|
43954
|
+
# ]
|
43955
|
+
# ],
|
43956
|
+
# [
|
43957
|
+
# 1,
|
43958
|
+
# "alice",
|
43959
|
+
# 14
|
43960
|
+
# ]
|
43961
|
+
# ]
|
43962
|
+
# ]
|
43963
|
+
# ]
|
43964
|
+
.ft P
|
43965
|
+
.fi
|
43966
|
+
.UNINDENT
|
43967
|
+
.UNINDENT
|
43968
|
+
.sp
|
43969
|
+
これで、 \fBUsers.years\fP のエイリアスとして \fBUsers.age\fP を使うことができます。
|
43970
|
+
.SS エイリアスの解決方法
|
43971
|
+
.sp
|
43972
|
+
このセクションではエイリアスの解決方法について説明します。
|
43973
|
+
.sp
|
43974
|
+
Groongaは存在しない名前(テーブル名、カラム名、コマンド名、関数名など)が参照されたときにエイリアス機能を使います。エイリアス機能で既存のオブジェクト(テーブル、カラム、コマンド、関数など)を置き換えることはできません。
|
43975
|
+
.sp
|
43976
|
+
たとえば、以下の例ではエイリアスは解決されません。なぜなら \fBUsers.years\fP が存在するからです。
|
43977
|
+
.sp
|
43978
|
+
実行例:
|
43979
|
+
.INDENT 0.0
|
43980
|
+
.INDENT 3.5
|
43981
|
+
.sp
|
43982
|
+
.nf
|
43983
|
+
.ft C
|
43984
|
+
column_rename Users years years_old
|
43985
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
43986
|
+
select Users \-\-filter \(aqage < 20\(aq
|
43987
|
+
# [
|
43988
|
+
# [
|
43989
|
+
# 0,
|
43990
|
+
# 1337566253.89858,
|
43991
|
+
# 0.000355720520019531
|
43992
|
+
# ],
|
43993
|
+
# [
|
43994
|
+
# [
|
43995
|
+
# [
|
43996
|
+
# 1
|
43997
|
+
# ],
|
43998
|
+
# [
|
43999
|
+
# [
|
44000
|
+
# "_id",
|
44001
|
+
# "UInt32"
|
44002
|
+
# ],
|
44003
|
+
# [
|
44004
|
+
# "_key",
|
44005
|
+
# "ShortText"
|
44006
|
+
# ],
|
44007
|
+
# [
|
44008
|
+
# "years_old",
|
44009
|
+
# "UInt8"
|
44010
|
+
# ]
|
44011
|
+
# ],
|
44012
|
+
# [
|
44013
|
+
# 1,
|
44014
|
+
# "alice",
|
44015
|
+
# 14
|
44016
|
+
# ]
|
44017
|
+
# ]
|
44018
|
+
# ]
|
44019
|
+
# ]
|
44020
|
+
.ft P
|
44021
|
+
.fi
|
44022
|
+
.UNINDENT
|
44023
|
+
.UNINDENT
|
44024
|
+
.sp
|
44025
|
+
Groongaはエイリアスを再帰的に解決します。 \fBUsers.years\fP を \fBUsers.years_old\fP にリネームし、 \fBUsers.age\fP を参照したとします。Groongaは \fBUsers.age\fP を \fBUsers.years\fP に置き換え、その後、 \fBUsers.years\fP を \fBUsers.years_old\fP に置き換えます。なぜなら、 \fBAliases\fP テーブルには次のレコードがあるからです。
|
44026
|
+
.TS
|
44027
|
+
center;
|
44028
|
+
|l|l|.
|
44029
|
+
_
|
44030
|
+
T{
|
44031
|
+
\fB_key\fP
|
44032
|
+
T} T{
|
44033
|
+
\fBreal_name\fP
|
44034
|
+
T}
|
44035
|
+
_
|
44036
|
+
T{
|
44037
|
+
\fBUsers.age\fP
|
44038
|
+
T} T{
|
44039
|
+
\fBUsers.years\fP
|
44040
|
+
T}
|
44041
|
+
_
|
44042
|
+
T{
|
44043
|
+
\fBUsers.years\fP
|
44044
|
+
T} T{
|
44045
|
+
\fBUsers.years_old\fP
|
44046
|
+
T}
|
44047
|
+
_
|
44048
|
+
.TE
|
44049
|
+
.sp
|
44050
|
+
以下は \fBUsers.age\fP が再帰的に解決される例です。
|
44051
|
+
.sp
|
44052
|
+
実行例:
|
44053
|
+
.INDENT 0.0
|
44054
|
+
.INDENT 3.5
|
44055
|
+
.sp
|
44056
|
+
.nf
|
44057
|
+
.ft C
|
44058
|
+
column_rename Users years years_old
|
44059
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
44060
|
+
select Users \-\-filter \(aqage < 20\(aq
|
44061
|
+
# [
|
44062
|
+
# [
|
44063
|
+
# 0,
|
44064
|
+
# 1337566253.89858,
|
44065
|
+
# 0.000355720520019531
|
44066
|
+
# ],
|
44067
|
+
# [
|
44068
|
+
# [
|
44069
|
+
# [
|
44070
|
+
# 1
|
44071
|
+
# ],
|
44072
|
+
# [
|
44073
|
+
# [
|
44074
|
+
# "_id",
|
44075
|
+
# "UInt32"
|
44076
|
+
# ],
|
44077
|
+
# [
|
44078
|
+
# "_key",
|
44079
|
+
# "ShortText"
|
44080
|
+
# ],
|
44081
|
+
# [
|
44082
|
+
# "years_old",
|
44083
|
+
# "UInt8"
|
44084
|
+
# ]
|
44085
|
+
# ],
|
44086
|
+
# [
|
44087
|
+
# 1,
|
44088
|
+
# "alice",
|
44089
|
+
# 14
|
44090
|
+
# ]
|
44091
|
+
# ]
|
44092
|
+
# ]
|
44093
|
+
# ]
|
44094
|
+
.ft P
|
44095
|
+
.fi
|
44096
|
+
.UNINDENT
|
44097
|
+
.UNINDENT
|
44098
|
+
.SS 参考
|
44099
|
+
.INDENT 0.0
|
44100
|
+
.INDENT 3.5
|
44101
|
+
.INDENT 0.0
|
44102
|
+
.IP \(bu 2
|
44103
|
+
\fB/reference/configuration\fP
|
44104
|
+
.IP \(bu 2
|
44105
|
+
\fB/reference/commands/config_set\fP
|
44106
|
+
.IP \(bu 2
|
44107
|
+
\fB/reference/commands/table_create\fP
|
44108
|
+
.IP \(bu 2
|
44109
|
+
\fB/reference/commands/column_create\fP
|
44110
|
+
.IP \(bu 2
|
44111
|
+
\fB/reference/commands/select\fP
|
44112
|
+
.UNINDENT
|
44113
|
+
.UNINDENT
|
44114
|
+
.UNINDENT
|
41084
44115
|
.SS サジェスト
|
41085
44116
|
.sp
|
41086
44117
|
Groongaにはサジェスト機能があります。このセクションではこの機能の使い方とどのように動作しているかを説明します。
|
@@ -44635,7 +47666,7 @@ It estimates number of records in the rectangle specified by top_left_point para
|
|
44635
47666
|
.INDENT 0.0
|
44636
47667
|
.TP
|
44637
47668
|
.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)
|
44638
|
-
It opens a cursor to get records in the rectangle
|
47669
|
+
It opens a cursor to get records in the rectangle specified by top_left_point parameter and bottom_right_point parameter.
|
44639
47670
|
.INDENT 7.0
|
44640
47671
|
.TP
|
44641
47672
|
.B パラメタ
|
@@ -48901,7 +51932,7 @@ rpmパッケージのビルドに必要なパッケージをダウンロード
|
|
48901
51932
|
.sp
|
48902
51933
|
これにより、GroongaやMySQLのRPM/SRPMパッケージなどがカレントディレクトリ以下へとダウンロードされます。
|
48903
51934
|
.sp
|
48904
|
-
|
51935
|
+
Windowsパッケージのビルドに必要なパッケージをダウンロードするには以下のコマンドを実行します。:
|
48905
51936
|
.INDENT 0.0
|
48906
51937
|
.INDENT 3.5
|
48907
51938
|
.sp
|
@@ -49738,6 +52769,6 @@ search
|
|
49738
52769
|
.SH AUTHOR
|
49739
52770
|
Groonga Project
|
49740
52771
|
.SH COPYRIGHT
|
49741
|
-
2009-
|
52772
|
+
2009-2016, Brazil, Inc
|
49742
52773
|
.\" Generated by docutils manpage writer.
|
49743
52774
|
.
|