Skip to content

Instantly share code, notes, and snippets.

@akhilesh26
Created December 12, 2017 08:35
Show Gist options
  • Save akhilesh26/ec9b001dca81c4dec848d70a30611a8b to your computer and use it in GitHub Desktop.
Save akhilesh26/ec9b001dca81c4dec848d70a30611a8b to your computer and use it in GitHub Desktop.
GET /search/reindex - - ms - -
[Tue Dec 12 2017 13:10:47 GMT+0530 (IST)] ERROR { [index_not_found_exception] no such index, with { index_uuid="-CCRY0p7TpSg1G2KoWkg_A" & index="bookbrainz" } :: {"path":"/bookbrainz","query":{},"statusCode":404,"response":"{\"error\":{\"root_cause\":[{\"type\":\"index_not_found_exception\",\"reason\":\"no such index\",\"index_uuid\":\"-CCRY0p7TpSg1G2KoWkg_A\",\"index\":\"bookbrainz\"}],\"type\":\"index_not_found_exception\",\"reason\":\"no such index\",\"index_uuid\":\"-CCRY0p7TpSg1G2KoWkg_A\",\"index\":\"bookbrainz\"},\"status\":404}"}
at respond (/home/mastcoder/metabrainz/bookbrainz-site/node_modules/elasticsearch/src/lib/transport.js:289:15)
at checkRespForFailure (/home/mastcoder/metabrainz/bookbrainz-site/node_modules/elasticsearch/src/lib/transport.js:248:7)
at HttpConnector.<anonymous> (/home/mastcoder/metabrainz/bookbrainz-site/node_modules/elasticsearch/src/lib/connectors/http.js:164:7)
at IncomingMessage.wrapper (/home/mastcoder/metabrainz/bookbrainz-site/node_modules/lodash/lodash.js:4968:19)
at emitNone (events.js:120:20)
at IncomingMessage.emit (events.js:218:7)
at endReadableNT (_stream_readable.js:1054:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
From previous event:
at Transport.defer (/home/mastcoder/metabrainz/bookbrainz-site/lib/server/helpers/search.js:138:21)
at Transport.request (/home/mastcoder/metabrainz/bookbrainz-site/node_modules/elasticsearch/src/lib/transport.js:158:18)
at exec (/home/mastcoder/metabrainz/bookbrainz-site/node_modules/elasticsearch/src/lib/client_action.js:351:20)
at ClientNamespace.action [as delete] (/home/mastcoder/metabrainz/bookbrainz-site/node_modules/elasticsearch/src/lib/client_action.js:61:16)
at Object.<anonymous> (/home/mastcoder/metabrainz/bookbrainz-site/lib/server/helpers/search.js:81:32)
at Generator.next (<anonymous>)
at step (/home/mastcoder/metabrainz/bookbrainz-site/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
at /home/mastcoder/metabrainz/bookbrainz-site/node_modules/babel-runtime/helpers/asyncToGenerator.js:28:13
at <anonymous>
status: 404,
displayName: 'NotFound',
message: '[index_not_found_exception] no such index, with { index_uuid="-CCRY0p7TpSg1G2KoWkg_A" & index="bookbrainz" }',
path: '/bookbrainz',
query: {},
body:
{ error:
{ root_cause: [Array],
type: 'index_not_found_exception',
reason: 'no such index',
index_uuid: '-CCRY0p7TpSg1G2KoWkg_A',
index: 'bookbrainz' },
status: 404 },
statusCode: 404,
response: '{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index","index_uuid":"-CCRY0p7TpSg1G2KoWkg_A","index":"bookbrainz"}],"type":"index_not_found_exception","reason":"no such index","index_uuid":"-CCRY0p7TpSg1G2KoWkg_A","index":"bookbrainz"},"status":404}',
toString: [Function],
toJSON: [Function] }
[Tue Dec 12 2017 13:10:57 GMT+0530 (IST)] ERROR { [index_already_exists_exception] index [bookbrainz/o2whI_QoS2qMO2FQCLQYGg] already exists, with { index_uuid="o2whI_QoS2qMO2FQCLQYGg" & index="bookbrainz" } :: {"path":"/bookbrainz","query":{},"body":"{\"mappings\":{\"_default_\":{\"properties\":{\"defaultAlias\":{\"properties\":{\"name\":{\"fields\":{\"autocomplete\":{\"analyzer\":\"edge\",\"type\":\"text\"},\"search\":{\"analyzer\":\"trigrams\",\"type\":\"text\"}},\"type\":\"text\"}},\"type\":\"object\"}}}},\"settings\":{\"analysis\":{\"analyzer\":{\"edge\":{\"filter\":[\"asciifolding\",\"lowercase\",\"edge_filter\"],\"tokenizer\":\"standard\",\"type\":\"custom\"},\"trigrams\":{\"filter\":[\"asciifolding\",\"lowercase\"],\"tokenizer\":\"trigrams\",\"type\":\"custom\"}},\"filter\":{\"edge_filter\":{\"max_gram\":20,\"min_gram\":1,\"type\":\"edge_ngram\"}},\"tokenizer\":{\"trigrams\":{\"max_gram\":3,\"min_gram\":1,\"type\":\"ngram\"}}}}}","statusCode":400,"response":"{\"error\":{\"root_cause\":[{\"type\":\"index_already_exists_exception\",\"reason\":\"index [bookbrainz/o2whI_QoS2qMO2FQCLQYGg] already exists\",\"index_uuid\":\"o2whI_QoS2qMO2FQCLQYGg\",\"index\":\"bookbrainz\"}],\"type\":\"index_already_exists_exception\",\"reason\":\"index [bookbrainz/o2whI_QoS2qMO2FQCLQYGg] already exists\",\"index_uuid\":\"o2whI_QoS2qMO2FQCLQYGg\",\"index\":\"bookbrainz\"},\"status\":400}"}
at respond (/home/mastcoder/metabrainz/bookbrainz-site/node_modules/elasticsearch/src/lib/transport.js:289:15)
at checkRespForFailure (/home/mastcoder/metabrainz/bookbrainz-site/node_modules/elasticsearch/src/lib/transport.js:248:7)
at HttpConnector.<anonymous> (/home/mastcoder/metabrainz/bookbrainz-site/node_modules/elasticsearch/src/lib/connectors/http.js:164:7)
at IncomingMessage.wrapper (/home/mastcoder/metabrainz/bookbrainz-site/node_modules/lodash/lodash.js:4968:19)
at emitNone (events.js:120:20)
at IncomingMessage.emit (events.js:218:7)
at endReadableNT (_stream_readable.js:1054:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
From previous event:
at Transport.defer (/home/mastcoder/metabrainz/bookbrainz-site/lib/server/helpers/search.js:138:21)
at Transport.request (/home/mastcoder/metabrainz/bookbrainz-site/node_modules/elasticsearch/src/lib/transport.js:158:18)
at exec (/home/mastcoder/metabrainz/bookbrainz-site/node_modules/elasticsearch/src/lib/client_action.js:351:20)
at ClientNamespace.action [as create] (/home/mastcoder/metabrainz/bookbrainz-site/node_modules/elasticsearch/src/lib/client_action.js:61:16)
at Object.<anonymous> (/home/mastcoder/metabrainz/bookbrainz-site/lib/server/helpers/search.js:84:25)
at Generator.next (<anonymous>)
at step (/home/mastcoder/metabrainz/bookbrainz-site/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
at /home/mastcoder/metabrainz/bookbrainz-site/node_modules/babel-runtime/helpers/asyncToGenerator.js:28:13
at <anonymous>
status: 400,
displayName: 'BadRequest',
message: '[index_already_exists_exception] index [bookbrainz/o2whI_QoS2qMO2FQCLQYGg] already exists, with { index_uuid="o2whI_QoS2qMO2FQCLQYGg" & index="bookbrainz" }',
path: '/bookbrainz',
query: {},
body:
{ error:
{ root_cause: [Array],
type: 'index_already_exists_exception',
reason: 'index [bookbrainz/o2whI_QoS2qMO2FQCLQYGg] already exists',
index_uuid: 'o2whI_QoS2qMO2FQCLQYGg',
index: 'bookbrainz' },
status: 400 },
statusCode: 400,
response: '{"error":{"root_cause":[{"type":"index_already_exists_exception","reason":"index [bookbrainz/o2whI_QoS2qMO2FQCLQYGg] already exists","index_uuid":"o2whI_QoS2qMO2FQCLQYGg","index":"bookbrainz"}],"type":"index_already_exists_exception","reason":"index [bookbrainz/o2whI_QoS2qMO2FQCLQYGg] already exists","index_uuid":"o2whI_QoS2qMO2FQCLQYGg","index":"bookbrainz"},"status":400}',
toString: [Function],
toJSON: [Function] }
GET /search/reindex 500 17326.981 ms - 39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment