cbft

command module
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2014 License: Apache-2.0 Imports: 26 Imported by: 4

README

cbft

Couchbase Full Text engine

This project integrates the bleve full-text search engine and Couchbase Server.

LICENSE: Apache 2.0

Usage

Running against local Couchbase Server

./cbft -server http://localhost:8091

Create a new index (for a bucket that already exists)

curl -XPUT http://localhost:8095/api/default

Check how many documents are indexed

curl http://localhost:8095/api/default/_count

Submit search query

curl -XPOST http://localhost:8095/api/default/_search -d curl -XPOST http://localhost:8095/api/default/_search -d '{"query": {"query":"searchterm"}}'

Delete index

curl -XDELETE http://localhost:8095/api/default

Status

Build Status

Coverage Status

For cbft developers

To get local coverage reports with heatmaps...

go test -coverprofile=coverage.out -covermode=count && go tool cover -html=coverage.out

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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