I exucute :
ConjunctionQuery fts = SearchQuery.conjuncts(SearchQuery.queryString(source));
SearchQuery query =new SearchQuery("“index”, fts);
bucket.query(query)
—> source replaced special character follow list “±=&|><!(){}^”~*?:\/%.";
But sometime it throws
Service ‘fts’ exited with status 2. Restarting. Messages:
> /home/couchbase/jenkins/workspace/couchbase-server-unix/godeps/src/github.com/blevesearch/bleve/search/collector/topn.go:213 +0x35a
> github. com/blevesearch/bleve.(*indexImpl).SearchInContext(0xc0003a4b60, 0x1070c20, 0xc000f04450, 0xc0018f8b00, 0x0, 0x0, 0x0)
> /home/couchbase/jenkins/workspace/couchbase-server-unix/godeps/src/github.com/blevesearch/bleve/index_impl.go:532 +0xe0a
> github. com/couchbase/cbft.(*cacheBleveIndex).SearchInContext(0xc000f04390, 0x1070c20, 0xc000f04450, 0xc0018f8b00, 0xc0010e7988, 0xc000222fc8, 0x79c015)
> /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/cbft/cache_bleve.go:110 +0x37f
> github. com/blevesearch/bleve.MultiSearch.func1(0x107b1e0, 0xc000f04390, 0xc0018f8b00)
> /home/couchbase/jenkins/workspace/couchbase-server-unix/godeps/src/github.com/blevesearch/bleve/index_alias_impl.go:469 +0xf2
> created by github. com/blevesearch/bleve.MultiSearch
> /home/couchbase/jenkins/workspace/couchbase-server-unix/godeps/src/github.com/blevesearch/bleve/index_alias_impl.go:476 +0x1e0
And my application throws
from com.couchbase.client.core.endpoint.Endpoint in cb-io-1-2 - [xxx: 8094][SearchEndpoint]: Got notified from Channel as inactive, attempting reconnect.
although i try curl -u Administrator:123456 xxx: 8094/ api /index/tmSegmentIndex/count
and it return status ok…
I dont know why channel inactive and how to reconnect also how to avoid bleve search index error -> restart fts services.