Service 'fts' exited with status 2. Restarting. Help me!

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.

I also use

DefaultCouchbaseEnvironment.builder().connectTimeout(10000).reconnectDelay(Delay.fixed(30, TimeUnit.SECONDS))
.build();
but i just auto reconnect application when i stop and start couchbase. if i dont stop and start couchbase. it just log

[INFO] from com.couchbase.client.core.endpoint.Endpoint in cb-io-1-3 - [/xxx:8094][SearchEndpoint]: Got notified from Channel as inactive, attempting reconnect.

My couchbase version is 6.5.0 EE, com.couchbase.client java is 2.7.9

hi @Hoang_Nam,

As you have an EE version , please go ahead and raise a CBSE ticket with the cbcollect details.
We will take it from there.

I didn’t fully understand your query or source parameter explanation.
fts shouldn’t crash in any case.

Thanks,

Mate, how was it fixed? I’m facing the same issue now. Any help is much appreciated.