Array
(
[request] => Array
(
[http_method] => POST
[scheme] => http
[uri] => /ads/_doc/_search?size=4&from=0
[body] => {"query":{"bool":{"must":{"multi_match":{"query":"\u0645\u0633\u0627\u0639\u062f\u0627\u062a \u0647\u064a\u062f\u0631\u0648\u0644\u064a\u0643 \u0644\u0633\u064a\u0627\u0631\u0627\u062a \u0627\u0644\u0627\u0644\u0645\u0627\u0646\u064a\u0629 \u0628\u0649 \u0627\u0645 \u0645\u0631\u0633\u064a\u062f\u0633 \u0627\u0648\u062f\u0649 \u0628\u0646\u062a\u0644\u0649","fields":["title","title.stemmed"]}},"must_not":[{"terms":{"_id":[""]}},{"term":{"adType":4}},{"term":{"adType":1}}]}}}
[headers] => Array
(
[Host] => Array
(
[0] => 172.31.46.223:9200
)
[Content-Type] => Array
(
[0] => application/json
)
[Accept] => Array
(
[0] => application/json
)
[User-Agent] => Array
(
[0] => elasticsearch-php/6.7.1 (Linux 4.14.252-131.483.amzn1.x86_64, PHP 7.2.34)
)
)
)
[response] => Array
(
[transfer_stats] => Array
(
[url] => http://172.31.46.223:9200/ads/_doc/_search?size=4&from=0
[content_type] => application/json; charset=UTF-8
[http_code] => 400
[header_size] => 97
[request_size] => 720
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.003661
[namelookup_time] => 2.4E-5
[connect_time] => 2.4E-5
[pretransfer_time] => 5.1E-5
[size_upload] => 479
[size_download] => 2968
[speed_download] => 989333
[speed_upload] => 159666
[download_content_length] => 2968
[upload_content_length] => 479
[starttransfer_time] => 0.003614
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 172.31.46.223
[certinfo] => Array
(
)
[primary_port] => 9200
[local_ip] => 172.31.37.24
[local_port] => 59032
[error] =>
[errno] => 0
)
[curl] => Array
(
[error] =>
[errno] => 0
)
[effective_url] => http://172.31.46.223:9200/ads/_doc/_search?size=4&from=0
[headers] => Array
(
[content-type] => Array
(
[0] => application/json; charset=UTF-8
)
[content-length] => Array
(
[0] => 2968
)
)
[version] => 1.1
[status] => 400
[reason] => Bad Request
[body] => {"error":{"root_cause":[{"type":"query_shard_exception","reason":"failed to create query: {\n \"bool\" : {\n \"must\" : [\n {\n \"multi_match\" : {\n \"query\" : \"مساعدات هيدروليك لسيارات الالمانية بى ام مرسيدس اودى بنتلى\",\n \"fields\" : [\n \"title^1.0\",\n \"title.stemmed^1.0\"\n ],\n \"type\" : \"best_fields\",\n \"operator\" : \"OR\",\n \"slop\" : 0,\n \"prefix_length\" : 0,\n \"max_expansions\" : 50,\n \"zero_terms_query\" : \"NONE\",\n \"auto_generate_synonyms_phrase_query\" : true,\n \"fuzzy_transpositions\" : true,\n \"boost\" : 1.0\n }\n }\n ],\n \"must_not\" : [\n {\n \"terms\" : {\n \"_id\" : [\n \"\"\n ],\n \"boost\" : 1.0\n }\n },\n {\n \"term\" : {\n \"adType\" : {\n \"value\" : 4,\n \"boost\" : 1.0\n }\n }\n },\n {\n \"term\" : {\n \"adType\" : {\n \"value\" : 1,\n \"boost\" : 1.0\n }\n }\n }\n ],\n \"adjust_pure_negative\" : true,\n \"boost\" : 1.0\n }\n}","index_uuid":"Wq9b_mvhTZicsSUxe4VuUQ","index":"ads"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"ads","node":"mRWb-PAvS9aX1YaoSsm2hg","reason":{"type":"query_shard_exception","reason":"failed to create query: {\n \"bool\" : {\n \"must\" : [\n {\n \"multi_match\" : {\n \"query\" : \"مساعدات هيدروليك لسيارات الالمانية بى ام مرسيدس اودى بنتلى\",\n \"fields\" : [\n \"title^1.0\",\n \"title.stemmed^1.0\"\n ],\n \"type\" : \"best_fields\",\n \"operator\" : \"OR\",\n \"slop\" : 0,\n \"prefix_length\" : 0,\n \"max_expansions\" : 50,\n \"zero_terms_query\" : \"NONE\",\n \"auto_generate_synonyms_phrase_query\" : true,\n \"fuzzy_transpositions\" : true,\n \"boost\" : 1.0\n }\n }\n ],\n \"must_not\" : [\n {\n \"terms\" : {\n \"_id\" : [\n \"\"\n ],\n \"boost\" : 1.0\n }\n },\n {\n \"term\" : {\n \"adType\" : {\n \"value\" : 4,\n \"boost\" : 1.0\n }\n }\n },\n {\n \"term\" : {\n \"adType\" : {\n \"value\" : 1,\n \"boost\" : 1.0\n }\n }\n }\n ],\n \"adjust_pure_negative\" : true,\n \"boost\" : 1.0\n }\n}","index_uuid":"Wq9b_mvhTZicsSUxe4VuUQ","index":"ads","caused_by":{"type":"illegal_argument_exception","reason":"Ids can't be empty"}}}]},"status":400}
[error] => Array
(
)
)
)
Array
(
[request] => Array
(
[http_method] => POST
[scheme] => http
[uri] => /ads/_doc/_search?size=4&from=0
[body] => {"query":{"bool":{"must":{"multi_match":{"query":"\u0645\u0633\u0627\u0639\u062f\u0627\u062a \u0647\u064a\u062f\u0631\u0648\u0644\u064a\u0643 \u0644\u0633\u064a\u0627\u0631\u0627\u062a \u0627\u0644\u0627\u0644\u0645\u0627\u0646\u064a\u0629 \u0628\u0649 \u0627\u0645 \u0645\u0631\u0633\u064a\u062f\u0633 \u0627\u0648\u062f\u0649 \u0628\u0646\u062a\u0644\u0649","fields":["title","title.stemmed","content","content.stemmed","tags"]}},"must_not":[{"terms":{"_id":[""]}},{"term":{"adType":4}},{"term":{"adType":1}}]}},"suggest":{"text":"\u0645\u0633\u0627\u0639\u062f\u0627\u062a \u0647\u064a\u062f\u0631\u0648\u0644\u064a\u0643 \u0644\u0633\u064a\u0627\u0631\u0627\u062a \u0627\u0644\u0627\u0644\u0645\u0627\u0646\u064a\u0629 \u0628\u0649 \u0627\u0645 \u0645\u0631\u0633\u064a\u062f\u0633 \u0627\u0648\u062f\u0649 \u0628\u0646\u062a\u0644\u0649","phr_sug":{"phrase":{"field":"title","analyzer":"simple","size":1,"max_errors":1.0,"gram_size":2,"direct_generator":[{"field":"tags","suggest_mode":"popular","min_word_length":1}]}}},"aggs":{"tags_agg":{"terms":{"field":"tags.raw","size":4}}}}
[headers] => Array
(
[Host] => Array
(
[0] => 172.31.46.223:9200
)
[Content-Type] => Array
(
[0] => application/json
)
[Accept] => Array
(
[0] => application/json
)
[User-Agent] => Array
(
[0] => elasticsearch-php/6.7.1 (Linux 4.14.252-131.483.amzn1.x86_64, PHP 7.2.34)
)
)
)
[response] => Array
(
[transfer_stats] => Array
(
[url] => http://172.31.46.223:9200/ads/_doc/_search?size=4&from=0
[content_type] => application/json; charset=UTF-8
[http_code] => 400
[header_size] => 97
[request_size] => 1328
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.01021
[namelookup_time] => 1.5E-5
[connect_time] => 1.5E-5
[pretransfer_time] => 3.7E-5
[size_upload] => 1086
[size_download] => 3158
[speed_download] => 315800
[speed_upload] => 108600
[download_content_length] => 3158
[upload_content_length] => 1086
[starttransfer_time] => 0.010154
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 172.31.46.223
[certinfo] => Array
(
)
[primary_port] => 9200
[local_ip] => 172.31.37.24
[local_port] => 59032
[error] =>
[errno] => 0
)
[curl] => Array
(
[error] =>
[errno] => 0
)
[effective_url] => http://172.31.46.223:9200/ads/_doc/_search?size=4&from=0
[headers] => Array
(
[content-type] => Array
(
[0] => application/json; charset=UTF-8
)
[content-length] => Array
(
[0] => 3158
)
)
[version] => 1.1
[status] => 400
[reason] => Bad Request
[body] => {"error":{"root_cause":[{"type":"query_shard_exception","reason":"failed to create query: {\n \"bool\" : {\n \"must\" : [\n {\n \"multi_match\" : {\n \"query\" : \"مساعدات هيدروليك لسيارات الالمانية بى ام مرسيدس اودى بنتلى\",\n \"fields\" : [\n \"content^1.0\",\n \"content.stemmed^1.0\",\n \"tags^1.0\",\n \"title^1.0\",\n \"title.stemmed^1.0\"\n ],\n \"type\" : \"best_fields\",\n \"operator\" : \"OR\",\n \"slop\" : 0,\n \"prefix_length\" : 0,\n \"max_expansions\" : 50,\n \"zero_terms_query\" : \"NONE\",\n \"auto_generate_synonyms_phrase_query\" : true,\n \"fuzzy_transpositions\" : true,\n \"boost\" : 1.0\n }\n }\n ],\n \"must_not\" : [\n {\n \"terms\" : {\n \"_id\" : [\n \"\"\n ],\n \"boost\" : 1.0\n }\n },\n {\n \"term\" : {\n \"adType\" : {\n \"value\" : 4,\n \"boost\" : 1.0\n }\n }\n },\n {\n \"term\" : {\n \"adType\" : {\n \"value\" : 1,\n \"boost\" : 1.0\n }\n }\n }\n ],\n \"adjust_pure_negative\" : true,\n \"boost\" : 1.0\n }\n}","index_uuid":"Wq9b_mvhTZicsSUxe4VuUQ","index":"ads"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"ads","node":"mRWb-PAvS9aX1YaoSsm2hg","reason":{"type":"query_shard_exception","reason":"failed to create query: {\n \"bool\" : {\n \"must\" : [\n {\n \"multi_match\" : {\n \"query\" : \"مساعدات هيدروليك لسيارات الالمانية بى ام مرسيدس اودى بنتلى\",\n \"fields\" : [\n \"content^1.0\",\n \"content.stemmed^1.0\",\n \"tags^1.0\",\n \"title^1.0\",\n \"title.stemmed^1.0\"\n ],\n \"type\" : \"best_fields\",\n \"operator\" : \"OR\",\n \"slop\" : 0,\n \"prefix_length\" : 0,\n \"max_expansions\" : 50,\n \"zero_terms_query\" : \"NONE\",\n \"auto_generate_synonyms_phrase_query\" : true,\n \"fuzzy_transpositions\" : true,\n \"boost\" : 1.0\n }\n }\n ],\n \"must_not\" : [\n {\n \"terms\" : {\n \"_id\" : [\n \"\"\n ],\n \"boost\" : 1.0\n }\n },\n {\n \"term\" : {\n \"adType\" : {\n \"value\" : 4,\n \"boost\" : 1.0\n }\n }\n },\n {\n \"term\" : {\n \"adType\" : {\n \"value\" : 1,\n \"boost\" : 1.0\n }\n }\n }\n ],\n \"adjust_pure_negative\" : true,\n \"boost\" : 1.0\n }\n}","index_uuid":"Wq9b_mvhTZicsSUxe4VuUQ","index":"ads","caused_by":{"type":"illegal_argument_exception","reason":"Ids can't be empty"}}}]},"status":400}
[error] => Array
(
)
)
)