Skip to content

Instantly share code, notes, and snippets.

@hsbt
Created September 11, 2018 14:20
Show Gist options
  • Save hsbt/9baee837f11a94f31cdae7b49b85da43 to your computer and use it in GitHub Desktop.
Save hsbt/9baee837f11a94f31cdae7b49b85da43 to your computer and use it in GitHub Desktop.
2018-09-11T14:19:35.609319+00:00 app[web.1]: 2018-09-11 14:19:35 +0000: GET https://elastic:********@0216cdaaa143faa570ffffd1483af995.us-east-1.aws.found.io:9243/redmineapp_production/_doc,_doc,_doc,_doc,_doc,_doc,_doc/_search [status:400, request:0.030s, query:N/A]
2018-09-11T14:19:35.610355+00:00 app[web.1]: 2018-09-11 14:19:35 +0000: > {"size":10,"from":0,"query":{"bool":{"must":[{"query_string":{"query":"ruby-mode.el","default_operator":"AND","fields":["title","description","journals.notes","custom_field_values"],"use_dis_max":true}},{"terms":{"_type":["issue","news","document","changeset","wiki_page","message","project"]}}],"must_not":[{"has_parent":{"parent_type":"parent_project","query":{"term":{"status_id":{"value":9}}}}}],"should":[{"bool":{"must":[{"has_parent":{"parent_type":"parent_project","query":{"term":{"enabled_module_names.keyword":{"value":"issue_tracking"}}}}},{"term":{"_type":"issue"}}]}},{"bool":{"must":[{"has_parent":{"parent_type":"parent_project","query":{"term":{"enabled_module_names.keyword":{"value":"news"}}}}},{"term":{"_type":"news"}}]}},{"bool":{"must":[{"has_parent":{"parent_type":"parent_project","query":{"term":{"enabled_module_names.keyword":{"value":"documents"}}}}},{"term":{"_type":"document"}}]}},{"bool":{"must":[{"has_parent":{"parent_type":"parent_project","query":{"term":{"enabled_module_names.keyword":{"value":"repository"}}}}},{"term":{"_type":"changeset"}}]}},{"bool":{"must":[{"has_parent":{"parent_type":"parent_project","query":{"term":{"enabled_module_names.keyword":{"value":"wiki"}}}}},{"term":{"_type":"wiki_page"}}]}},{"bool":{"must":[{"has_parent":{"parent_type":"parent_project","query":{"term":{"enabled_module_names.keyword":{"value":"boards"}}}}},{"term":{"_type":"message"}}]}},{"bool":{"must":[{"term":{"_type":"project"}}]}}],"minimum_should_match":1}},"sort":[{"datetime":{"order":"desc"}},"_score"],"aggs":{"event_types":{"terms":{"field":"type"}}}}
2018-09-11T14:19:35.610386+00:00 app[web.1]: 2018-09-11 14:19:35 +0000: < {"error":{"root_cause":[{"type":"query_shard_exception","reason":"[has_parent] no join field has been configured","index_uuid":"igmL6l2pQa2FqUL5wT0ZCQ","index":"redmineapp_production"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"redmineapp_production","node":"0yBn4y_RSeu1oYrHIFxxew","reason":{"type":"query_shard_exception","reason":"[has_parent] no join field has been configured","index_uuid":"igmL6l2pQa2FqUL5wT0ZCQ","index":"redmineapp_production"}}]},"status":400}
2018-09-11T14:19:35.610437+00:00 app[web.1]: 2018-09-11 14:19:35 +0000: [400] {"error":{"root_cause":[{"type":"query_shard_exception","reason":"[has_parent] no join field has been configured","index_uuid":"igmL6l2pQa2FqUL5wT0ZCQ","index":"redmineapp_production"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"redmineapp_production","node":"0yBn4y_RSeu1oYrHIFxxew","reason":{"type":"query_shard_exception","reason":"[has_parent] no join field has been configured","index_uuid":"igmL6l2pQa2FqUL5wT0ZCQ","index":"redmineapp_production"}}]},"status":400}
2018-09-11T14:19:35.610563+00:00 app[web.1]: [400] {"error":{"root_cause":[{"type":"query_shard_exception","reason":"[has_parent] no join field has been configured","index_uuid":"igmL6l2pQa2FqUL5wT0ZCQ","index":"redmineapp_production"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"redmineapp_production","node":"0yBn4y_RSeu1oYrHIFxxew","reason":{"type":"query_shard_exception","reason":"[has_parent] no join field has been configured","index_uuid":"igmL6l2pQa2FqUL5wT0ZCQ","index":"redmineapp_production"}}]},"status":400}
2018-09-11T14:19:35.615679+00:00 app[web.1]: Rendered common/error.html.erb within layouts/base (0.3ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment