Skip to content

Instantly share code, notes, and snippets.

"nodeDefsWanted": {
"uuid": "5be9fb30295f5377",
"nodeDefs": {
"7673bdfa51cba5b4": {
"hostPort": "127.0.0.1:9200",
"uuid": "7673bdfa51cba5b4",
"implVersion": "4.0.0",
"tags": null,
"container": "",
"weight": 1,
@steveyen
steveyen / diff
Last active August 29, 2015 14:24
cbft spawned by ns-server
Steves-MacBook-Pro:couchbase-server steveyen$ repo diff
project ns_server/
diff --git a/cbcollect_info b/cbcollect_info
index 8d3e393..9ed5c96 100755
--- a/cbcollect_info
+++ b/cbcollect_info
@@ -294,7 +294,8 @@ def basedir():
def make_os_tasks():
programs = " ".join(["moxi", "memcached", "beam.smp",
@steveyen
steveyen / blog.md
Last active August 29, 2015 14:22 — forked from mschoch/blog.md

Announcing CBFT Developer Preview!

Today we're excited to announce a developer preview release of CBFT, which offers full-text indexing for Couchbase Server. CBFT will allow Couchbase users to more easily add full-text search capabilities to their application without having to deploy additional infrastrucutre dedicated to search.

The CBFT developer preview offers:

  • analysis and indexing powered by Bleve, a full-text library written in Go
  • advanced index mapping to customize behavior to your documents
  • faceted search
  • incremental indexing using Couchbase DCP technology
$ ./cbft -h
cbft: couchbase full-text server
Usage: cbft [flags]
Flags:
-bindAddr ADDR:PORT
optional HTTP/REST listen addr:port;
default is 'localhost:8095'.
-c, -cfg, -cfgConnect CFG_CONNECT
@steveyen
steveyen / gist:b912499ec2b59daf58a6
Created March 23, 2015 16:14
couchbaselabs/couchdb-harness/script/test/lorem_b64.txt
get couchbaselabs/couchdb-harness/script/test/lorem_b64.txt
VALUE couchbaselabs/couchdb-harness/script/test/lorem_b64.txt 1 56451
{"type":"github/text","repo":"couchbaselabs/couchdb-harness","project":"couchdb-harness","key":"couchbaselabs/couchdb-harness/script/test/lorem_b64.txt","url":"https://github.com/couchbaselabs/couchdb-harness/blob/master/script/test/lorem_b64.txt","ext":".txt","title":"script/test/lorem_b64.txt","contents":"TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4gUGhhc2VsbHVzIG51bmMgc2FwaWVuLCBwb3J0YSBpZCBwZWxsZW50ZXNxdWUgYXQsIGVsZW1lbnR1bSBldCBmZWxpcy4gQ3VyYWJpdHVyIGNvbmRpbWVudHVtIGFudGUgaW4gbWV0dXMgaWFjdWxpcyBxdWlzIGNvbmd1ZSBkaWFtIGNvbW1vZG8uIERvbmVjIGVsZWlmZW5kIGFudGUgc2VkIG51bGxhIGRhcGlidXMgY29udmFsbGlzLiBVdCBjdXJzdXMgYWxpcXVhbSBuZXF1ZSwgdmVsIHBvcnR0aXRvciB0ZWxsdXMgaW50ZXJkdW0gdXQuIFNlZCBwaGFyZXRyYSBsYWNpbmlhIGFkaXBpc2NpbmcuIEluIHRyaXN0aXF1ZSB0cmlzdGlxdWUgZmVsaXMgbm9uIHRpbmNpZHVudC4gTnVsbGEgYXVjdG9yIG1hdXJpcyBhIHZlbGl0IGN1cnN1cyB1bHRyaWNpZXMuIEluIGF0IGxpYmVyb
@steveyen
steveyen / bleve mapping
Created March 22, 2015 02:18
info for cbft issue 33, key too large
{
"types": {
"beer": {
"enabled": true,
"dynamic": true,
"properties": {
"abv": {
"enabled": true,
"dynamic": true,
"fields": [
@steveyen
steveyen / gist:31bcfa738abe7d6060c3
Created March 18, 2015 00:42
intrapop play mapping
{
"types": {
"beer": {
"enabled": true,
"dynamic": true,
"properties": {
"abv": {
"enabled": true,
"dynamic": true,
"fields": [
@steveyen
steveyen / gist:5ec1a1807edc0ed02a1a
Created March 18, 2015 00:35
get couchbaselabs/lcbook/iops.md
get couchbaselabs/lcbook/iops.md
VALUE couchbaselabs/lcbook/iops.md 1 22501
{"type":"github/text","repo":"couchbaselabs/lcbook","project":"lcbook","key":"couchbaselabs/lcbook/iops.md","url":"https://github.com/couchbaselabs/lcbook/blob/master/iops.md","ext":".md","title":"iops.md","contents":"<!-- vim: set noexpandtab: --!>\n## I/O Integration\n\nlibcouchbase is an asynchronous I/O client and can integrate with numerous\nexisting event frameworks. The library gives several levels of control over\nits I/O integration. You can\n\n* Use a predefined backend with normal synchronous operation\n* Use a predefined backend with asynchronous operation\n* Implement an adaptor between your custom I/O system and libcouchbase\n\n### Using a compiled I/O backend\n\n> ###### Availability of Backends\n> Note that the availability of a backend will depend on whether the supporting\n> library is available and installed on the current platform. Not all backends\n> are available for all platforms.\n\nYou may use a predefined eve
@steveyen
steveyen / gist:423bb059d07b16432c1b
Created March 18, 2015 00:33
get couchbaselabs/mini-hacks/xamarin/todo-sync/README.md
get couchbaselabs/mini-hacks/xamarin/todo-sync/README.md
VALUE couchbaselabs/mini-hacks/xamarin/todo-sync/README.md 1 11021
{"type":"github/text","repo":"couchbaselabs/mini-hacks","project":"mini-hacks","key":"couchbaselabs/mini-hacks/xamarin/todo-sync/README.md","url":"https://github.com/couchbaselabs/mini-hacks/blob/master/xamarin/todo-sync/README.md","ext":".md","title":"xamarin/todo-sync/README.md","contents":"TO-DO Task\n============\n\n### Goal\n\nBuild your first Couchbase Mobile app in just a few minutes! Take an existing Xamarin application and add data persistence!\n\n![Application Architecture](https://raw.githubusercontent.com/couchbaselabs/mini-hacks/master/kitchen-sync/topology.png \"Typical Couchbase Mobile Architecture\")\n\n### Setup\n\n - Clone this repo, or download the [.zip](https://github.com/couchbaselabs/mini-hacks/archive/master.zip).\n - Make sure you are on the latest Xamarin Studio.\n - Launch Xamarin Studio\n - Verify your environment is working by launching the sample Tasky app\n
@steveyen
steveyen / gist:a69a8491ae5f52ba337f
Created March 16, 2015 17:26
Notes from talking with James Mauss about cbft and tech-support "supportability"...
James: let me look at your logs...
Especially the logs from cbft during some failure situations.
For example, what happens when couchbase (that cbft's pointed at) goes down or restarts?
Or the couchbase cluster goes through a rebalance?
What do I see in cbft's logs?