redisbleve

package module
v0.0.0-...-6ef87fe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

README

redisbleve

Fulltext search module build on top of bleve

  • ft.create index-name
    • ft.create index-name JSON Mapping
  • ft.index index-name doc-id doc-content
  • ft.query index-name query
    • Query document by query string
    • Only return doc-it by default
    • ft.query index-name query LIMIT from size
  • ft.count
  • ft.del index-name doc-id

Install

# Build module from source
go build -v -buildmode=c-shared github.com/redismodule/redisbleve/cmd/redisbleve
# Load module
redis-server --loadmodule ./redisbleve --loglevel debug
# You can use these commands now.

Test

ft.create idx
ft.index idx a "redisbleve - Fulltext search module build on top of bleve"
ft.index idx b "bleve - A modern text indexing library for go"
ft.query idx bleve
ft.query idx redis

Documentation

Index

Constants

View Source
const ModuleName = "bleve-fts"

Variables

View Source
var ModuleType rm.ModuleType

Functions

func CreateCommand_FT_COUNT

func CreateCommand_FT_COUNT() rm.Command

func CreateCommand_FT_CREATE

func CreateCommand_FT_CREATE() rm.Command

func CreateCommand_FT_DEL

func CreateCommand_FT_DEL() rm.Command

func CreateCommand_FT_GET

func CreateCommand_FT_GET() rm.Command

func CreateCommand_FT_INDEX

func CreateCommand_FT_INDEX() rm.Command

func CreateCommand_FT_QUERY

func CreateCommand_FT_QUERY() rm.Command

func CreateDataType

func CreateDataType() rm.DataType

func CreateModule

func CreateModule() *rm.Module

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL