Details
-
Bug
-
Resolution: Fixed
-
Critical
-
Cheshire-Cat
-
Untriaged
-
Centos 64-bit
-
1
-
Yes
Description
Build: 7.0.0-4617
Cluster config: 1 node with kv, fts, n1ql, index services
Having the following index:
{
|
"name": "default_index", |
"type": "fulltext-index", |
"params": { |
"doc_config": { |
"docid_prefix_delim": "", |
"docid_regexp": "", |
"mode": "type_field", |
"type_field": "type" |
},
|
"mapping": { |
"default_analyzer": "standard", |
"default_datetime_parser": "dateTimeOptional", |
"default_field": "_all", |
"default_mapping": { |
"dynamic": false, |
"enabled": true, |
"properties": { |
"name": { |
"enabled": true, |
"dynamic": false, |
"fields": [ |
{
|
"include_in_all": true, |
"include_term_vectors": true, |
"index": true, |
"name": "fullname", |
"store": true, |
"type": "text" |
}
|
]
|
}
|
}
|
},
|
"default_type": "_default", |
"docvalues_dynamic": true, |
"index_dynamic": true, |
"store_dynamic": false, |
"type_field": "_type" |
},
|
"store": { |
"indexType": "scorch", |
"mossStoreOptions": {}, |
"segmentVersion": 15 |
}
|
},
|
"sourceType": "gocbcore", |
"sourceName": "default", |
"sourceUUID": "0d2067017db8c1d34b0ad6644275629a", |
"sourceParams": {}, |
"planParams": { |
"maxPartitionsPerPIndex": 1024, |
"numReplicas": 0, |
"indexPartitions": 1 |
},
|
"uuid": "4752523419488579" |
}
|
and 1000 docs like:
{
|
"emp_id": "10000001", |
"name": "Kory Palmer", |
"dept": "Engineering", |
"email": "kory@mcdiabetes.com", |
"salary": 75891.68, |
"join_date": "2015-08-13T09:30:00", |
"languages_known": [ |
"Quechua", |
"Portuguese", |
"Africans" |
],
|
"is_manager": true, |
"mutated": 0, |
"type": "emp", |
"manages": { |
"team_size": 6, |
"reports": [ |
"Hedda Wright", |
"Callia Robinson Sr.", |
"Trista Baker III", |
"Joby Allen", |
"Basha Foster", |
"Salina Allen" |
]
|
}
|
}
|
I'm trying to run the following query:
curl -XPOST -H "Content-Type: application/json" -u <username>:<password> http://<your_ip>:8094/api/index/default_index/query -d '{"indexName": "default_index", "size": 10000000, "from": 0, "explain": false, "query": {"match": "Safiya", "field": "fullname"}, "fields": [], "ctl": {"consistency": {"level": "at_plus", "vectors": {"default_index": {"0": 13}}}, "timeout": 60000}}' |
Getting the following error:
2021-03-09 15:10:11 | ERROR | MainProcess | test_thread | [rest_client._http_request] socket error while connecting to http://192.168.10.10:8094/api/index/default_index/query error Remote end closed connection without response |
Logs are attached
Attachments
Issue Links
- relates to
-
MB-44886 [System Test][ERRO] grpc_client: search err: rpc error: code = Unavailable
- Closed
For Gerrit Dashboard: MB-44843 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
148314,2 | MB-44843: Adding new logs while setting/re-using DCPAgent | master | cbgt | Status: MERGED | +2 | +1 |
148346,4 | MB-44843: gocbcore_utils to cache a DCPAgent alongside Agent per bucket | master | cbgt | Status: MERGED | +2 | +1 |