This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -uAdministrator:password -XPOST -H "Content-Type: application/json" \ | |
http://172.23.99.64:8094/api/index/default_index/query \ | |
-d '{ | |
"indexName": "default_index", | |
"from": 0, | |
"fields": [], | |
"explain": false, | |
"ctl": { | |
"timeout": 60000, | |
"consistency": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"log" | |
"os" | |
"testing" | |
"github.com/RoaringBitmap/roaring" | |
mmap "github.com/edsrzf/mmap-go" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Scanning dependencies of target meck | |
==> meck (compile) | |
[ 95%] Built target meck | |
Scanning dependencies of target ns_server | |
==> ns_server (compile) | |
Compiled src/memcached_cfg.erl | |
Compiled src/replicated_storage.erl | |
Compiled src/json_settings_manager.erl | |
Compiled src/ns_log_categorizing.erl | |
Compiled src/couch_api_wrap_httpc.erl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 97%] Building Maven project 'asterixdb' | |
[INFO] Scanning for projects... | |
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/apache/18/apache-18.pom | |
[ERROR] [ERROR] Some problems were encountered while processing the POMs: | |
[FATAL] Non-resolvable parent POM for org.apache:apache-asterixdb-fullstack:0.9.2: Could not transfer artifact org.apache:apache:pom:18 from/to central (https://repo.maven.apache.org/maven2): Host is down and 'parent.relativePath' points at no local POM @ line 27, column 11 | |
@ | |
[ERROR] The build could not read 1 project -> [Help 1] | |
[ERROR] | |
[ERROR] The project org.apache:apache-asterixdb-fullstack:0.9.2 (/Users/mschoch/Documents/research/cbsource/analytics/asterixdb/pom.xml) has 1 error | |
[ERROR] Non-resolvable parent POM for org.apache:apache-asterixdb-fullstack:0.9.2: Could not transfer artifact org.apache:apache:pom:18 from/to central (https://repo.maven.apache.org/maven2): Host is down and 'parent.relativePath' points at no local POM @ line 27, column |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
memcached.log | |
2018-01-12T13:27:03.329413-08:00 NOTICE (default) DCP (Producer) eq_dcpq:fts:default_index_57d395775ff69c3a_18572d87-3f595237 - Disconnecting because a message has not been received for 360s. lastSendTime:41, lastReceiveTime:365, noopCtx {sendTime:108, opaque: 10000002, pendingRecv:true} | |
fts.log | |
2018-01-12T13:18:58.167-08:00 [INFO] cbdatasource: server: 127.0.0.1:11210, uprOpenName: fts:default_index_57d395775ff69c3a_18572d87-3f595237, worker, looping beg, vbucketStates empty | |
2018-01-12T13:18:58.167-08:00 [INFO] cbdatasource: server: 127.0.0.1:11210, uprOpenName: fts:default_index_57d395775ff69c3a_18572d87-3f595237, refreshWorker-prior, vbucketStates empty | |
2018-01-12T13:18:58.168-08:00 [INFO] cbdatasource: receiver tracing, server: 127.0.0.1:11210, name: fts:default_index_57d395775ff69c3a_18572d87-3f595237, capacity: 20 | |
2018-01-12T13:18:58.173-08:00 [INFO] cbdatasource: server: 127.0.0.1:11210, uprOpenName: fts:default_index_57d395775ff69c3a_18572d87-3f595237, refreshWorker-after, vbucketStat |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ beer-search git:(master) ✗ rm -rf beer-search.bleve | |
➜ beer-search git:(master) ✗ go build | |
➜ beer-search git:(master) ✗ ./beer-search | |
2018/01/03 10:14:37 GOMAXPROCS: 4 | |
2018/01/03 10:14:37 Creating new index... | |
2018/01/03 10:14:37 Listening on :8094 | |
2018/01/03 10:14:37 Indexing... | |
^\SIGQUIT: quit | |
PC=0x105b1bb m=0 sigcode=0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2017-12-13T23:26:36.337-05:00 [INFO] main: meh.OnFeedError, srcType: couchbase, err: sendStreamReq, err: unexpected end of JSON input | |
2017-12-13T23:26:36.337-05:00 [INFO] main: meh.OnFeedError, srcType: couchbase, err: pkt.Receive, err: read tcp 127.0.0.1:53082->127.0.0.1:12000: use of closed network connection | |
2017-12-13T23:26:37.264-05:00 [INFO] Using plain authentication for user @fts | |
2017-12-13T23:26:37.264-05:00 [INFO] Using plain authentication for user @fts | |
2017-12-13T23:26:37.265-05:00 [INFO] cbdatasource: server: 127.0.0.1:12000, uprOpenName: fts:beer-search_d56bca19a0a191c7_6ddbfb54-20fb8309, worker, looping beg, vbucketStates empty | |
2017-12-13T23:26:37.265-05:00 [INFO] cbdatasource: server: 127.0.0.1:12000, uprOpenName: fts:beer-search_d56bca19a0a191c7_6ddbfb54-20fb8309, refreshWorker-prior, vbucketStates empty | |
2017-12-13T23:26:37.265-05:00 [INFO] cbdatasource: receiver tracing, server: 127.0.0.1:12000, name: fts:beer-search_d56bca19a0a191c7_6ddbfb54-20fb8309, capacity: 20 | |
2017-12-13T23:26:37.265- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"log" | |
"os" | |
"github.com/blevesearch/bleve" | |
"github.com/blevesearch/bleve/index/scorch" | |
"github.com/blevesearch/bleve/search/highlight/highlighter/ansi" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"log" | |
"github.com/blevesearch/bleve" | |
_ "github.com/blevesearch/bleve/search/highlight/highlighter/ansi" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ /tmp echo 'name: Users | |
type: object | |
key: _id | |
properties: | |
_id: | |
type: string | |
description: The document id built by the prefix "user_" and the users id | |
data: | |
post_build: `user_${this.user_id}` | |
doc_type: |