rroonga 5.1.1-x86-mingw32 → 6.0.0-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>7.3.
|
10
|
+
<title>7.3.51. select — Groonga v5.1.2-250-gb1f40beドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '5.1.
|
18
|
+
VERSION: '5.1.2-250-gb1f40be',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,10 +26,10 @@
|
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="Groonga v5.1.
|
29
|
+
<link rel="top" title="Groonga v5.1.2-250-gb1f40beドキュメント" href="../../index.html" />
|
30
30
|
<link rel="up" title="7.3. コマンド" href="../command.html" />
|
31
|
-
<link rel="next" title="7.3.
|
32
|
-
<link rel="prev" title="7.3.
|
31
|
+
<link rel="next" title="7.3.52. shutdown" href="shutdown.html" />
|
32
|
+
<link rel="prev" title="7.3.50. schema" href="schema.html" />
|
33
33
|
</head>
|
34
34
|
<body role="document">
|
35
35
|
<div class="header">
|
@@ -56,12 +56,12 @@
|
|
56
56
|
<a href="../../genindex.html" title="総合索引"
|
57
57
|
accesskey="I">索引</a></li>
|
58
58
|
<li class="right" >
|
59
|
-
<a href="shutdown.html" title="7.3.
|
59
|
+
<a href="shutdown.html" title="7.3.52. shutdown"
|
60
60
|
accesskey="N">次へ</a> |</li>
|
61
61
|
<li class="right" >
|
62
|
-
<a href="
|
62
|
+
<a href="schema.html" title="7.3.50. schema"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v5.1.
|
64
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v5.1.2-250-gb1f40beドキュメント</a> »</li>
|
65
65
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
66
66
|
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. コマンド</a> »</li>
|
67
67
|
</ul>
|
@@ -73,17 +73,17 @@
|
|
73
73
|
<div class="body" role="main">
|
74
74
|
|
75
75
|
<div class="section" id="select">
|
76
|
-
<h1>7.3.
|
76
|
+
<h1>7.3.51. <code class="docutils literal"><span class="pre">select</span></code><a class="headerlink" href="#select" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
77
77
|
<div class="section" id="summary">
|
78
|
-
<h2>7.3.
|
78
|
+
<h2>7.3.51.1. 概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
79
79
|
<p><code class="docutils literal"><span class="pre">select</span></code> はテーブルから指定された条件にマッチするレコードを検索し、見つかったレコードを出力します。</p>
|
80
80
|
<p><code class="docutils literal"><span class="pre">select</span></code> は最も重要なgroongaのコマンドです。Groongaの力を最大限に活かすためには <code class="docutils literal"><span class="pre">select</span></code> を理解する必要があります。</p>
|
81
81
|
</div>
|
82
82
|
<div class="section" id="syntax">
|
83
|
-
<h2>7.3.
|
83
|
+
<h2>7.3.51.2. 構文<a class="headerlink" href="#syntax" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
84
84
|
<p>このコマンドにはたくさんの引数があります。</p>
|
85
85
|
<p>必須の引数は <code class="docutils literal"><span class="pre">table</span></code> だけです。残りは省略できます:</p>
|
86
|
-
<div class="highlight-none"><div class="highlight"><pre>select table
|
86
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select table
|
87
87
|
[match_columns=null]
|
88
88
|
[query=null]
|
89
89
|
[filter=null]
|
@@ -139,11 +139,11 @@
|
|
139
139
|
</div></blockquote>
|
140
140
|
</div>
|
141
141
|
<div class="section" id="usage">
|
142
|
-
<h2>7.3.
|
142
|
+
<h2>7.3.51.3. 使い方<a class="headerlink" href="#usage" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
143
143
|
<p>例を使いながら <code class="docutils literal"><span class="pre">select</span></code> の使い方を学びましょう。このセクションではよく使われる使い方を紹介します。</p>
|
144
144
|
<p>使い方を示すために使うスキーマ定義とサンプルデータは以下の通りです。</p>
|
145
145
|
<p>実行例:</p>
|
146
|
-
<div class="highlight-none"><div class="highlight"><pre>table_create Entries TABLE_HASH_KEY ShortText
|
146
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>table_create Entries TABLE_HASH_KEY ShortText
|
147
147
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
148
148
|
column_create Entries content COLUMN_SCALAR Text
|
149
149
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
@@ -187,10 +187,10 @@ load --table Entries
|
|
187
187
|
<p><code class="docutils literal"><span class="pre">Entries._key</span></code> カラムと <code class="docutils literal"><span class="pre">Entries.content</span></code> カラムには <code class="docutils literal"><span class="pre">TokenBigram</span></code> トークナイザーを使ったインデックスを作成します。そのため、 <code class="docutils literal"><span class="pre">Entries._key</span></code> と <code class="docutils literal"><span class="pre">Entries.content</span></code> は両方とも全文検索できます。</p>
|
188
188
|
<p>これで例を示すためのスキーマとデータの準備ができました。</p>
|
189
189
|
<div class="section" id="simple-usage">
|
190
|
-
<span id="select-simple-usage"></span><h3>7.3.
|
190
|
+
<span id="select-simple-usage"></span><h3>7.3.51.3.1. 簡単な使い方<a class="headerlink" href="#simple-usage" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
191
191
|
<p>上記のスキーマとデータを使った一番簡単な使い方は以下の通りです。これは <code class="docutils literal"><span class="pre">Entries</span></code> テーブルのすべてのレコードを出力します。</p>
|
192
192
|
<p>実行例:</p>
|
193
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries
|
193
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries
|
194
194
|
# [
|
195
195
|
# [
|
196
196
|
# 0,
|
@@ -267,16 +267,16 @@ load --table Entries
|
|
267
267
|
<p>どうしてこのコマンドがすべてのレコードを出力するのでしょうか?理由は2つです。1つ目の理由はこのコマンドが検索条件を何も指定していないからです。検索条件を指定しないとすべてのレコードがマッチします。2つ目の理由は全レコード数が5だからです。 <code class="docutils literal"><span class="pre">select</span></code> コマンドはデフォルトでは最大10レコードを出力します。この例では5レコードしかありません。これは10よりも少ないのですべてのレコードを出力します。</p>
|
268
268
|
</div>
|
269
269
|
<div class="section" id="search-conditions">
|
270
|
-
<h3>7.3.
|
270
|
+
<h3>7.3.51.3.2. 検索条件<a class="headerlink" href="#search-conditions" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
271
271
|
<p>検索条件は <code class="docutils literal"><span class="pre">query</span></code> または <code class="docutils literal"><span class="pre">filter</span></code> で指定します。 <code class="docutils literal"><span class="pre">query</span></code> と <code class="docutils literal"><span class="pre">filter</span></code> を両方指定することもできます。この場合は <code class="docutils literal"><span class="pre">query</span></code> と <code class="docutils literal"><span class="pre">filter</span></code> の両方の条件にマッチしたレコードが出力されます。</p>
|
272
272
|
<div class="section" id="search-condition-query">
|
273
|
-
<h4>7.3.
|
273
|
+
<h4>7.3.51.3.2.1. 検索条件: <code class="docutils literal"><span class="pre">query</span></code><a class="headerlink" href="#search-condition-query" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
274
274
|
<p><code class="docutils literal"><span class="pre">query</span></code> はWebページの検索ボックス用に用意されています。例えば、google.co.jpにあるような検索ボックスです。 <code class="docutils literal"><span class="pre">query</span></code> の検索条件はスペース区切りでキーワードを指定します。例えば、 <code class="docutils literal"><span class="pre">検索</span> <span class="pre">エンジン</span></code> は <code class="docutils literal"><span class="pre">検索</span></code> と <code class="docutils literal"><span class="pre">エンジン</span></code> という2つのキーワードを含むレコードを検索します。</p>
|
275
275
|
<p>通常は <code class="docutils literal"><span class="pre">query</span></code> 引数は全文検索条件を指定するために使います。全文検索条件以外も指定できますが、その用途には <code class="docutils literal"><span class="pre">filter</span></code> 引数の方が向いています。</p>
|
276
276
|
<p><code class="docutils literal"><span class="pre">query</span></code> 引数で全文検索条件を指定する場合は、 <code class="docutils literal"><span class="pre">match_columns</span></code> 引数と一緒に使います。 <code class="docutils literal"><span class="pre">match_columns</span></code> はどのカラムまたはインデックスを使って <code class="docutils literal"><span class="pre">query</span></code> を検索するかを指定します。</p>
|
277
277
|
<p>以下は簡単な <code class="docutils literal"><span class="pre">query</span></code> の使用例です。</p>
|
278
278
|
<p>実行例:</p>
|
279
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns content --query fast
|
279
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --match_columns content --query fast
|
280
280
|
# [
|
281
281
|
# [
|
282
282
|
# 0,
|
@@ -333,11 +333,11 @@ load --table Entries
|
|
333
333
|
<p><code class="docutils literal"><span class="pre">query</span></code> はクエリー構文という構文を使いますが、詳細はここでは説明しません。詳細は <a class="reference internal" href="../grn_expr/query_syntax.html"><em>クエリー構文</em></a> を参照してください。</p>
|
334
334
|
</div>
|
335
335
|
<div class="section" id="search-condition-filter">
|
336
|
-
<h4>7.3.
|
336
|
+
<h4>7.3.51.3.2.2. 検索条件: <code class="docutils literal"><span class="pre">filter</span></code><a class="headerlink" href="#search-condition-filter" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
337
337
|
<p><code class="docutils literal"><span class="pre">filter</span></code> は複雑な検索条件を指定するために用意されています。ECMAScriptのような構文で <code class="docutils literal"><span class="pre">filter</span></code> に検索条件を指定します。</p>
|
338
338
|
<p>以下は簡単な <code class="docutils literal"><span class="pre">filter</span></code> の使用例です。</p>
|
339
339
|
<p>実行例:</p>
|
340
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'content @ "fast" && _key == "Groonga"'
|
340
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --filter 'content @ "fast" && _key == "Groonga"'
|
341
341
|
# [
|
342
342
|
# [
|
343
343
|
# 0,
|
@@ -388,10 +388,10 @@ load --table Entries
|
|
388
388
|
</div>
|
389
389
|
</div>
|
390
390
|
<div class="section" id="paging">
|
391
|
-
<h3>7.3.
|
391
|
+
<h3>7.3.51.3.3. ページング<a class="headerlink" href="#paging" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
392
392
|
<p><code class="docutils literal"><span class="pre">offset</span></code> と <code class="docutils literal"><span class="pre">limit</span></code> を指定することで出力されるレコードの範囲を指定できます。以下は2番目のレコードだけを出力する例です。</p>
|
393
393
|
<p>実行例:</p>
|
394
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries --offset 1 --limit 1
|
394
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --offset 1 --limit 1
|
395
395
|
# [
|
396
396
|
# [
|
397
397
|
# 0,
|
@@ -441,10 +441,10 @@ load --table Entries
|
|
441
441
|
<p><code class="docutils literal"><span class="pre">limit</span></code> は出力レコード数の最大値を指定します。 <code class="docutils literal"><span class="pre">--limit</span> <span class="pre">1</span></code> は多くても1レコードを出力するという意味になります。もし、1つもレコードがマッチしていなければ <code class="docutils literal"><span class="pre">select</span></code> コマンドはどのレコードも出力しません。</p>
|
442
442
|
</div>
|
443
443
|
<div class="section" id="the-total-number-of-records">
|
444
|
-
<h3>7.3.
|
444
|
+
<h3>7.3.51.3.4. 全レコード数<a class="headerlink" href="#the-total-number-of-records" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
445
445
|
<p><code class="docutils literal"><span class="pre">--limit</span> <span class="pre">0</span></code> を使うとレコードの内容は取得せずに全レコード数だけを取得できます。</p>
|
446
446
|
<p>実行例:</p>
|
447
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries --limit 0
|
447
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --limit 0
|
448
448
|
# [
|
449
449
|
# [
|
450
450
|
# 0,
|
@@ -486,13 +486,13 @@ load --table Entries
|
|
486
486
|
<p><code class="docutils literal"><span class="pre">--limit</span> <span class="pre">0</span></code> はマッチしたレコード数だけを取得したいときにも便利です。</p>
|
487
487
|
</div>
|
488
488
|
<div class="section" id="drilldown">
|
489
|
-
<h3>7.3.
|
489
|
+
<h3>7.3.51.3.5. ドリルダウン<a class="headerlink" href="#drilldown" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
490
490
|
<p>1回の <code class="docutils literal"><span class="pre">select</span></code> で検索結果だけでなく、検索結果をグループ化した結果も一緒に取得できます。SQLでは2回以上 <code class="docutils literal"><span class="pre">SELECT</span></code> を使わなければいけない場合でも、Groongaの場合は1回の <code class="docutils literal"><span class="pre">select</span></code> で実現できます。</p>
|
491
491
|
<p>Groongaではこの機能を <a class="reference external" href="http://en.wikipedia.org/wiki/Drill_down">ドリルダウン</a> と呼んでいます。他の検索エンジンでは <a class="reference external" href="http://en.wikipedia.org/wiki/Faceted_search">ファセット検索</a> とも呼ばれています。</p>
|
492
492
|
<p>例えば、以下の状況を考えてみましょう。</p>
|
493
493
|
<p><code class="docutils literal"><span class="pre">fast</span></code> という単語を含むエントリーを探します。</p>
|
494
494
|
<p>実行例:</p>
|
495
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'content @ "fast"'
|
495
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --filter 'content @ "fast"'
|
496
496
|
# [
|
497
497
|
# [
|
498
498
|
# 0,
|
@@ -548,7 +548,7 @@ load --table Entries
|
|
548
548
|
<p><code class="docutils literal"><span class="pre">--filter</span> <span class="pre">'content</span> <span class="pre">@</span> <span class="pre">"fast"</span> <span class="pre">&&</span> <span class="pre">tag</span> <span class="pre">==</span> <span class="pre">"???"</span></code> というように、追加の検索条件として <code class="docutils literal"><span class="pre">tag</span></code> を使いたいとします。しかし、 <code class="docutils literal"><span class="pre">content</span> <span class="pre">@</span> <span class="pre">"fast"</span></code> の結果を見るまでは適切なタグはわかりません。</p>
|
549
549
|
<p>もし、有効なタグそれぞれについてマッチするレコード数がわかれば、その中から適切なタグを選ぶことができます。このような用途のためにドリルダウンを使えます。</p>
|
550
550
|
<p>実行例:</p>
|
551
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'content @ "fast"' --drilldown tag
|
551
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --filter 'content @ "fast"' --drilldown tag
|
552
552
|
# [
|
553
553
|
# [
|
554
554
|
# 0,
|
@@ -633,17 +633,17 @@ load --table Entries
|
|
633
633
|
</div>
|
634
634
|
</div>
|
635
635
|
<div class="section" id="parameters">
|
636
|
-
<h2>7.3.
|
636
|
+
<h2>7.3.51.4. 引数<a class="headerlink" href="#parameters" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
637
637
|
<p>このセクションではすべての引数について説明します。引数はカテゴリわけしています。</p>
|
638
638
|
<div class="section" id="required-parameter">
|
639
|
-
<h3>7.3.
|
639
|
+
<h3>7.3.51.4.1. 必須引数<a class="headerlink" href="#required-parameter" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
640
640
|
<p><code class="docutils literal"><span class="pre">table</span></code> だけが必須の引数です。</p>
|
641
641
|
<div class="section" id="table">
|
642
|
-
<span id="select-table"></span><h4>7.3.
|
642
|
+
<span id="select-table"></span><h4>7.3.51.4.1.1. <code class="docutils literal"><span class="pre">table</span></code><a class="headerlink" href="#table" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
643
643
|
<p>検索対象のテーブルを指定します。 <code class="docutils literal"><span class="pre">table</span></code> は必ず指定しなければいけません。</p>
|
644
644
|
<p>存在しないテーブルを指定するとエラーが返ります。</p>
|
645
645
|
<p>実行例:</p>
|
646
|
-
<div class="highlight-none"><div class="highlight"><pre>select Nonexistent
|
646
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Nonexistent
|
647
647
|
# [
|
648
648
|
# [
|
649
649
|
# -22,
|
@@ -664,16 +664,16 @@ load --table Entries
|
|
664
664
|
</div>
|
665
665
|
</div>
|
666
666
|
<div class="section" id="search-related-parameters">
|
667
|
-
<span id="select-search-related-parameters"></span><h3>7.3.
|
667
|
+
<span id="select-search-related-parameters"></span><h3>7.3.51.4.2. 検索関係の引数<a class="headerlink" href="#search-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
668
668
|
<p>検索関係の引数がいくつかあります。一般的には、検索ボックスを実装するために <code class="docutils literal"><span class="pre">match_columns</span></code> と <code class="docutils literal"><span class="pre">query</span></code> 引数を使い、複雑な検索機能を実装するために <code class="docutils literal"><span class="pre">filter</span></code> 引数を使います。</p>
|
669
669
|
<p><code class="docutils literal"><span class="pre">query</span></code> と <code class="docutils literal"><span class="pre">filter</span></code> を指定した場合は、 <code class="docutils literal"><span class="pre">query</span></code> と <code class="docutils literal"><span class="pre">filter</span></code> にマッチしたレコードが選択されます。 <code class="docutils literal"><span class="pre">query</span></code> と <code class="docutils literal"><span class="pre">filter</span></code> のどちらも指定しなかった場合はすべてのレコードが選択されます。</p>
|
670
670
|
<div class="section" id="match-columns">
|
671
|
-
<span id="select-match-columns"></span><h4>7.3.
|
671
|
+
<span id="select-match-columns"></span><h4>7.3.51.4.2.1. <code class="docutils literal"><span class="pre">match_columns</span></code><a class="headerlink" href="#match-columns" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
672
672
|
<p><code class="docutils literal"><span class="pre">query</span></code> 引数の値で全文検索をするときに使うデフォルトの検索対象カラムを指定します。全文検索対象のカラムは <code class="docutils literal"><span class="pre">query</span></code> 引数でも指定できます。検索対象カラムを <code class="docutils literal"><span class="pre">match_columns</span></code> で指定する場合と <code class="docutils literal"><span class="pre">query</span></code> で指定する場合の違いは重みとスコアー関数を指定できるかどうかです。 <code class="docutils literal"><span class="pre">match_columns</span></code> では指定できますが、 <code class="docutils literal"><span class="pre">query</span></code> では指定できません。</p>
|
673
673
|
<p>重みは検索対象カラムの相対的な重要度です。重みの大きい検索対象カラムでマッチした場合は小さい検索対象カラムでマッチした場合よりも多くのヒットスコアがつきます。デフォルトの重みは1です。</p>
|
674
674
|
<p>以下は簡単な <code class="docutils literal"><span class="pre">match_columns</span></code> の使用例です。</p>
|
675
675
|
<p>実行例:</p>
|
676
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns content --query fast --output_columns '_key, _score'
|
676
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --match_columns content --query fast --output_columns '_key, _score'
|
677
677
|
# [
|
678
678
|
# [
|
679
679
|
# 0,
|
@@ -712,7 +712,7 @@ load --table Entries
|
|
712
712
|
<p><code class="docutils literal"><span class="pre">_score</span></code> の値に注目してください。 <code class="docutils literal"><span class="pre">_score</span></code> の値は <code class="docutils literal"><span class="pre">query</span></code> 引数の値に何個マッチしたかになっています。この例では、 <code class="docutils literal"><span class="pre">query</span></code> 引数の値は <code class="docutils literal"><span class="pre">fast</span></code> です。 <code class="docutils literal"><span class="pre">_score</span></code> の値が1ということは <code class="docutils literal"><span class="pre">content</span></code> カラムの中に <code class="docutils literal"><span class="pre">fast</span></code> が1つだけあるということです。 <code class="docutils literal"><span class="pre">_score</span></code> の値が2ということは <code class="docutils literal"><span class="pre">content</span></code> カラムの中に <code class="docutils literal"><span class="pre">fast</span></code> が2つあるということです。</p>
|
713
713
|
<p>重みを指定するためには <code class="docutils literal"><span class="pre">column</span> <span class="pre">*</span> <span class="pre">weight</span></code> という構文を使います。以下は重みの使用例です。</p>
|
714
714
|
<p>実行例:</p>
|
715
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns 'content * 2' --query fast --output_columns '_key, _score'
|
715
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --match_columns 'content * 2' --query fast --output_columns '_key, _score'
|
716
716
|
# [
|
717
717
|
# [
|
718
718
|
# 0,
|
@@ -752,7 +752,7 @@ load --table Entries
|
|
752
752
|
<p>デフォルトの全文検索対象カラムとして複数のカラムを指定することができます。複数のカラムを指定した場合はすべてのカラムに対して全文検索が行われ、ヒットスコアが積算されます。つまり、 <code class="docutils literal"><span class="pre">query</span></code> 引数の値がどれか1つでも全文検索対象カラムにマッチしたら、そのレコードはマッチしたものとして扱われます。</p>
|
753
753
|
<p>複数のカラムを指定するには <code class="docutils literal"><span class="pre">column1</span> <span class="pre">*</span> <span class="pre">weight1</span> <span class="pre">||</span> <span class="pre">column2</span> <span class="pre">*</span> <span class="pre">weight2</span> <span class="pre">||</span> <span class="pre">...</span></code> という構文を使います。 <code class="docutils literal"><span class="pre">*</span> <span class="pre">weight</span></code> は省略することができます。省略した場合は重みが1になります。以下は複数カラムの使用例です。</p>
|
754
754
|
<p>実行例:</p>
|
755
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns '_key * 10 || content' --query groonga --output_columns '_key, _score'
|
755
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --match_columns '_key * 10 || content' --query groonga --output_columns '_key, _score'
|
756
756
|
# [
|
757
757
|
# [
|
758
758
|
# 0,
|
@@ -788,11 +788,11 @@ load --table Entries
|
|
788
788
|
<p>スコアー関数と <a class="reference internal" href="#select-scorer"><span>scorer</span></a> パラメーターは関係ないので注意してください。</p>
|
789
789
|
</div>
|
790
790
|
<div class="section" id="query">
|
791
|
-
<span id="select-query"></span><h4>7.3.
|
791
|
+
<span id="select-query"></span><h4>7.3.51.4.2.2. <code class="docutils literal"><span class="pre">query</span></code><a class="headerlink" href="#query" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
792
792
|
<p>クエリーテキストを指定します。通常、全文検索をするために <code class="docutils literal"><span class="pre">match_columns</span></code> 引数と一緒に使います。 <code class="docutils literal"><span class="pre">query</span></code> 引数はWebページにある全文検索フォームで使いやすいように設計されています。クエリーテキストは <a class="reference internal" href="../grn_expr/query_syntax.html"><em>クエリー構文</em></a> という書式を使います。この書式はGoogleの検索フォームのように一般的な検索フォームと似ています。例えば、 <code class="docutils literal"><span class="pre">word1</span> <span class="pre">word2</span></code> は <code class="docutils literal"><span class="pre">word1</span></code> と <code class="docutils literal"><span class="pre">word2</span></code> を含んでいるレコードを検索するという意味になります。 <code class="docutils literal"><span class="pre">word1</span> <span class="pre">OR</span> <span class="pre">word2</span></code> は <code class="docutils literal"><span class="pre">word1</span></code> または <code class="docutils literal"><span class="pre">word2</span></code> を含んでいるレコードを検索するという意味になります。</p>
|
793
793
|
<p>以下は論理積を使った検索の簡単な例です。</p>
|
794
794
|
<p>実行例:</p>
|
795
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns content --query "fast groonga"
|
795
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --match_columns content --query "fast groonga"
|
796
796
|
# [
|
797
797
|
# [
|
798
798
|
# 0,
|
@@ -841,7 +841,7 @@ load --table Entries
|
|
841
841
|
<p>この <code class="docutils literal"><span class="pre">select</span></code> コマンドは <code class="docutils literal"><span class="pre">Entries</span></code> テーブルの中から <code class="docutils literal"><span class="pre">content</span></code> カラムの値に <code class="docutils literal"><span class="pre">fast</span></code> と <code class="docutils literal"><span class="pre">groonga</span></code> の2つの単語を含んでいるレコードを検索します。</p>
|
842
842
|
<p>以下は論理和を使った検索の簡単な例です。</p>
|
843
843
|
<p>実行例:</p>
|
844
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns content --query "groonga OR mroonga"
|
844
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --match_columns content --query "groonga OR mroonga"
|
845
845
|
# [
|
846
846
|
# [
|
847
847
|
# 0,
|
@@ -899,7 +899,7 @@ load --table Entries
|
|
899
899
|
<p><code class="docutils literal"><span class="pre">query</span></code> では全文検索だけではなく他の条件も使えます。例えば、 <code class="docutils literal"><span class="pre">column:value</span></code> は <code class="docutils literal"><span class="pre">column</span></code> の値が <code class="docutils literal"><span class="pre">value</span></code> と等しいという意味です。 <code class="docutils literal"><span class="pre">column:<value</span></code> は <code class="docutils literal"><span class="pre">column</span></code> の値が <code class="docutils literal"><span class="pre">value</span></code> より小さいという意味です。</p>
|
900
900
|
<p>以下は等価演算子を使った検索の簡単な例です。</p>
|
901
901
|
<p>実行例:</p>
|
902
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries --query _key:Groonga
|
902
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --query _key:Groonga
|
903
903
|
# [
|
904
904
|
# [
|
905
905
|
# 0,
|
@@ -948,7 +948,7 @@ load --table Entries
|
|
948
948
|
<p>この <code class="docutils literal"><span class="pre">select</span></code> コマンドは <code class="docutils literal"><span class="pre">Entries</span></code> テーブルの中から <code class="docutils literal"><span class="pre">_key</span></code> カラムの値が <code class="docutils literal"><span class="pre">Groonga</span></code> であるレコードを検索します。</p>
|
949
949
|
<p>以下は比較演算子を使った検索の簡単な例です。</p>
|
950
950
|
<p>実行例:</p>
|
951
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries --query n_likes:<11
|
951
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --query n_likes:<11
|
952
952
|
# [
|
953
953
|
# [
|
954
954
|
# 0,
|
@@ -1019,12 +1019,12 @@ load --table Entries
|
|
1019
1019
|
<p>他の演算子は <a class="reference internal" href="../grn_expr/query_syntax.html"><em>クエリー構文</em></a> を参照してください。</p>
|
1020
1020
|
</div>
|
1021
1021
|
<div class="section" id="filter">
|
1022
|
-
<span id="select-filter"></span><h4>7.3.
|
1022
|
+
<span id="select-filter"></span><h4>7.3.51.4.2.3. <code class="docutils literal"><span class="pre">filter</span></code><a class="headerlink" href="#filter" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1023
1023
|
<p>フィルターテキストを指定します。通常、 <code class="docutils literal"><span class="pre">filter</span></code> は複雑な条件を指定するために使います。 <code class="docutils literal"><span class="pre">filter</span></code> は <code class="docutils literal"><span class="pre">query</span></code> 引数と一緒に使うこともできます。 <code class="docutils literal"><span class="pre">filter</span></code> と <code class="docutils literal"><span class="pre">query</span></code> を両方指定した場合はそれらを論理積で組み合わせます。つまり、マッチするレコードは <code class="docutils literal"><span class="pre">filter</span></code> にも <code class="docutils literal"><span class="pre">query</span></code> にもマッチしなければいけないということです。</p>
|
1024
1024
|
<p><code class="docutils literal"><span class="pre">filter</span></code> 引数は複雑な条件用に設計されています。フィルターテキストは <a class="reference internal" href="../grn_expr/script_syntax.html"><em>スクリプト構文</em></a> 書式で指定します。この書式はECMAScriptに似ています。例えば、 <code class="docutils literal"><span class="pre">column</span> <span class="pre">==</span> <span class="pre">"value"</span></code> は <code class="docutils literal"><span class="pre">column</span></code> カラムの値が <code class="docutils literal"><span class="pre">"value"</span></code> と等しいという意味です。 <code class="docutils literal"><span class="pre">column</span> <span class="pre"><</span> <span class="pre">value</span></code> は <code class="docutils literal"><span class="pre">column</span></code> カラムの値が <code class="docutils literal"><span class="pre">value</span></code> よりも小さいという意味です。</p>
|
1025
1025
|
<p>以下は等価演算子を使った検索の簡単な例です。</p>
|
1026
1026
|
<p>実行例:</p>
|
1027
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter '_key == "Groonga"'
|
1027
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --filter '_key == "Groonga"'
|
1028
1028
|
# [
|
1029
1029
|
# [
|
1030
1030
|
# 0,
|
@@ -1073,7 +1073,7 @@ load --table Entries
|
|
1073
1073
|
<p>この <code class="docutils literal"><span class="pre">select</span></code> コマンドは <code class="docutils literal"><span class="pre">Entries</span></code> テーブルの中から <code class="docutils literal"><span class="pre">_key</span></code> カラムの値が <code class="docutils literal"><span class="pre">Groonga</span></code> であるレコードを検索します。</p>
|
1074
1074
|
<p>以下は比較演算子を使った検索の簡単な例です。</p>
|
1075
1075
|
<p>実行例:</p>
|
1076
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes < 11'
|
1076
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --filter 'n_likes < 11'
|
1077
1077
|
# [
|
1078
1078
|
# [
|
1079
1079
|
# 0,
|
@@ -1145,9 +1145,9 @@ load --table Entries
|
|
1145
1145
|
</div>
|
1146
1146
|
</div>
|
1147
1147
|
<div class="section" id="advanced-search-parameters">
|
1148
|
-
<span id="select-advanced-search-parameters"></span><h3>7.3.
|
1148
|
+
<span id="select-advanced-search-parameters"></span><h3>7.3.51.4.3. 高度な検索のための引数<a class="headerlink" href="#advanced-search-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
1149
1149
|
<div class="section" id="match-escalation-threshold">
|
1150
|
-
<span id="select-match-escalation-threshold"></span><h4>7.3.
|
1150
|
+
<span id="select-match-escalation-threshold"></span><h4>7.3.51.4.3.1. <code class="docutils literal"><span class="pre">match_escalation_threshold</span></code><a class="headerlink" href="#match-escalation-threshold" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1151
1151
|
<p>検索方法をエスカレーションするかどうかを決定するための閾値を指定します。この閾値はマッチしたレコード数との比較に使われます。マッチしたレコード数がこの閾値以下の場合は検索方法をエスカレーションします。検索方法のエスカレーションについては <a class="reference internal" href="../../spec/search.html"><em>検索</em></a> を参照してください。</p>
|
1152
1152
|
<p>デフォルトの閾値は0です。これは1つもレコードがマッチしなかったときだけ検索方法をエスカレーションするということです。</p>
|
1153
1153
|
<p>デフォルトの閾値は以下の方法でカスタマイズできます。</p>
|
@@ -1163,7 +1163,7 @@ load --table Entries
|
|
1163
1163
|
</div></blockquote>
|
1164
1164
|
<p>以下は簡単な <code class="docutils literal"><span class="pre">match_escalation_threshold</span></code> の使用例です。最初の <code class="docutils literal"><span class="pre">select</span></code> は <code class="docutils literal"><span class="pre">match_escalation_threshold</span></code> 引数がありません。2番目の <code class="docutils literal"><span class="pre">select</span></code> は <code class="docutils literal"><span class="pre">match_escalation_threshold</span></code> 引数があります。</p>
|
1165
1165
|
<p>実行例:</p>
|
1166
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns content --query groo
|
1166
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --match_columns content --query groo
|
1167
1167
|
# [
|
1168
1168
|
# [
|
1169
1169
|
# 0,
|
@@ -1250,11 +1250,11 @@ select Entries --match_columns content --query groo --match_escalation_threshold
|
|
1250
1250
|
<p>2番目の <code class="docutils literal"><span class="pre">select</span></code> コマンドも <code class="docutils literal"><span class="pre">Entries</span></code> テーブルから <code class="docutils literal"><span class="pre">content</span></code> カラムの値に <code class="docutils literal"><span class="pre">groo</span></code> という単語を含むレコードを検索します。そして、この <code class="docutils literal"><span class="pre">select</span></code> コマンドもマッチしません。この場合、マッチしたレコード数(0)が <code class="docutils literal"><span class="pre">match_escalation_threshold</span></code> (-1)より大きいので、検索方法をエスカレーションしません。そして、1つもレコードがマッチしません。</p>
|
1251
1251
|
</div>
|
1252
1252
|
<div class="section" id="query-expansion">
|
1253
|
-
<span id="select-query-expansion"></span><h4>7.3.
|
1253
|
+
<span id="select-query-expansion"></span><h4>7.3.51.4.3.2. <code class="docutils literal"><span class="pre">query_expansion</span></code><a class="headerlink" href="#query-expansion" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1254
1254
|
<p>非推奨です。代わりに <a class="reference internal" href="#select-query-expander"><span>query_expander</span></a> を使ってください。</p>
|
1255
1255
|
</div>
|
1256
1256
|
<div class="section" id="query-flags">
|
1257
|
-
<span id="select-query-flags"></span><h4>7.3.
|
1257
|
+
<span id="select-query-flags"></span><h4>7.3.51.4.3.3. <code class="docutils literal"><span class="pre">query_flags</span></code><a class="headerlink" href="#query-flags" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1258
1258
|
<p><code class="docutils literal"><span class="pre">query</span></code> パラメーターの構文をカスタマイズします。デフォルトでは <code class="docutils literal"><span class="pre">query</span></code> パラメーターでカラムの値を更新することはできません。しかし、 <code class="docutils literal"><span class="pre">query_flags</span></code> に <code class="docutils literal"><span class="pre">ALLOW_COLUMN|ALLOW_UPDATE</span></code> を指定することで <code class="docutils literal"><span class="pre">query</span></code> でカラムの値を更新することができます。</p>
|
1259
1259
|
<p>指定可能な値は以下の通りです。</p>
|
1260
1260
|
<ul class="simple">
|
@@ -1273,7 +1273,7 @@ select Entries --match_columns content --query groo --match_escalation_threshold
|
|
1273
1273
|
<p>デフォルト値は <code class="docutils literal"><span class="pre">ALLOW_PRAGMA|ALLOW_COLUMN</span></code> です。</p>
|
1274
1274
|
<p>以下は <code class="docutils literal"><span class="pre">ALLOW_COLUMN</span></code> の使用例です。</p>
|
1275
1275
|
<p>実行例:</p>
|
1276
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries --query content:@mroonga --query_flags ALLOW_COLUMN
|
1276
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --query content:@mroonga --query_flags ALLOW_COLUMN
|
1277
1277
|
# [
|
1278
1278
|
# [
|
1279
1279
|
# 0,
|
@@ -1322,7 +1322,7 @@ select Entries --match_columns content --query groo --match_escalation_threshold
|
|
1322
1322
|
<p>この <code class="docutils literal"><span class="pre">select</span></code> コマンドは <code class="docutils literal"><span class="pre">Entries</span></code> テーブルの中から <code class="docutils literal"><span class="pre">content</span></code> カラムの値に <code class="docutils literal"><span class="pre">mroonga</span></code> を含んでいるレコードを検索します。</p>
|
1323
1323
|
<p>以下は <code class="docutils literal"><span class="pre">ALLOW_UPDATE</span></code> の使用例です。</p>
|
1324
1324
|
<p>実行例:</p>
|
1325
|
-
<div class="highlight-none"><div class="highlight"><pre>table_create Users TABLE_HASH_KEY ShortText
|
1325
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>table_create Users TABLE_HASH_KEY ShortText
|
1326
1326
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
1327
1327
|
column_create Users age COLUMN_SCALAR UInt32
|
1328
1328
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
@@ -1415,7 +1415,7 @@ select Users
|
|
1415
1415
|
<p>最初の <code class="docutils literal"><span class="pre">select</span></code> コマンドは全てのレコードの <code class="docutils literal"><span class="pre">age</span></code> カラムの値を <code class="docutils literal"><span class="pre">19</span></code> にします。二番目の <code class="docutils literal"><span class="pre">select</span></code> コマンドは <code class="docutils literal"><span class="pre">age</span></code> カラムの値を出力します。</p>
|
1416
1416
|
<p>以下は <code class="docutils literal"><span class="pre">ALLOW_LEADING_NOT</span></code> の使用例です。</p>
|
1417
1417
|
<p>実行例:</p>
|
1418
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns content --query -mroonga --query_flags ALLOW_LEADING_NOT
|
1418
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --match_columns content --query -mroonga --query_flags ALLOW_LEADING_NOT
|
1419
1419
|
# [
|
1420
1420
|
# [
|
1421
1421
|
# 0,
|
@@ -1485,7 +1485,7 @@ select Users
|
|
1485
1485
|
<p>この <code class="docutils literal"><span class="pre">select</span></code> コマンドは <code class="docutils literal"><span class="pre">Entries</span></code> テーブルの中から <code class="docutils literal"><span class="pre">content</span></code> カラムの値に <code class="docutils literal"><span class="pre">mroonga</span></code> を含んでいないレコードを検索します。</p>
|
1486
1486
|
<p>以下は <code class="docutils literal"><span class="pre">NONE</span></code> の使用例です。</p>
|
1487
1487
|
<p>実行例:</p>
|
1488
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns content --query 'mroonga OR _key:Groonga' --query_flags NONE
|
1488
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --match_columns content --query 'mroonga OR _key:Groonga' --query_flags NONE
|
1489
1489
|
# [
|
1490
1490
|
# [
|
1491
1491
|
# 0,
|
@@ -1535,7 +1535,7 @@ select Users
|
|
1535
1535
|
<p><a class="reference internal" href="../grn_expr/query_syntax.html"><em>クエリー構文</em></a> も見てください。</p>
|
1536
1536
|
</div>
|
1537
1537
|
<div class="section" id="query-expander">
|
1538
|
-
<span id="select-query-expander"></span><h4>7.3.
|
1538
|
+
<span id="select-query-expander"></span><h4>7.3.51.4.3.4. <code class="docutils literal"><span class="pre">query_expander</span></code><a class="headerlink" href="#query-expander" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1539
1539
|
<p>クエリー展開用の引数です。クエリー展開はクエリー中の特定の単語を別の単語に置換します。通常は類義語検索に使います。</p>
|
1540
1540
|
<p><code class="docutils literal"><span class="pre">query</span></code> 引数の値を置換するために使うカラムを指定します。この引数の値の書式は「 <code class="docutils literal"><span class="pre">${TABLE}.${COLUMN}</span></code> 」です。例えば、 「 <code class="docutils literal"><span class="pre">Terms.synonym</span></code> 」は <code class="docutils literal"><span class="pre">Terms</span></code> テーブルの <code class="docutils literal"><span class="pre">synonym</span></code> カラムを指定しています。</p>
|
1541
1541
|
<p>クエリー展開用のテーブルを「置換テーブル」と呼びます。置換テーブルのキーは <code class="docutils literal"><span class="pre">ShortText</span></code> にしてください。そのため、配列テーブル( <code class="docutils literal"><span class="pre">TABLE_NO_KEY</span></code> )は置換テーブルに使うことはできません。なぜなら、配列テーブルにはキーがないからです。</p>
|
@@ -1543,7 +1543,7 @@ select Users
|
|
1543
1543
|
<p>クエリー展開はクエリーの中にある置換テーブルのキーを置換カラムの値で置換します。 <code class="docutils literal"><span class="pre">query</span></code> の中にある単語が置換テーブルのキーだったら、キーに対応する置換カラムの値でその単語を置換します。置換は再帰的に実行しません。これは、置換されたクエリー内に置換対象の単語があっても置換されないということです。</p>
|
1544
1544
|
<p>以下は <code class="docutils literal"><span class="pre">query_expander</span></code> の簡単な使用例を示すためのサンプル置換テーブルです。</p>
|
1545
1545
|
<p>実行例:</p>
|
1546
|
-
<div class="highlight-none"><div class="highlight"><pre>table_create Thesaurus TABLE_PAT_KEY ShortText --normalizer NormalizerAuto
|
1546
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>table_create Thesaurus TABLE_PAT_KEY ShortText --normalizer NormalizerAuto
|
1547
1547
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
1548
1548
|
column_create Thesaurus synonym COLUMN_VECTOR ShortText
|
1549
1549
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
@@ -1560,7 +1560,7 @@ load --table Thesaurus
|
|
1560
1560
|
<p>これらの類義語の値の中に <code class="docutils literal"><span class="pre">"mroonga"</span></code> や <code class="docutils literal"><span class="pre">"groonga"</span></code> といったキーの値も含まれていることに注意してください。このように類義語にキーの値も含めることを推奨します。もしキーの値を含めないと、置換した値には元の置換対象の値が含まれません。通常、元の値が含まれていた方がよい検索結果になります。もし、検索してほしくない単語がある場合は、元の単語を含めないでください。例えば、空のベクター値を指定することで「ストップワード」機能を実現することもできます。</p>
|
1561
1561
|
<p>以下は簡単な <code class="docutils literal"><span class="pre">query_expander</span></code> の使用例です。</p>
|
1562
1562
|
<p>実行例:</p>
|
1563
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns content --query "mroonga"
|
1563
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --match_columns content --query "mroonga"
|
1564
1564
|
# [
|
1565
1565
|
# [
|
1566
1566
|
# 0,
|
@@ -1712,7 +1712,7 @@ select Entries --match_columns content --query "((mroonga) OR (tritonn) OR
|
|
1712
1712
|
<p>それぞれの置換する値は <code class="docutils literal"><span class="pre">(...)</span></code> や <code class="docutils literal"><span class="pre">OR</span></code> といった <a class="reference internal" href="../grn_expr/query_syntax.html"><em>クエリー構文</em></a> を使えます。これらの構文を使うことにより複雑な置換をすることができます。</p>
|
1713
1713
|
<p>以下はクエリー構文を使った複雑な置換の使用例です。</p>
|
1714
1714
|
<p>実行例:</p>
|
1715
|
-
<div class="highlight-none"><div class="highlight"><pre>load --table Thesaurus
|
1715
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>load --table Thesaurus
|
1716
1716
|
[
|
1717
1717
|
{"_key": "popular", "synonym": ["popular", "n_likes:>=10"]}
|
1718
1718
|
]
|
@@ -1775,13 +1775,13 @@ select Entries --match_columns content --query "popular" --query_expan
|
|
1775
1775
|
</div>
|
1776
1776
|
</div>
|
1777
1777
|
<div class="section" id="output-related-parameters">
|
1778
|
-
<h3>7.3.
|
1778
|
+
<h3>7.3.51.4.4. 出力関連の引数<a class="headerlink" href="#output-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
1779
1779
|
<div class="section" id="output-columns">
|
1780
|
-
<span id="select-output-columns"></span><h4>7.3.
|
1780
|
+
<span id="select-output-columns"></span><h4>7.3.51.4.4.1. <code class="docutils literal"><span class="pre">output_columns</span></code><a class="headerlink" href="#output-columns" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1781
1781
|
<p>出力するカラムを <code class="docutils literal"><span class="pre">,</span></code> 区切りで指定します。</p>
|
1782
1782
|
<p>以下は簡単な <code class="docutils literal"><span class="pre">output_columns</span></code> の使用例です。</p>
|
1783
1783
|
<p>実行例:</p>
|
1784
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries --output_columns '_id, _key' --limit 1
|
1784
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --output_columns '_id, _key' --limit 1
|
1785
1785
|
# [
|
1786
1786
|
# [
|
1787
1787
|
# 0,
|
@@ -1816,7 +1816,7 @@ select Entries --match_columns content --query "popular" --query_expan
|
|
1816
1816
|
<p><code class="docutils literal"><span class="pre">*</span></code> は特別な値で <a class="reference internal" href="../columns/pseudo.html"><em>擬似カラム</em></a> 以外のすべてのカラムという意味です。</p>
|
1817
1817
|
<p>以下は <code class="docutils literal"><span class="pre">*</span></code> の使用例です。</p>
|
1818
1818
|
<p>実行例:</p>
|
1819
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries --output_columns '_key, *' --limit 1
|
1819
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --output_columns '_key, *' --limit 1
|
1820
1820
|
# [
|
1821
1821
|
# [
|
1822
1822
|
# 0,
|
@@ -1861,11 +1861,11 @@ select Entries --match_columns content --query "popular" --query_expan
|
|
1861
1861
|
<p>デフォルト値は <code class="docutils literal"><span class="pre">_id,</span> <span class="pre">_key,</span> <span class="pre">*</span></code> です。これは <code class="docutils literal"><span class="pre">_score</span></code> 以外の全てのカラムを出力するという意味です。</p>
|
1862
1862
|
</div>
|
1863
1863
|
<div class="section" id="sortby">
|
1864
|
-
<span id="select-sortby"></span><h4>7.3.
|
1864
|
+
<span id="select-sortby"></span><h4>7.3.51.4.4.2. <code class="docutils literal"><span class="pre">sortby</span></code><a class="headerlink" href="#sortby" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1865
1865
|
<p>ソートキーを <code class="docutils literal"><span class="pre">,</span></code> 区切りで指定します。それぞれのソートキーはカラム名を指定します。</p>
|
1866
1866
|
<p>以下は簡単な <code class="docutils literal"><span class="pre">sortby</span></code> の使用例です。</p>
|
1867
1867
|
<p>実行例:</p>
|
1868
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries --sortby 'n_likes, _id'
|
1868
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --sortby 'n_likes, _id'
|
1869
1869
|
# [
|
1870
1870
|
# [
|
1871
1871
|
# 0,
|
@@ -1943,7 +1943,7 @@ select Entries --match_columns content --query "popular" --query_expan
|
|
1943
1943
|
<p>降順でソートしたい場合はカラム名の前に <code class="docutils literal"><span class="pre">-</span></code> をつけてください。</p>
|
1944
1944
|
<p>以下は降順の <code class="docutils literal"><span class="pre">sortby</span></code> の使用例です。</p>
|
1945
1945
|
<p>実行例:</p>
|
1946
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries --sortby '-n_likes, _id'
|
1946
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --sortby '-n_likes, _id'
|
1947
1947
|
# [
|
1948
1948
|
# [
|
1949
1949
|
# 0,
|
@@ -2020,7 +2020,7 @@ select Entries --match_columns content --query "popular" --query_expan
|
|
2020
2020
|
<p>この <code class="docutils literal"><span class="pre">select</span></code> コマンドは <code class="docutils literal"><span class="pre">n_likes</span></code> カラムの値で降順にソートします。しかし、 <code class="docutils literal"><span class="pre">_id</span></code> でソートするときは昇順でソートします。</p>
|
2021
2021
|
<p>もし、 <code class="docutils literal"><span class="pre">query</span></code> または <code class="docutils literal"><span class="pre">filter</span></code> 引数を使っているときは、 <code class="docutils literal"><span class="pre">sortby</span></code> の中で <code class="docutils literal"><span class="pre">_score</span></code> 擬似カラムを使うことができます。</p>
|
2022
2022
|
<p>実行例:</p>
|
2023
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns content --query fast --sortby -_score --output_columns '_key, _score'
|
2023
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --match_columns content --query fast --sortby -_score --output_columns '_key, _score'
|
2024
2024
|
# [
|
2025
2025
|
# [
|
2026
2026
|
# 0,
|
@@ -2059,10 +2059,10 @@ select Entries --match_columns content --query "popular" --query_expan
|
|
2059
2059
|
<p><code class="docutils literal"><span class="pre">query</span></code> 引数も <code class="docutils literal"><span class="pre">filter</span></code> 引数も指定しないで <code class="docutils literal"><span class="pre">_score</span></code> を使った場合は、 <code class="docutils literal"><span class="pre">_score</span></code> を無視して、ログファイルに警告を出力します。</p>
|
2060
2060
|
</div>
|
2061
2061
|
<div class="section" id="offset">
|
2062
|
-
<span id="select-offset"></span><h4>7.3.
|
2062
|
+
<span id="select-offset"></span><h4>7.3.51.4.4.3. <code class="docutils literal"><span class="pre">offset</span></code><a class="headerlink" href="#offset" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2063
2063
|
<p>出力するレコードの範囲を決めるためのオフセットを指定します。オフセットは0始まりです。 <code class="docutils literal"><span class="pre">--offset</span> <span class="pre">1</span></code> は2番目以降のレコードを出力するという意味になります。</p>
|
2064
2064
|
<p>実行例:</p>
|
2065
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries --sortby _id --offset 3 --output_columns _key
|
2065
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --sortby _id --offset 3 --output_columns _key
|
2066
2066
|
# [
|
2067
2067
|
# [
|
2068
2068
|
# 0,
|
@@ -2094,7 +2094,7 @@ select Entries --match_columns content --query "popular" --query_expan
|
|
2094
2094
|
<p>この <code class="docutils literal"><span class="pre">select</span></code> コマンドは4番目以降のレコードを出力します。</p>
|
2095
2095
|
<p>負の値を指定することもできます。負の値の場合は <code class="docutils literal"><span class="pre">マッチしたレコード数</span> <span class="pre">+</span> <span class="pre">offset</span></code> 番目のレコードから始まる範囲という意味になります。もし、マッチしたレコードが3つあり、 <code class="docutils literal"><span class="pre">--offset</span> <span class="pre">-2</span></code> を指定した場合は2番目( <code class="docutils literal"><span class="pre">3</span> <span class="pre">+</span> <span class="pre">-2</span> <span class="pre">=</span> <span class="pre">1</span></code> 。 <code class="docutils literal"><span class="pre">1</span></code> は2番目という意味です。オフセットは0始まりということを思い出してください。) のレコードから3番目のレコードを取得します。</p>
|
2096
2096
|
<p>実行例:</p>
|
2097
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries --sortby _id --offset -2 --output_columns _key
|
2097
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --sortby _id --offset -2 --output_columns _key
|
2098
2098
|
# [
|
2099
2099
|
# [
|
2100
2100
|
# 0,
|
@@ -2127,11 +2127,11 @@ select Entries --match_columns content --query "popular" --query_expan
|
|
2127
2127
|
<p>デフォルト値は <code class="docutils literal"><span class="pre">0</span></code> です。</p>
|
2128
2128
|
</div>
|
2129
2129
|
<div class="section" id="limit">
|
2130
|
-
<span id="select-limit"></span><h4>7.3.
|
2130
|
+
<span id="select-limit"></span><h4>7.3.51.4.4.4. <code class="docutils literal"><span class="pre">limit</span></code><a class="headerlink" href="#limit" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2131
2131
|
<p><code class="docutils literal"><span class="pre">limit</span></code> は出力レコード数の最大値を指定します。 もし、マッチしたレコード数が <code class="docutils literal"><span class="pre">limit</span></code> よりも小さい場合はすべてのレコードが出力されます。</p>
|
2132
2132
|
<p>以下は簡単な <code class="docutils literal"><span class="pre">limit</span></code> の使用例です。</p>
|
2133
2133
|
<p>実行例:</p>
|
2134
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries --sortby _id --offset 2 --limit 3 --output_columns _key
|
2134
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --sortby _id --offset 2 --limit 3 --output_columns _key
|
2135
2135
|
# [
|
2136
2136
|
# [
|
2137
2137
|
# 0,
|
@@ -2167,7 +2167,7 @@ select Entries --match_columns content --query "popular" --query_expan
|
|
2167
2167
|
<p>負の値を指定することもできます。負の値の場合は、最大で <code class="docutils literal"><span class="pre">マッチしたレコード数</span> <span class="pre">+</span> <span class="pre">limit</span> <span class="pre">+</span> <span class="pre">1</span></code> 件のレコードを出力するという意味になります。 例えば、 <code class="docutils literal"><span class="pre">--limit</span> <span class="pre">-1</span></code> はすべてのレコードを出力します。これはすべてのレコードを表示する場合にとても便利です。</p>
|
2168
2168
|
<p>以下は負の値を使った <code class="docutils literal"><span class="pre">limit</span></code> の簡単な使用例です。</p>
|
2169
2169
|
<p>実行例:</p>
|
2170
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries --limit -1
|
2170
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --limit -1
|
2171
2171
|
# [
|
2172
2172
|
# [
|
2173
2173
|
# 0,
|
@@ -2245,22 +2245,22 @@ select Entries --match_columns content --query "popular" --query_expan
|
|
2245
2245
|
<p>デフォルト値は <code class="docutils literal"><span class="pre">10</span></code> です。</p>
|
2246
2246
|
</div>
|
2247
2247
|
<div class="section" id="scorer">
|
2248
|
-
<span id="select-scorer"></span><h4>7.3.
|
2248
|
+
<span id="select-scorer"></span><h4>7.3.51.4.4.5. <code class="docutils literal"><span class="pre">scorer</span></code><a class="headerlink" href="#scorer" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2249
2249
|
<p>TODO: write in English and add example.</p>
|
2250
2250
|
<p>検索条件にマッチする全てのレコードに対して適用するgrn_exprをscript形式で指定します。</p>
|
2251
2251
|
<p>scorerは、検索処理が完了し、ソート処理が実行される前に呼び出されます。従って、各レコードのスコアを操作する式を指定しておけば、検索結果のソート順序をカスタマイズできるようになります。</p>
|
2252
2252
|
</div>
|
2253
2253
|
</div>
|
2254
2254
|
<div class="section" id="drilldown-related-parameters">
|
2255
|
-
<span id="select-drilldown-related-parameters"></span><h3>7.3.
|
2255
|
+
<span id="select-drilldown-related-parameters"></span><h3>7.3.51.4.5. ドリルダウン関連の引数<a class="headerlink" href="#drilldown-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
2256
2256
|
<p>このセクションでは基本的なドリルダウン関連の引数について説明します。高度なドリルダウン関連の引数は他のセクションで説明します。</p>
|
2257
2257
|
<div class="section" id="select-drilldown">
|
2258
|
-
<span id="id2"></span><h4>7.3.
|
2258
|
+
<span id="id2"></span><h4>7.3.51.4.5.1. <code class="docutils literal"><span class="pre">drilldown</span></code><a class="headerlink" href="#select-drilldown" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2259
2259
|
<p>グループ化するときに使うキーを <code class="docutils literal"><span class="pre">,</span></code> 区切りで指定します。</p>
|
2260
2260
|
<p>指定した検索条件にマッチしたレコードを指定したキーのそれぞれでグループ化します。検索条件を指定していない場合はすべてのレコードを指定したキーのそれぞれでグループ化します。</p>
|
2261
2261
|
<p>以下は簡単な <code class="docutils literal"><span class="pre">drilldown</span></code> の使用例です。</p>
|
2262
2262
|
<p>実行例:</p>
|
2263
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries \
|
2263
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries \
|
2264
2264
|
--output_columns _key,tag \
|
2265
2265
|
--drilldown tag
|
2266
2266
|
# [
|
@@ -2349,7 +2349,7 @@ select Entries --match_columns content --query "popular" --query_expan
|
|
2349
2349
|
</div></blockquote>
|
2350
2350
|
<p>以下は検索条件付きで <code class="docutils literal"><span class="pre">drilldown</span></code> を使う例です。</p>
|
2351
2351
|
<p>実行例:</p>
|
2352
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries \
|
2352
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries \
|
2353
2353
|
--output_columns _key,tag \
|
2354
2354
|
--filter 'n_likes >= 5' \
|
2355
2355
|
--drilldown tag
|
@@ -2429,7 +2429,7 @@ select Entries --match_columns content --query "popular" --query_expan
|
|
2429
2429
|
</div></blockquote>
|
2430
2430
|
<p>以下は複数のグループ化キーを指定する <code class="docutils literal"><span class="pre">drilldown</span></code> の例です。</p>
|
2431
2431
|
<p>実行例:</p>
|
2432
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries \
|
2432
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries \
|
2433
2433
|
--limit 0 \
|
2434
2434
|
--output_column _id \
|
2435
2435
|
--drilldown tag,n_likes
|
@@ -2556,12 +2556,12 @@ select Entries --match_columns content --query "popular" --query_expan
|
|
2556
2556
|
</div></blockquote>
|
2557
2557
|
</div>
|
2558
2558
|
<div class="section" id="drilldown-sortby">
|
2559
|
-
<span id="select-drilldown-sortby"></span><h4>7.3.
|
2559
|
+
<span id="select-drilldown-sortby"></span><h4>7.3.51.4.5.2. <code class="docutils literal"><span class="pre">drilldown_sortby</span></code><a class="headerlink" href="#drilldown-sortby" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2560
2560
|
<p>ドリルダウン結果のソートキーを <code class="docutils literal"><span class="pre">,</span></code> 区切りで指定します。それぞれのソートキーはカラム名を指定します。</p>
|
2561
2561
|
<p>グループ化されたレコード数は <code class="docutils literal"><span class="pre">_nsubrecs</span></code> <a class="reference internal" href="../columns/pseudo.html"><em>擬似カラム</em></a> 擬似カラムで参照できます。</p>
|
2562
2562
|
<p>以下は簡単な <code class="docutils literal"><span class="pre">drilldown_sortby</span></code> の使用例です。</p>
|
2563
2563
|
<p>実行例:</p>
|
2564
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries \
|
2564
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries \
|
2565
2565
|
--limit 0 \
|
2566
2566
|
--output_column _id \
|
2567
2567
|
--drilldown 'tag, n_likes' \
|
@@ -2665,7 +2665,7 @@ select Entries --match_columns content --query "popular" --query_expan
|
|
2665
2665
|
<p>ドリルダウン結果は「グループに含まれるレコード数」(= <code class="docutils literal"><span class="pre">_nsubrecs</span></code> )で降順にソートします。「グループに含まれるレコード数」が同じグループが複数あった場合は、グループ化に使ったキー(= <code class="docutils literal"><span class="pre">_key</span></code> )で昇順にソートします。</p>
|
2666
2666
|
<p><code class="docutils literal"><span class="pre">drilldown</span></code> で指定したすべてのグループキーで同じソートキーを使います。</p>
|
2667
2667
|
<p>実行例:</p>
|
2668
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries \
|
2668
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries \
|
2669
2669
|
--limit 0 \
|
2670
2670
|
--output_column _id \
|
2671
2671
|
--drilldown 'tag, n_likes' \
|
@@ -2770,11 +2770,11 @@ select Entries --match_columns content --query "popular" --query_expan
|
|
2770
2770
|
<p>それぞれのドリルダウンで異なるソートキーを使いたい場合は <a class="reference internal" href="#select-advanced-drilldown-related-parameters"><span>高度なドリルダウン関連のパラメーター</span></a> を参照してください。</p>
|
2771
2771
|
</div>
|
2772
2772
|
<div class="section" id="drilldown-output-columns">
|
2773
|
-
<span id="select-drilldown-output-columns"></span><h4>7.3.
|
2773
|
+
<span id="select-drilldown-output-columns"></span><h4>7.3.51.4.5.3. <code class="docutils literal"><span class="pre">drilldown_output_columns</span></code><a class="headerlink" href="#drilldown-output-columns" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2774
2774
|
<p>ドリルダウン結果から出力するカラムを <code class="docutils literal"><span class="pre">,</span></code> 区切りで指定します。</p>
|
2775
2775
|
<p>以下は <code class="docutils literal"><span class="pre">drilldown_output_columns</span></code> の使用例です。</p>
|
2776
2776
|
<p>実行例:</p>
|
2777
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries \
|
2777
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries \
|
2778
2778
|
--limit 0 \
|
2779
2779
|
--output_column _id \
|
2780
2780
|
--drilldown tag \
|
@@ -2841,7 +2841,7 @@ select Entries --match_columns content --query "popular" --query_expan
|
|
2841
2841
|
<p>グループ化したキーが参照型のカラム(型がテーブルのカラム)だった場合、参照型のカラムが参照しているテーブルのカラムにもアクセスできます。</p>
|
2842
2842
|
<p>参照型に対してドリルダウンする方法を示すために使うスキーマ定義とサンプルデータは以下の通りです。</p>
|
2843
2843
|
<p>実行例:</p>
|
2844
|
-
<div class="highlight-none"><div class="highlight"><pre>table_create Tags TABLE_HASH_KEY ShortText --normalizer NormalizerAuto
|
2844
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>table_create Tags TABLE_HASH_KEY ShortText --normalizer NormalizerAuto
|
2845
2845
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
2846
2846
|
column_create Tags label COLUMN_SCALAR ShortText
|
2847
2847
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
@@ -2869,7 +2869,7 @@ load --table Items
|
|
2869
2869
|
<p><code class="docutils literal"><span class="pre">Tags</span></code> テーブルは参照されているテーブルです。 <code class="docutils literal"><span class="pre">Items.tag</span></code> は参照型のカラムです。</p>
|
2870
2870
|
<p><code class="docutils literal"><span class="pre">Tags.label</span></code> は <code class="docutils literal"><span class="pre">drilldown_output_columns</span></code> の中では <code class="docutils literal"><span class="pre">label</span></code> で参照できます。</p>
|
2871
2871
|
<p>実行例:</p>
|
2872
|
-
<div class="highlight-none"><div class="highlight"><pre>select Items \
|
2872
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Items \
|
2873
2873
|
--limit 0 \
|
2874
2874
|
--output_column _id \
|
2875
2875
|
--drilldown tag \
|
@@ -2929,7 +2929,7 @@ load --table Items
|
|
2929
2929
|
</div>
|
2930
2930
|
<p><code class="docutils literal"><span class="pre">*</span></code> を使うと、参照されているテーブル(= <code class="docutils literal"><span class="pre">Tags</span></code> )のすべてのカラムを参照できます。</p>
|
2931
2931
|
<p>実行例:</p>
|
2932
|
-
<div class="highlight-none"><div class="highlight"><pre>select Items \
|
2932
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Items \
|
2933
2933
|
--limit 0 \
|
2934
2934
|
--output_column _id \
|
2935
2935
|
--drilldown tag \
|
@@ -2998,11 +2998,11 @@ load --table Items
|
|
2998
2998
|
<p><a class="reference internal" href="#select-drilldown-calc-types"><span>drilldown_calc_types</span></a> を使うと、 <code class="docutils literal"><span class="pre">drilldown_output_columns</span></code> の中で <code class="docutils literal"><span class="pre">_max</span></code> 、 <code class="docutils literal"><span class="pre">_min</span></code> 、 <code class="docutils literal"><span class="pre">_sum</span></code> 、 <code class="docutils literal"><span class="pre">_avg</span></code> といった <a class="reference internal" href="../columns/pseudo.html"><em>擬似カラム</em></a> も使えるようになります。詳細は <code class="docutils literal"><span class="pre">drilldown_calc_types</span></code> のドキュメントを参照してください。</p>
|
2999
2999
|
</div>
|
3000
3000
|
<div class="section" id="drilldown-offset">
|
3001
|
-
<span id="select-drilldown-offset"></span><h4>7.3.
|
3001
|
+
<span id="select-drilldown-offset"></span><h4>7.3.51.4.5.4. <code class="docutils literal"><span class="pre">drilldown_offset</span></code><a class="headerlink" href="#drilldown-offset" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
3002
3002
|
<p>ドリルダウン結果を出力するレコードの範囲を決めるためのオフセットを指定します。オフセットは0始まりです。 <code class="docutils literal"><span class="pre">--offset</span> <span class="pre">1</span></code> は2番目以降のレコードを出力するという意味になります。</p>
|
3003
3003
|
<p>以下は簡単な <code class="docutils literal"><span class="pre">drilldown_offset</span></code> の使用例です。</p>
|
3004
3004
|
<p>実行例:</p>
|
3005
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries \
|
3005
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries \
|
3006
3006
|
--limit 0 \
|
3007
3007
|
--output_column _id \
|
3008
3008
|
--drilldown tag \
|
@@ -3072,7 +3072,7 @@ load --table Items
|
|
3072
3072
|
<p>この <code class="docutils literal"><span class="pre">select</span></code> コマンドは2番目以降のレコードを出力します。</p>
|
3073
3073
|
<p>負の値を指定することもできます。負の値の場合は <code class="docutils literal"><span class="pre">グループの数</span> <span class="pre">+</span> <span class="pre">offset</span></code> 番目のレコードから始まる範囲という意味になります。もし、グループの数が3つあり、 <code class="docutils literal"><span class="pre">--offset</span> <span class="pre">-2</span></code> を指定した場合は1番目( <code class="docutils literal"><span class="pre">3</span> <span class="pre">+</span> <span class="pre">-2</span> <span class="pre">=</span> <span class="pre">1</span></code> 。 <code class="docutils literal"><span class="pre">1</span></code> は2番目です。オフセットは0始まりということを思い出してください。) のグループから3番目のグループが出力されます。</p>
|
3074
3074
|
<p>実行例:</p>
|
3075
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries \
|
3075
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries \
|
3076
3076
|
--limit 0 \
|
3077
3077
|
--output_column _id \
|
3078
3078
|
--drilldown tag \
|
@@ -3143,11 +3143,11 @@ load --table Items
|
|
3143
3143
|
<p><code class="docutils literal"><span class="pre">drilldown_offset</span></code> のデフォルト値は <code class="docutils literal"><span class="pre">0</span></code> です。</p>
|
3144
3144
|
</div>
|
3145
3145
|
<div class="section" id="drilldown-limit">
|
3146
|
-
<span id="select-drilldown-limit"></span><h4>7.3.
|
3146
|
+
<span id="select-drilldown-limit"></span><h4>7.3.51.4.5.5. <code class="docutils literal"><span class="pre">drilldown_limit</span></code><a class="headerlink" href="#drilldown-limit" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
3147
3147
|
<p><code class="docutils literal"><span class="pre">drilldown_limit</span></code> は出力グループ数の最大値を指定します。もし、グループ数 <code class="docutils literal"><span class="pre">limit</span></code> よりも小さい場合はすべてのグループが出力されます。</p>
|
3148
3148
|
<p>以下は <code class="docutils literal"><span class="pre">drilldown_limit</span></code> の使用例です。</p>
|
3149
3149
|
<p>実行例:</p>
|
3150
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries \
|
3150
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries \
|
3151
3151
|
--limit 0 \
|
3152
3152
|
--output_column _id \
|
3153
3153
|
--drilldown tag \
|
@@ -3219,7 +3219,7 @@ load --table Items
|
|
3219
3219
|
<p>負の値を指定することもできます。負の値の場合は、最大で <code class="docutils literal"><span class="pre">マッチしたレコード数</span> <span class="pre">+</span> <span class="pre">drilldown_limit</span> <span class="pre">+</span> <span class="pre">1</span></code> 件のレコードを出力するという意味になります。 例えば、 <code class="docutils literal"><span class="pre">--drilldown_limit</span> <span class="pre">-1</span></code> はすべてのレコードを出力します。これはすべてのレコードを表示する場合にとても便利です。</p>
|
3220
3220
|
<p>以下は <code class="docutils literal"><span class="pre">drilldown_limit</span></code> に負の値を指定する例です。</p>
|
3221
3221
|
<p>実行例:</p>
|
3222
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries \
|
3222
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries \
|
3223
3223
|
--limit 0 \
|
3224
3224
|
--output_column _id \
|
3225
3225
|
--drilldown tag \
|
@@ -3294,7 +3294,7 @@ load --table Items
|
|
3294
3294
|
<p><code class="docutils literal"><span class="pre">drilldown_limit</span></code> のデフォルト値は <code class="docutils literal"><span class="pre">10</span></code> です。</p>
|
3295
3295
|
</div>
|
3296
3296
|
<div class="section" id="drilldown-calc-types">
|
3297
|
-
<span id="select-drilldown-calc-types"></span><h4>7.3.
|
3297
|
+
<span id="select-drilldown-calc-types"></span><h4>7.3.51.4.5.6. <code class="docutils literal"><span class="pre">drilldown_calc_types</span></code><a class="headerlink" href="#drilldown-calc-types" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
3298
3298
|
<p>ドリルダウンでグループ内のレコードの値を計算(集計)する方法を指定します。「 <code class="docutils literal"><span class="pre">,</span></code> 」で区切ることで複数の計算タイプを指定することもできます。たとえば、 <code class="docutils literal"><span class="pre">MAX,MIN</span></code> といった具合です。</p>
|
3299
3299
|
<p>計算対象の値はグループ内のレコードのカラムから取得します。このカラムは <a class="reference internal" href="#select-drilldown-calc-target"><span>drilldown_calc_target</span></a> で指定します。</p>
|
3300
3300
|
<p>計算した値は <a class="reference internal" href="#select-drilldown-output-columns"><span>drilldown_output_columns</span></a> の中で <code class="docutils literal"><span class="pre">_max</span></code> や <code class="docutils literal"><span class="pre">_min</span></code> のような <a class="reference internal" href="../columns/pseudo.html"><em>擬似カラム</em></a> を指定すると取得できます。</p>
|
@@ -3365,7 +3365,7 @@ load --table Items
|
|
3365
3365
|
</table>
|
3366
3366
|
<p>以下は <code class="docutils literal"><span class="pre">MAX</span></code> の使用例です。</p>
|
3367
3367
|
<p>実行例:</p>
|
3368
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries \
|
3368
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries \
|
3369
3369
|
--limit -1 \
|
3370
3370
|
--output_column _id,n_likes \
|
3371
3371
|
--drilldown tag \
|
@@ -3475,7 +3475,7 @@ load --table Items
|
|
3475
3475
|
<p>この <code class="docutils literal"><span class="pre">select</span></code> コマンドは <code class="docutils literal"><span class="pre">tag</span></code> カラムの値ですべてのレコードをグループ化します。その後、各グループについて最大の <code class="docutils literal"><span class="pre">n_likes</span></code> カラムの値を探し、「グループ化に使ったキー」と「 <code class="docutils literal"><span class="pre">n_likes</span></code> カラムの値の最大値」のペアのリストを出力します。 <code class="docutils literal"><span class="pre">n_likes</span></code> カラムの値の最大値を参照するために <code class="docutils literal"><span class="pre">_max</span></code> <a class="reference internal" href="../columns/pseudo.html"><em>擬似カラム</em></a> を使っています。</p>
|
3476
3476
|
<p>以下は <code class="docutils literal"><span class="pre">MIN</span></code> の使用例です。</p>
|
3477
3477
|
<p>実行例:</p>
|
3478
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries \
|
3478
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries \
|
3479
3479
|
--limit -1 \
|
3480
3480
|
--output_column _id,n_likes \
|
3481
3481
|
--drilldown tag \
|
@@ -3585,7 +3585,7 @@ load --table Items
|
|
3585
3585
|
<p>この <code class="docutils literal"><span class="pre">select</span></code> コマンドは <code class="docutils literal"><span class="pre">tag</span></code> カラムの値ですべてのレコードをグループ化します。その後、各グループについて最小の <code class="docutils literal"><span class="pre">n_likes</span></code> カラムの値を探し、「グループ化に使ったキー」と「 <code class="docutils literal"><span class="pre">n_likes</span></code> カラムの値の最小値」のペアのリストを出力します。 <code class="docutils literal"><span class="pre">n_likes</span></code> カラムの値の最小値を参照するために <code class="docutils literal"><span class="pre">_min</span></code> <a class="reference internal" href="../columns/pseudo.html"><em>擬似カラム</em></a> を使っています。</p>
|
3586
3586
|
<p>以下は <code class="docutils literal"><span class="pre">SUM</span></code> の使用例です。</p>
|
3587
3587
|
<p>実行例:</p>
|
3588
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries \
|
3588
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries \
|
3589
3589
|
--limit -1 \
|
3590
3590
|
--output_column _id,n_likes \
|
3591
3591
|
--drilldown tag \
|
@@ -3695,7 +3695,7 @@ load --table Items
|
|
3695
3695
|
<p>この <code class="docutils literal"><span class="pre">select</span></code> コマンドは <code class="docutils literal"><span class="pre">tag</span></code> カラムの値ですべてのレコードをグループ化します。その後、各グループについて <code class="docutils literal"><span class="pre">n_likes</span></code> カラムの合計を計算し、「グループ化に使ったキー」と「 <code class="docutils literal"><span class="pre">n_likes</span></code> カラムの値の合計」のペアのリストを出力します。 <code class="docutils literal"><span class="pre">n_likes</span></code> カラムの値の合計を参照するために <code class="docutils literal"><span class="pre">_sum</span></code> <a class="reference internal" href="../columns/pseudo.html"><em>擬似カラム</em></a> を使っています。</p>
|
3696
3696
|
<p>以下は <code class="docutils literal"><span class="pre">AVG</span></code> の使用例です。</p>
|
3697
3697
|
<p>実行例:</p>
|
3698
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries \
|
3698
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries \
|
3699
3699
|
--limit -1 \
|
3700
3700
|
--output_column _id,n_likes \
|
3701
3701
|
--drilldown tag \
|
@@ -3805,7 +3805,7 @@ load --table Items
|
|
3805
3805
|
<p>この <code class="docutils literal"><span class="pre">select</span></code> コマンドは <code class="docutils literal"><span class="pre">tag</span></code> カラムの値ですべてのレコードをグループ化します。その後、各グループについて <code class="docutils literal"><span class="pre">n_likes</span></code> カラムの平均を計算し、「グループ化に使ったキー」と「 <code class="docutils literal"><span class="pre">n_likes</span></code> カラムの値の平均」のペアのリストを出力します。 <code class="docutils literal"><span class="pre">n_likes</span></code> カラムの値の合計を参照するために <code class="docutils literal"><span class="pre">_avg</span></code> <a class="reference internal" href="../columns/pseudo.html"><em>擬似カラム</em></a> を使っています。</p>
|
3806
3806
|
<p>以下はすべての計算タイプを使う例です。</p>
|
3807
3807
|
<p>実行例:</p>
|
3808
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries \
|
3808
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries \
|
3809
3809
|
--limit -1 \
|
3810
3810
|
--output_column _id,n_likes \
|
3811
3811
|
--drilldown tag \
|
@@ -3944,7 +3944,7 @@ load --table Items
|
|
3944
3944
|
<p><code class="docutils literal"><span class="pre">drilldown_calc_types</span></code> のデフォルト値は <code class="docutils literal"><span class="pre">NONE</span></code> です。これは、 <code class="docutils literal"><span class="pre">COUNT</span></code> だけが有効になっているという意味です。なぜなら、 <code class="docutils literal"><span class="pre">NONE</span></code> は単に無視されて、 <code class="docutils literal"><span class="pre">COUNT</span></code> は常に有効だからです。</p>
|
3945
3945
|
</div>
|
3946
3946
|
<div class="section" id="drilldown-calc-target">
|
3947
|
-
<span id="select-drilldown-calc-target"></span><h4>7.3.
|
3947
|
+
<span id="select-drilldown-calc-target"></span><h4>7.3.51.4.5.7. <code class="docutils literal"><span class="pre">drilldown_calc_target</span></code><a class="headerlink" href="#drilldown-calc-target" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
3948
3948
|
<p><a class="reference internal" href="#select-drilldown-calc-types"><span>drilldown_calc_types</span></a> の計算対象のカラムを指定します。</p>
|
3949
3949
|
<p><a class="reference internal" href="#select-drilldown-calc-types"><span>drilldown_calc_types</span></a> で <code class="docutils literal"><span class="pre">MAX</span></code> のように計算対象のカラムが必要な計算タイプを指定したにも関わらず <code class="docutils literal"><span class="pre">drilldown_calc_target</span></code> を省略すると、計算結果は常に <code class="docutils literal"><span class="pre">0</span></code> になります。</p>
|
3950
3950
|
<p><code class="docutils literal"><span class="pre">--drilldown_calc_target</span> <span class="pre">n_likes</span></code> というように1つのカラム名だけしか指定できません。 <code class="docutils literal"><span class="pre">--drilldown_calc_target</span> <span class="pre">_key,n_likes</span></code> というように複数のカラムを指定することはできません。</p>
|
@@ -3954,7 +3954,7 @@ load --table Items
|
|
3954
3954
|
</div>
|
3955
3955
|
</div>
|
3956
3956
|
<div class="section" id="advanced-drilldown-related-parameters">
|
3957
|
-
<span id="select-advanced-drilldown-related-parameters"></span><h3>7.3.
|
3957
|
+
<span id="select-advanced-drilldown-related-parameters"></span><h3>7.3.51.4.6. 高度なドリルダウン関連のパラメーター<a class="headerlink" href="#advanced-drilldown-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
3958
3958
|
<p><a class="reference internal" href="#select-drilldown"><span>drilldown</span></a> に複数のグループキーを指定することで複数のドリルダウン結果を取得できます。しかし、すべてのドリルダウンで同じ設定を使う必要があります。例えば、すべてのドリルダウンで同じ <a class="reference internal" href="#select-drilldown-output-columns"><span>drilldown_output_columns</span></a> の値が使われます。</p>
|
3959
3959
|
<p>以下の引数を使うことで、各ドリルダウンで別々の設定を使うことができます。</p>
|
3960
3960
|
<blockquote>
|
@@ -4015,13 +4015,13 @@ load --table Items
|
|
4015
4015
|
</div></blockquote>
|
4016
4016
|
<p>出力フォーマットは少し違います。これも追加の説明が必要です。</p>
|
4017
4017
|
<div class="section" id="drilldown-label-keys">
|
4018
|
-
<span id="select-drilldown-label-keys"></span><h4>7.3.
|
4018
|
+
<span id="select-drilldown-label-keys"></span><h4>7.3.51.4.6.1. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].keys</span></code><a class="headerlink" href="#drilldown-label-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
4019
4019
|
<p><a class="reference internal" href="#select-drilldown"><span>drilldown</span></a> は複数のキーを指定して複数のドリルダウンを指定できます。しかし、1つのドリルダウンに複数のキーを指定することはできません。</p>
|
4020
4020
|
<p><code class="docutils literal"><span class="pre">drilldown[${LABEL}].keys</span></code> は複数のキーを指定して複数のドリルダウンを指定することはできません。しかし、1つのドリルダウンに複数のキーを指定することができます。</p>
|
4021
4021
|
<p>複数のキーを <code class="docutils literal"><span class="pre">,</span></code> 区切りで指定します。</p>
|
4022
4022
|
<p>以下は <code class="docutils literal"><span class="pre">tag</span></code> カラムと <code class="docutils literal"><span class="pre">n_likes</span></code> カラムの値を使った複数キーでのグループ化の例です。</p>
|
4023
4023
|
<p>実行例:</p>
|
4024
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries \
|
4024
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries \
|
4025
4025
|
--limit -1 \
|
4026
4026
|
--output_column tag,n_likes \
|
4027
4027
|
--drilldown[tag.n_likes].keys tag,n_likes \
|
@@ -4144,12 +4144,12 @@ load --table Items
|
|
4144
4144
|
<p><code class="docutils literal"><span class="pre">--drilldown[tag].keys</span> <span class="pre">tag</span></code> のように <code class="docutils literal"><span class="pre">drilldown[${LABEL}].keys</span></code> にキーを1つだけしか指定していない場合は <code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> 構文を使うことはできません。この場合は <code class="docutils literal"><span class="pre">_key</span></code> を使ってください。これは、 <a class="reference internal" href="#select-drilldown-output-columns"><span>drilldown_output_columns</span></a> と同じルールです。</p>
|
4145
4145
|
</div>
|
4146
4146
|
<div class="section" id="drilldown-label-output-columns">
|
4147
|
-
<span id="select-drilldown-label-output-columns"></span><h4>7.3.
|
4147
|
+
<span id="select-drilldown-label-output-columns"></span><h4>7.3.51.4.6.2. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].output_columns</span></code><a class="headerlink" href="#drilldown-label-output-columns" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
4148
4148
|
<p><code class="docutils literal"><span class="pre">drilldown[${LABEL}].output_columns</span></code> はほとんど <a class="reference internal" href="#select-drilldown-output-columns"><span>drilldown_output_columns</span></a> と同じです。 <a class="reference internal" href="#select-drilldown-output-columns"><span>drilldown_output_columns</span></a> と <code class="docutils literal"><span class="pre">drilldown[${LABEL}].output_columns</span></code> の違いはグループキーの参照方法です。</p>
|
4149
4149
|
<p><a class="reference internal" href="#select-drilldown-output-columns"><span>drilldown_output_columns</span></a> はグループキーを参照するために <code class="docutils literal"><span class="pre">_key</span></code> <a class="reference internal" href="../columns/pseudo.html"><em>擬似カラム</em></a> を使います。 <code class="docutils literal"><span class="pre">drilldown[${LABEL}].output_columns</span></code> も <a class="reference internal" href="#select-drilldown-label-keys"><span>drilldown[${LABEL}].keys</span></a> で1つだけしかグループキーを指定していない場合は、グループキーを参照するために <code class="docutils literal"><span class="pre">_key</span></code> <a class="reference internal" href="../columns/pseudo.html"><em>擬似カラム</em></a> を使います。</p>
|
4150
4150
|
<p>以下は1つだけ指定したグループキーを参照するために <code class="docutils literal"><span class="pre">_key</span></code> <a class="reference internal" href="../columns/pseudo.html"><em>擬似カラム</em></a> を使う例です。</p>
|
4151
4151
|
<p>実行例:</p>
|
4152
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries \
|
4152
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries \
|
4153
4153
|
--limit 0 \
|
4154
4154
|
--output_column _id \
|
4155
4155
|
--drilldown[tag.n_likes].keys tag,n_likes \
|
@@ -4228,7 +4228,7 @@ load --table Items
|
|
4228
4228
|
<p><code class="docutils literal"><span class="pre">drilldown[${LABEL}].output_columns</span></code> で各グループキーを参照するために <code class="docutils literal"><span class="pre">_key</span></code> <a class="reference internal" href="../columns/pseudo.html"><em>擬似カラム</em></a> を使うことはできません。 <code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> 構文を使います。 <code class="docutils literal"><span class="pre">${KEY_NAME}</span></code> には <a class="reference internal" href="#select-drilldown-label-keys"><span>drilldown[${LABEL}].keys</span></a> でグループキーを指定するために使ったカラム名を使います。</p>
|
4229
4229
|
<p>以下は複数のグループキーを使ったときに <code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> 構文でそれぞれのグループキーを参照する例です。</p>
|
4230
4230
|
<p>実行例:</p>
|
4231
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries \
|
4231
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries \
|
4232
4232
|
--limit 0 \
|
4233
4233
|
--output_column _id \
|
4234
4234
|
--drilldown[tag.n_likes].keys tag,n_likes \
|
@@ -4314,10 +4314,10 @@ load --table Items
|
|
4314
4314
|
</div>
|
4315
4315
|
</div>
|
4316
4316
|
<div class="section" id="output-format-for-drilldown-label-style">
|
4317
|
-
<span id="select-drilldown-label-output-format"></span><h4>7.3.
|
4317
|
+
<span id="select-drilldown-label-output-format"></span><h4>7.3.51.4.6.3. <code class="docutils literal"><span class="pre">drilldown[${LABEL}]</span></code> スタイルの出力フォーマット<a class="headerlink" href="#output-format-for-drilldown-label-style" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
4318
4318
|
<p><a class="reference internal" href="#select-drilldown"><span>drilldown</span></a> と <a class="reference internal" href="#select-drilldown-label-keys"><span>drilldown[${LABEL}].keys</span></a> には出力フォーマットに違いがあります。 <a class="reference internal" href="#select-drilldown"><span>drilldown</span></a> は複数のドリルダウン結果を出力するために配列を使います。 <a class="reference internal" href="#select-drilldown-label-keys"><span>drilldown[${LABEL}].keys</span></a> は「ラベル」と「ドリルダウン結果」のペアの集まりを使います。</p>
|
4319
4319
|
<p><a class="reference internal" href="#select-drilldown"><span>drilldown</span></a> の出力フォーマットは以下の通りです:</p>
|
4320
|
-
<div class="highlight-none"><div class="highlight"><pre>[
|
4320
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>[
|
4321
4321
|
HEADER,
|
4322
4322
|
[
|
4323
4323
|
SEARCH_RESULT,
|
@@ -4329,7 +4329,7 @@ load --table Items
|
|
4329
4329
|
</pre></div>
|
4330
4330
|
</div>
|
4331
4331
|
<p><a class="reference internal" href="#select-drilldown-label-keys"><span>drilldown[${LABEL}].keys</span></a> の出力フォーマットは以下の通りです:</p>
|
4332
|
-
<div class="highlight-none"><div class="highlight"><pre>[
|
4332
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>[
|
4333
4333
|
HEADER,
|
4334
4334
|
[
|
4335
4335
|
SEARCH_RESULT,
|
@@ -4345,9 +4345,9 @@ load --table Items
|
|
4345
4345
|
</div>
|
4346
4346
|
</div>
|
4347
4347
|
<div class="section" id="cache-related-parameter">
|
4348
|
-
<h3>7.3.
|
4348
|
+
<h3>7.3.51.4.7. キャッシュ関連の引数<a class="headerlink" href="#cache-related-parameter" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
4349
4349
|
<div class="section" id="cache">
|
4350
|
-
<span id="select-cache"></span><h4>7.3.
|
4350
|
+
<span id="select-cache"></span><h4>7.3.51.4.7.1. <code class="docutils literal"><span class="pre">cache</span></code><a class="headerlink" href="#cache" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
4351
4351
|
<p>このクエリーの結果をキャッシュするかどうかを指定します。</p>
|
4352
4352
|
<p>このクエリーの結果がキャッシュしてあると、次に同じクエリーを実行するときはキャッシュを使って高速にレスポンスを返すことができます。</p>
|
4353
4353
|
<p>これは既存のキャッシュされた結果を使うかどうかを指定するものではありません。</p>
|
@@ -4376,7 +4376,7 @@ load --table Items
|
|
4376
4376
|
</table>
|
4377
4377
|
<p>このクエリーの結果をキャッシュしないようにする例です。</p>
|
4378
4378
|
<p>実行例:</p>
|
4379
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries --cache no
|
4379
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --cache no
|
4380
4380
|
# [
|
4381
4381
|
# [
|
4382
4382
|
# 0,
|
@@ -4454,19 +4454,19 @@ load --table Items
|
|
4454
4454
|
</div>
|
4455
4455
|
</div>
|
4456
4456
|
<div class="section" id="score-related-parameters">
|
4457
|
-
<h3>7.3.
|
4457
|
+
<h3>7.3.51.4.8. スコアー関連の引数<a class="headerlink" href="#score-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
4458
4458
|
<p>スコアー関連のパラメーターは <code class="docutils literal"><span class="pre">adjuster</span></code> だけです。</p>
|
4459
4459
|
<div class="section" id="adjuster">
|
4460
|
-
<span id="select-adjuster"></span><h4>7.3.
|
4460
|
+
<span id="select-adjuster"></span><h4>7.3.51.4.8.1. <code class="docutils literal"><span class="pre">adjuster</span></code><a class="headerlink" href="#adjuster" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
4461
4461
|
<p>1つ以上のスコアー調整式(score adjust expression)を指定します。 <code class="docutils literal"><span class="pre">adjuster</span></code> は <code class="docutils literal"><span class="pre">query</span></code> または <code class="docutils literal"><span class="pre">filter</span></code> と一緒に使います。検索しないリクエストでは <code class="docutils literal"><span class="pre">adjuster</span></code> は動きません。</p>
|
4462
4462
|
<p><code class="docutils literal"><span class="pre">adjuster</span></code> を使うと特定のレコードのスコアーを増やすことができます。重要なレコードに高いスコアーをつけるために <code class="docutils literal"><span class="pre">adjuster</span></code> を使えます。</p>
|
4463
4463
|
<p>例えば、 <code class="docutils literal"><span class="pre">groonga</span></code> タグがついたレコードのスコアーを増やすために <code class="docutils literal"><span class="pre">adjuster</span></code> を使えます。</p>
|
4464
4464
|
<p>以下が構文です:</p>
|
4465
|
-
<div class="highlight-none"><div class="highlight"><pre>--adjuster "SCORE_ADJUST_EXPRESSION1 + SCORE_ADJUST_EXPRESSION2 + ..."
|
4465
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>--adjuster "SCORE_ADJUST_EXPRESSION1 + SCORE_ADJUST_EXPRESSION2 + ..."
|
4466
4466
|
</pre></div>
|
4467
4467
|
</div>
|
4468
4468
|
<p>以下が <code class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></code> の構文です:</p>
|
4469
|
-
<div class="highlight-none"><div class="highlight"><pre>COLUMN @ "KEYWORD" * FACTOR
|
4469
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>COLUMN @ "KEYWORD" * FACTOR
|
4470
4470
|
</pre></div>
|
4471
4471
|
</div>
|
4472
4472
|
<p>以下のことに注意してください:</p>
|
@@ -4482,7 +4482,7 @@ load --table Items
|
|
4482
4482
|
</div></blockquote>
|
4483
4483
|
<p>以下は1つだけ <code class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></code> を使った <code class="docutils literal"><span class="pre">adjuster</span></code> の使用例です。</p>
|
4484
4484
|
<p>実行例:</p>
|
4485
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries \
|
4485
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries \
|
4486
4486
|
--filter true \
|
4487
4487
|
--adjuster 'content @ "groonga" * 5' \
|
4488
4488
|
--output_columns _key,content,_score
|
@@ -4545,7 +4545,7 @@ load --table Items
|
|
4545
4545
|
<p><code class="docutils literal"><span class="pre">FACTOR</span></code> は省略できます。 <code class="docutils literal"><span class="pre">FACTOR</span></code> を省略すると、1を指定したとみなします。</p>
|
4546
4546
|
<p><code class="docutils literal"><span class="pre">FACTOR</span></code> を省略した <code class="docutils literal"><span class="pre">adjuster</span></code> の使用例です。</p>
|
4547
4547
|
<p>実行例:</p>
|
4548
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries \
|
4548
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries \
|
4549
4549
|
--filter true \
|
4550
4550
|
--adjuster 'content @ "groonga"' \
|
4551
4551
|
--output_columns _key,content,_score
|
@@ -4607,7 +4607,7 @@ load --table Items
|
|
4607
4607
|
<p>この <code class="docutils literal"><span class="pre">select</span></code> コマンドの <code class="docutils literal"><span class="pre">adjuster</span></code> は <code class="docutils literal"><span class="pre">FACTOR</span></code> がありません。そのため、係数は1になります。 <code class="docutils literal"><span class="pre">Entries.content</span></code> カラムに <code class="docutils literal"><span class="pre">"groonga"</span></code> を含むレコードは1つだけです。キーが <code class="docutils literal"><span class="pre">"Groonga"</span></code> のレコードです。このレコードのスコアーは2( <code class="docutils literal"><span class="pre">=</span> <span class="pre">1</span> <span class="pre">+</span> <span class="pre">1</span></code> )になります。</p>
|
4608
4608
|
<p>複数の <code class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></code> を使った <code class="docutils literal"><span class="pre">adjuster</span></code> の使用例です。</p>
|
4609
4609
|
<p>実行例:</p>
|
4610
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries \
|
4610
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries \
|
4611
4611
|
--filter true \
|
4612
4612
|
--adjuster 'content @ "groonga" * 5 + content @ "started" * 3' \
|
4613
4613
|
--output_columns _key,content,_score
|
@@ -4675,9 +4675,9 @@ load --table Items
|
|
4675
4675
|
</div>
|
4676
4676
|
</div>
|
4677
4677
|
<div class="section" id="return-value">
|
4678
|
-
<span id="select-return-value"></span><h2>7.3.
|
4678
|
+
<span id="select-return-value"></span><h2>7.3.51.5. 戻り値<a class="headerlink" href="#return-value" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
4679
4679
|
<p><code class="docutils literal"><span class="pre">select</span></code> は以下のフォーマットのレスポンスを返します:</p>
|
4680
|
-
<div class="highlight-none"><div class="highlight"><pre>[
|
4680
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>[
|
4681
4681
|
HEADER,
|
4682
4682
|
[
|
4683
4683
|
SEARCH_RESULT,
|
@@ -4692,7 +4692,7 @@ load --table Items
|
|
4692
4692
|
<p><code class="docutils literal"><span class="pre">select</span></code> が失敗すると、 <code class="docutils literal"><span class="pre">HEADER</span></code> にエラーの詳細が含まれます。</p>
|
4693
4693
|
<p><code class="docutils literal"><span class="pre">HEADER</span></code> については <a class="reference internal" href="../command/output_format.html"><em>出力形式</em></a> を参照してください。</p>
|
4694
4694
|
<p>0個以上の <code class="docutils literal"><span class="pre">DRILLDOWN_RESULT</span></code> があります。もし、 <code class="docutils literal"><span class="pre">drilldown</span></code> も <code class="docutils literal"><span class="pre">drilldown[${LABEL}].keys</span></code> も指定していない場合、次のように <code class="docutils literal"><span class="pre">DRILLDOWN_RESULT</span></code> は出力されません:</p>
|
4695
|
-
<div class="highlight-none"><div class="highlight"><pre>[
|
4695
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>[
|
4696
4696
|
HEADER,
|
4697
4697
|
[
|
4698
4698
|
SEARCH_RESULT
|
@@ -4701,7 +4701,7 @@ load --table Items
|
|
4701
4701
|
</pre></div>
|
4702
4702
|
</div>
|
4703
4703
|
<p><code class="docutils literal"><span class="pre">--drilldown</span> <span class="pre">"_key,</span> <span class="pre">column1,</span> <span class="pre">column2"</span></code> というように <code class="docutils literal"><span class="pre">drilldown</span></code> に2つ以上のキーがある場合、複数の <code class="docutils literal"><span class="pre">DRILLDOWN_RESULT</span></code> が存在します:</p>
|
4704
|
-
<div class="highlight-none"><div class="highlight"><pre>[
|
4704
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>[
|
4705
4705
|
HEADER,
|
4706
4706
|
[
|
4707
4707
|
SEARCH_RESULT,
|
@@ -4713,7 +4713,7 @@ load --table Items
|
|
4713
4713
|
</pre></div>
|
4714
4714
|
</div>
|
4715
4715
|
<p>もし <code class="docutils literal"><span class="pre">drilldown[${LABEL}].keys</span></code> を使っているなら、 <code class="docutils literal"><span class="pre">DRILLDOWN_RESULT</span></code> が1つだけ存在します:</p>
|
4716
|
-
<div class="highlight-none"><div class="highlight"><pre>[
|
4716
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>[
|
4717
4717
|
HEADER,
|
4718
4718
|
[
|
4719
4719
|
SEARCH_RESULT,
|
@@ -4724,7 +4724,7 @@ load --table Items
|
|
4724
4724
|
</div>
|
4725
4725
|
<p><code class="docutils literal"><span class="pre">DRILLDOWN_RESULT</span></code> のフォーマットは <code class="docutils literal"><span class="pre">drilldown</span></code> と <code class="docutils literal"><span class="pre">drilldown[${LABEL}].keys</span></code> で違います。これについては後述します。</p>
|
4726
4726
|
<p><code class="docutils literal"><span class="pre">SEARCH_RESULT</span></code> は以下のフォーマットです:</p>
|
4727
|
-
<div class="highlight-none"><div class="highlight"><pre>[
|
4727
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>[
|
4728
4728
|
[N_HITS],
|
4729
4729
|
COLUMNS,
|
4730
4730
|
RECORDS
|
@@ -4734,7 +4734,7 @@ load --table Items
|
|
4734
4734
|
<p>このフォーマットの具体例は <a class="reference internal" href="#select-simple-usage"><span>簡単な使い方</span></a> を見てください。</p>
|
4735
4735
|
<p><code class="docutils literal"><span class="pre">N_HITS</span></code> は <a class="reference internal" href="#select-limit"><span>limit</span></a> を適用する前のマッチしたレコード数です。</p>
|
4736
4736
|
<p><code class="docutils literal"><span class="pre">COLUMNS</span></code> は <a class="reference internal" href="#select-output-columns"><span>output_columns</span></a> で指定した出力カラムの情報を表しています。これは次のフォーマットになっています:</p>
|
4737
|
-
<div class="highlight-none"><div class="highlight"><pre>[
|
4737
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>[
|
4738
4738
|
[COLUMN_NAME_1, COLUMN_TYPE_1],
|
4739
4739
|
[COLUMN_NAME_2, COLUMN_TYPE_2],
|
4740
4740
|
...,
|
@@ -4756,7 +4756,7 @@ load --table Items
|
|
4756
4756
|
<p>型の詳細は <a class="reference internal" href="../types.html"><em>データ型</em></a> を見てください。</p>
|
4757
4757
|
<p><code class="docutils literal"><span class="pre">null</span></code> になるときはカラムの値の型を決められないときです。たとえば、 <code class="docutils literal"><span class="pre">--output_columns</span> <span class="pre">"snippet_html(content)"</span></code> というように <a class="reference internal" href="#select-output-columns"><span>output_columns</span></a> の中で関数呼び出しを使ったときは <code class="docutils literal"><span class="pre">null</span></code> になります。</p>
|
4758
4758
|
<p>以下は <code class="docutils literal"><span class="pre">COLUMNS</span></code> の使用例です:</p>
|
4759
|
-
<div class="highlight-none"><div class="highlight"><pre>[
|
4759
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>[
|
4760
4760
|
["_id", "UInt32"],
|
4761
4761
|
["_key", "ShortText"],
|
4762
4762
|
["n_likes", "UInt32"],
|
@@ -4764,7 +4764,7 @@ load --table Items
|
|
4764
4764
|
</pre></div>
|
4765
4765
|
</div>
|
4766
4766
|
<p><code class="docutils literal"><span class="pre">RECORDS</span></code> はマッチした各レコードのカラムの値を含んでいます。 <code class="docutils literal"><span class="pre">RECORDS</span></code> に含まれるレコードは <a class="reference internal" href="#select-offset"><span>offset</span></a> と <a class="reference internal" href="#select-limit"><span>limit</span></a> で選択されたレコードです。 <code class="docutils literal"><span class="pre">RECORDS</span></code> は次のフォーマットです:</p>
|
4767
|
-
<div class="highlight-none"><div class="highlight"><pre>[
|
4767
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>[
|
4768
4768
|
[
|
4769
4769
|
RECORD_1_COLUMN_1,
|
4770
4770
|
RECORD_1_COLUMN_2,
|
@@ -4788,7 +4788,7 @@ load --table Items
|
|
4788
4788
|
</pre></div>
|
4789
4789
|
</div>
|
4790
4790
|
<p>以下は <code class="docutils literal"><span class="pre">RECORDS</span></code> の例です:</p>
|
4791
|
-
<div class="highlight-none"><div class="highlight"><pre>[
|
4791
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>[
|
4792
4792
|
[
|
4793
4793
|
1,
|
4794
4794
|
"The first post!",
|
@@ -4809,7 +4809,7 @@ load --table Items
|
|
4809
4809
|
</div>
|
4810
4810
|
<p><code class="docutils literal"><span class="pre">DRILLDOWN_RESULT</span></code> のフォーマットは <code class="docutils literal"><span class="pre">drilldown</span></code> と <code class="docutils literal"><span class="pre">drilldown[${LABEL}].keys</span></code> で違います。</p>
|
4811
4811
|
<p><code class="docutils literal"><span class="pre">drilldown</span></code> は <code class="docutils literal"><span class="pre">SEARCH_RESULT</span></code> と同じフォーマットです:</p>
|
4812
|
-
<div class="highlight-none"><div class="highlight"><pre>[
|
4812
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>[
|
4813
4813
|
[N_HITS],
|
4814
4814
|
COLUMNS,
|
4815
4815
|
RECORDS
|
@@ -4818,7 +4818,7 @@ load --table Items
|
|
4818
4818
|
</div>
|
4819
4819
|
<p><a class="reference internal" href="#select-drilldown"><span>drilldown</span></a> で1つ以上のキーを指定すると、 <code class="docutils literal"><span class="pre">drilldown</span></code> は1つ以上の <code class="docutils literal"><span class="pre">DRILLDOWN_RESULT</span></code> を出力します。</p>
|
4820
4820
|
<p><code class="docutils literal"><span class="pre">drilldown[${LABEL}].keys</span></code> は次のフォーマットを使います。複数の <code class="docutils literal"><span class="pre">drilldown[${LABEL}].keys</span></code> は1つのオブジェクト(キーと値のペアの集合)になります:</p>
|
4821
|
-
<div class="highlight-none"><div class="highlight"><pre>{
|
4821
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>{
|
4822
4822
|
"LABEL_1": [
|
4823
4823
|
[N_HITS],
|
4824
4824
|
COLUMNS,
|
@@ -4839,7 +4839,7 @@ load --table Items
|
|
4839
4839
|
</pre></div>
|
4840
4840
|
</div>
|
4841
4841
|
<p>各 <code class="docutils literal"><span class="pre">drilldown[${LABEL}].keys</span></code> は次の部分に対応します:</p>
|
4842
|
-
<div class="highlight-none"><div class="highlight"><pre>"LABEL": [
|
4842
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>"LABEL": [
|
4843
4843
|
[N_HITS],
|
4844
4844
|
COLUMNS,
|
4845
4845
|
RECORDS
|
@@ -4847,7 +4847,7 @@ load --table Items
|
|
4847
4847
|
</pre></div>
|
4848
4848
|
</div>
|
4849
4849
|
<p>以下の値の部分は <code class="docutils literal"><span class="pre">SEARCH_RESULT</span></code> と同じフォーマットです:</p>
|
4850
|
-
<div class="highlight-none"><div class="highlight"><pre>[
|
4850
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>[
|
4851
4851
|
[N_HITS],
|
4852
4852
|
COLUMNS,
|
4853
4853
|
RECORDS
|
@@ -4857,7 +4857,7 @@ load --table Items
|
|
4857
4857
|
<p><code class="docutils literal"><span class="pre">drilldown[${LABEL}]</span></code> スタイルのドリルダウンの出力形式については <a class="reference internal" href="#select-drilldown-label-output-format"><span>drilldown[${LABEL}] スタイルの出力フォーマット</span></a> も見てください。</p>
|
4858
4858
|
</div>
|
4859
4859
|
<div class="section" id="see-also">
|
4860
|
-
<h2>7.3.
|
4860
|
+
<h2>7.3.51.6. 参考<a class="headerlink" href="#see-also" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
4861
4861
|
<blockquote>
|
4862
4862
|
<div><ul class="simple">
|
4863
4863
|
<li><a class="reference internal" href="../grn_expr/query_syntax.html"><em>クエリー構文</em></a></li>
|
@@ -4875,85 +4875,85 @@ load --table Items
|
|
4875
4875
|
<div class="sphinxsidebarwrapper">
|
4876
4876
|
<h3><a href="../../index.html">目次</a></h3>
|
4877
4877
|
<ul>
|
4878
|
-
<li><a class="reference internal" href="#">7.3.
|
4879
|
-
<li><a class="reference internal" href="#summary">7.3.
|
4880
|
-
<li><a class="reference internal" href="#syntax">7.3.
|
4881
|
-
<li><a class="reference internal" href="#usage">7.3.
|
4882
|
-
<li><a class="reference internal" href="#simple-usage">7.3.
|
4883
|
-
<li><a class="reference internal" href="#search-conditions">7.3.
|
4884
|
-
<li><a class="reference internal" href="#search-condition-query">7.3.
|
4885
|
-
<li><a class="reference internal" href="#search-condition-filter">7.3.
|
4878
|
+
<li><a class="reference internal" href="#">7.3.51. <code class="docutils literal"><span class="pre">select</span></code></a><ul>
|
4879
|
+
<li><a class="reference internal" href="#summary">7.3.51.1. 概要</a></li>
|
4880
|
+
<li><a class="reference internal" href="#syntax">7.3.51.2. 構文</a></li>
|
4881
|
+
<li><a class="reference internal" href="#usage">7.3.51.3. 使い方</a><ul>
|
4882
|
+
<li><a class="reference internal" href="#simple-usage">7.3.51.3.1. 簡単な使い方</a></li>
|
4883
|
+
<li><a class="reference internal" href="#search-conditions">7.3.51.3.2. 検索条件</a><ul>
|
4884
|
+
<li><a class="reference internal" href="#search-condition-query">7.3.51.3.2.1. 検索条件: <code class="docutils literal"><span class="pre">query</span></code></a></li>
|
4885
|
+
<li><a class="reference internal" href="#search-condition-filter">7.3.51.3.2.2. 検索条件: <code class="docutils literal"><span class="pre">filter</span></code></a></li>
|
4886
4886
|
</ul>
|
4887
4887
|
</li>
|
4888
|
-
<li><a class="reference internal" href="#paging">7.3.
|
4889
|
-
<li><a class="reference internal" href="#the-total-number-of-records">7.3.
|
4890
|
-
<li><a class="reference internal" href="#drilldown">7.3.
|
4888
|
+
<li><a class="reference internal" href="#paging">7.3.51.3.3. ページング</a></li>
|
4889
|
+
<li><a class="reference internal" href="#the-total-number-of-records">7.3.51.3.4. 全レコード数</a></li>
|
4890
|
+
<li><a class="reference internal" href="#drilldown">7.3.51.3.5. ドリルダウン</a></li>
|
4891
4891
|
</ul>
|
4892
4892
|
</li>
|
4893
|
-
<li><a class="reference internal" href="#parameters">7.3.
|
4894
|
-
<li><a class="reference internal" href="#required-parameter">7.3.
|
4895
|
-
<li><a class="reference internal" href="#table">7.3.
|
4893
|
+
<li><a class="reference internal" href="#parameters">7.3.51.4. 引数</a><ul>
|
4894
|
+
<li><a class="reference internal" href="#required-parameter">7.3.51.4.1. 必須引数</a><ul>
|
4895
|
+
<li><a class="reference internal" href="#table">7.3.51.4.1.1. <code class="docutils literal"><span class="pre">table</span></code></a></li>
|
4896
4896
|
</ul>
|
4897
4897
|
</li>
|
4898
|
-
<li><a class="reference internal" href="#search-related-parameters">7.3.
|
4899
|
-
<li><a class="reference internal" href="#match-columns">7.3.
|
4900
|
-
<li><a class="reference internal" href="#query">7.3.
|
4901
|
-
<li><a class="reference internal" href="#filter">7.3.
|
4898
|
+
<li><a class="reference internal" href="#search-related-parameters">7.3.51.4.2. 検索関係の引数</a><ul>
|
4899
|
+
<li><a class="reference internal" href="#match-columns">7.3.51.4.2.1. <code class="docutils literal"><span class="pre">match_columns</span></code></a></li>
|
4900
|
+
<li><a class="reference internal" href="#query">7.3.51.4.2.2. <code class="docutils literal"><span class="pre">query</span></code></a></li>
|
4901
|
+
<li><a class="reference internal" href="#filter">7.3.51.4.2.3. <code class="docutils literal"><span class="pre">filter</span></code></a></li>
|
4902
4902
|
</ul>
|
4903
4903
|
</li>
|
4904
|
-
<li><a class="reference internal" href="#advanced-search-parameters">7.3.
|
4905
|
-
<li><a class="reference internal" href="#match-escalation-threshold">7.3.
|
4906
|
-
<li><a class="reference internal" href="#query-expansion">7.3.
|
4907
|
-
<li><a class="reference internal" href="#query-flags">7.3.
|
4908
|
-
<li><a class="reference internal" href="#query-expander">7.3.
|
4904
|
+
<li><a class="reference internal" href="#advanced-search-parameters">7.3.51.4.3. 高度な検索のための引数</a><ul>
|
4905
|
+
<li><a class="reference internal" href="#match-escalation-threshold">7.3.51.4.3.1. <code class="docutils literal"><span class="pre">match_escalation_threshold</span></code></a></li>
|
4906
|
+
<li><a class="reference internal" href="#query-expansion">7.3.51.4.3.2. <code class="docutils literal"><span class="pre">query_expansion</span></code></a></li>
|
4907
|
+
<li><a class="reference internal" href="#query-flags">7.3.51.4.3.3. <code class="docutils literal"><span class="pre">query_flags</span></code></a></li>
|
4908
|
+
<li><a class="reference internal" href="#query-expander">7.3.51.4.3.4. <code class="docutils literal"><span class="pre">query_expander</span></code></a></li>
|
4909
4909
|
</ul>
|
4910
4910
|
</li>
|
4911
|
-
<li><a class="reference internal" href="#output-related-parameters">7.3.
|
4912
|
-
<li><a class="reference internal" href="#output-columns">7.3.
|
4913
|
-
<li><a class="reference internal" href="#sortby">7.3.
|
4914
|
-
<li><a class="reference internal" href="#offset">7.3.
|
4915
|
-
<li><a class="reference internal" href="#limit">7.3.
|
4916
|
-
<li><a class="reference internal" href="#scorer">7.3.
|
4911
|
+
<li><a class="reference internal" href="#output-related-parameters">7.3.51.4.4. 出力関連の引数</a><ul>
|
4912
|
+
<li><a class="reference internal" href="#output-columns">7.3.51.4.4.1. <code class="docutils literal"><span class="pre">output_columns</span></code></a></li>
|
4913
|
+
<li><a class="reference internal" href="#sortby">7.3.51.4.4.2. <code class="docutils literal"><span class="pre">sortby</span></code></a></li>
|
4914
|
+
<li><a class="reference internal" href="#offset">7.3.51.4.4.3. <code class="docutils literal"><span class="pre">offset</span></code></a></li>
|
4915
|
+
<li><a class="reference internal" href="#limit">7.3.51.4.4.4. <code class="docutils literal"><span class="pre">limit</span></code></a></li>
|
4916
|
+
<li><a class="reference internal" href="#scorer">7.3.51.4.4.5. <code class="docutils literal"><span class="pre">scorer</span></code></a></li>
|
4917
4917
|
</ul>
|
4918
4918
|
</li>
|
4919
|
-
<li><a class="reference internal" href="#drilldown-related-parameters">7.3.
|
4920
|
-
<li><a class="reference internal" href="#select-drilldown">7.3.
|
4921
|
-
<li><a class="reference internal" href="#drilldown-sortby">7.3.
|
4922
|
-
<li><a class="reference internal" href="#drilldown-output-columns">7.3.
|
4923
|
-
<li><a class="reference internal" href="#drilldown-offset">7.3.
|
4924
|
-
<li><a class="reference internal" href="#drilldown-limit">7.3.
|
4925
|
-
<li><a class="reference internal" href="#drilldown-calc-types">7.3.
|
4926
|
-
<li><a class="reference internal" href="#drilldown-calc-target">7.3.
|
4919
|
+
<li><a class="reference internal" href="#drilldown-related-parameters">7.3.51.4.5. ドリルダウン関連の引数</a><ul>
|
4920
|
+
<li><a class="reference internal" href="#select-drilldown">7.3.51.4.5.1. <code class="docutils literal"><span class="pre">drilldown</span></code></a></li>
|
4921
|
+
<li><a class="reference internal" href="#drilldown-sortby">7.3.51.4.5.2. <code class="docutils literal"><span class="pre">drilldown_sortby</span></code></a></li>
|
4922
|
+
<li><a class="reference internal" href="#drilldown-output-columns">7.3.51.4.5.3. <code class="docutils literal"><span class="pre">drilldown_output_columns</span></code></a></li>
|
4923
|
+
<li><a class="reference internal" href="#drilldown-offset">7.3.51.4.5.4. <code class="docutils literal"><span class="pre">drilldown_offset</span></code></a></li>
|
4924
|
+
<li><a class="reference internal" href="#drilldown-limit">7.3.51.4.5.5. <code class="docutils literal"><span class="pre">drilldown_limit</span></code></a></li>
|
4925
|
+
<li><a class="reference internal" href="#drilldown-calc-types">7.3.51.4.5.6. <code class="docutils literal"><span class="pre">drilldown_calc_types</span></code></a></li>
|
4926
|
+
<li><a class="reference internal" href="#drilldown-calc-target">7.3.51.4.5.7. <code class="docutils literal"><span class="pre">drilldown_calc_target</span></code></a></li>
|
4927
4927
|
</ul>
|
4928
4928
|
</li>
|
4929
|
-
<li><a class="reference internal" href="#advanced-drilldown-related-parameters">7.3.
|
4930
|
-
<li><a class="reference internal" href="#drilldown-label-keys">7.3.
|
4931
|
-
<li><a class="reference internal" href="#drilldown-label-output-columns">7.3.
|
4932
|
-
<li><a class="reference internal" href="#output-format-for-drilldown-label-style">7.3.
|
4929
|
+
<li><a class="reference internal" href="#advanced-drilldown-related-parameters">7.3.51.4.6. 高度なドリルダウン関連のパラメーター</a><ul>
|
4930
|
+
<li><a class="reference internal" href="#drilldown-label-keys">7.3.51.4.6.1. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].keys</span></code></a></li>
|
4931
|
+
<li><a class="reference internal" href="#drilldown-label-output-columns">7.3.51.4.6.2. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].output_columns</span></code></a></li>
|
4932
|
+
<li><a class="reference internal" href="#output-format-for-drilldown-label-style">7.3.51.4.6.3. <code class="docutils literal"><span class="pre">drilldown[${LABEL}]</span></code> スタイルの出力フォーマット</a></li>
|
4933
4933
|
</ul>
|
4934
4934
|
</li>
|
4935
|
-
<li><a class="reference internal" href="#cache-related-parameter">7.3.
|
4936
|
-
<li><a class="reference internal" href="#cache">7.3.
|
4935
|
+
<li><a class="reference internal" href="#cache-related-parameter">7.3.51.4.7. キャッシュ関連の引数</a><ul>
|
4936
|
+
<li><a class="reference internal" href="#cache">7.3.51.4.7.1. <code class="docutils literal"><span class="pre">cache</span></code></a></li>
|
4937
4937
|
</ul>
|
4938
4938
|
</li>
|
4939
|
-
<li><a class="reference internal" href="#score-related-parameters">7.3.
|
4940
|
-
<li><a class="reference internal" href="#adjuster">7.3.
|
4939
|
+
<li><a class="reference internal" href="#score-related-parameters">7.3.51.4.8. スコアー関連の引数</a><ul>
|
4940
|
+
<li><a class="reference internal" href="#adjuster">7.3.51.4.8.1. <code class="docutils literal"><span class="pre">adjuster</span></code></a></li>
|
4941
4941
|
</ul>
|
4942
4942
|
</li>
|
4943
4943
|
</ul>
|
4944
4944
|
</li>
|
4945
|
-
<li><a class="reference internal" href="#return-value">7.3.
|
4946
|
-
<li><a class="reference internal" href="#see-also">7.3.
|
4945
|
+
<li><a class="reference internal" href="#return-value">7.3.51.5. 戻り値</a></li>
|
4946
|
+
<li><a class="reference internal" href="#see-also">7.3.51.6. 参考</a></li>
|
4947
4947
|
</ul>
|
4948
4948
|
</li>
|
4949
4949
|
</ul>
|
4950
4950
|
|
4951
4951
|
<h4>前のトピックへ</h4>
|
4952
|
-
<p class="topless"><a href="
|
4953
|
-
title="前の章へ">7.3.
|
4952
|
+
<p class="topless"><a href="schema.html"
|
4953
|
+
title="前の章へ">7.3.50. <code class="docutils literal"><span class="pre">schema</span></code></a></p>
|
4954
4954
|
<h4>次のトピックへ</h4>
|
4955
4955
|
<p class="topless"><a href="shutdown.html"
|
4956
|
-
title="次の章へ">7.3.
|
4956
|
+
title="次の章へ">7.3.52. <code class="docutils literal"><span class="pre">shutdown</span></code></a></p>
|
4957
4957
|
<div role="note" aria-label="source link">
|
4958
4958
|
<h3>このページ</h3>
|
4959
4959
|
<ul class="this-page-menu">
|
@@ -4985,18 +4985,18 @@ load --table Items
|
|
4985
4985
|
<a href="../../genindex.html" title="総合索引"
|
4986
4986
|
>索引</a></li>
|
4987
4987
|
<li class="right" >
|
4988
|
-
<a href="shutdown.html" title="7.3.
|
4988
|
+
<a href="shutdown.html" title="7.3.52. shutdown"
|
4989
4989
|
>次へ</a> |</li>
|
4990
4990
|
<li class="right" >
|
4991
|
-
<a href="
|
4991
|
+
<a href="schema.html" title="7.3.50. schema"
|
4992
4992
|
>前へ</a> |</li>
|
4993
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v5.1.
|
4993
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v5.1.2-250-gb1f40beドキュメント</a> »</li>
|
4994
4994
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
4995
4995
|
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. コマンド</a> »</li>
|
4996
4996
|
</ul>
|
4997
4997
|
</div>
|
4998
4998
|
<div class="footer" role="contentinfo">
|
4999
|
-
© Copyright 2009-
|
4999
|
+
© Copyright 2009-2016, Brazil, Inc.
|
5000
5000
|
</div>
|
5001
5001
|
</body>
|
5002
5002
|
</html>
|