URL: http://127.0.0.1:9200/likecs_art_db/_search
REQUEST:
Array
(
    [query] => Array
        (
            [match] => Array
                (
                    [text] => Array
                        (
                            [query] => panic: time: missing Location in call to Time.In
                        )

                )

        )

    [highlight] => Array
        (
            [fields] => Array
                (
                    [text] => stdClass Object
                        (
                        )

                )

            [pre_tags] => #em#
            [post_tags] => #/em#
        )

    [size] => 8
    [from] => 0
)
RESPONSE:
string(7619) "{"took":9,"timed_out":false,"_shards":{"total":1,"successful":1,"skipped":0,"failed":0},"hits":{"total":{"value":7589,"relation":"eq"},"max_score":82.09715,"hits":[{"_index":"likecs_art_db","_type":"_doc","_id":"65661","_score":82.09715,"_source":{"id":"65661","text":"panic: time: missing Location in call to Time.In","intro":"\u76ee\u5f55\n\nECharts\n\u5f02\u6b65\u52a0\u8f7d\n\n\n\nECharts\r\n\u6570\u636e\u53ef\u89c6\u5316\u5728\u8fc7\u53bb\u51e0\u5e74\u4e2d\u53d6\u5f97\u4e86\u5de8\u5927\u8fdb\u5c55\u3002\u5f00\u53d1\u4eba\u5458\u5bf9\u53ef\u89c6\u5316\u4ea7\u54c1\u7684\u671f\u671b\u4e0d\u518d\u662f\u7b80\u5355\u7684\u56fe\u8868\u521b\u5efa\u5de5\u5177\uff0c\u800c\u662f\u5728\u4ea4\u4e92\u3001\u6027\u80fd\u3001\u6570\u636e\u5904\u7406\u7b49\u65b9\u9762\u6709\u66f4\u9ad8\u7684\u8981\u6c42\u3002\r\nchart.setOption({\r\n    color: [\r\n        ","username":"siaslfslovewp","tagsname":"","tagsid":"[]","catesname":"Docker\u6742\u8c08","catesid":"[8104]","createtime":"1563630999"},"highlight":{"text":["#em#panic#/em#: #em#time#/em#: #em#missing#/em# #em#Location#/em# #em#in#/em# #em#call#/em# #em#to#/em# #em#Time.In#/em#"]}},{"_index":"likecs_art_db","_type":"_doc","_id":"815316","_score":28.589722,"_source":{"id":"815316","text":"SAP MM Storage Location Missing in MD04 Result?","intro":"\u76ee\u5f55\n\nECharts\n\u5f02\u6b65\u52a0\u8f7d\n\n\n\nECharts\r\n\u6570\u636e\u53ef\u89c6\u5316\u5728\u8fc7\u53bb\u51e0\u5e74\u4e2d\u53d6\u5f97\u4e86\u5de8\u5927\u8fdb\u5c55\u3002\u5f00\u53d1\u4eba\u5458\u5bf9\u53ef\u89c6\u5316\u4ea7\u54c1\u7684\u671f\u671b\u4e0d\u518d\u662f\u7b80\u5355\u7684\u56fe\u8868\u521b\u5efa\u5de5\u5177\uff0c\u800c\u662f\u5728\u4ea4\u4e92\u3001\u6027\u80fd\u3001\u6570\u636e\u5904\u7406\u7b49\u65b9\u9762\u6709\u66f4\u9ad8\u7684\u8981\u6c42\u3002\r\nchart.setOption({\r\n    color: [\r\n        ","username":"DicksonJYL","tagsname":null,"tagsid":"","catesname":null,"catesid":"","createtime":"1637235448"},"highlight":{"text":["SAP MM Storage #em#Location#/em# #em#Missing#/em# #em#in#/em# MD04 Result?"]}},{"_index":"likecs_art_db","_type":"_doc","_id":"203359836","_score":22.473469,"_source":{"id":"203359836","text":"PANIC: Missing emulator engine program for 'x86' CPU.","intro":"\u76ee\u5f55\n\nECharts\n\u5f02\u6b65\u52a0\u8f7d\n\n\n\nECharts\r\n\u6570\u636e\u53ef\u89c6\u5316\u5728\u8fc7\u53bb\u51e0\u5e74\u4e2d\u53d6\u5f97\u4e86\u5de8\u5927\u8fdb\u5c55\u3002\u5f00\u53d1\u4eba\u5458\u5bf9\u53ef\u89c6\u5316\u4ea7\u54c1\u7684\u671f\u671b\u4e0d\u518d\u662f\u7b80\u5355\u7684\u56fe\u8868\u521b\u5efa\u5de5\u5177\uff0c\u800c\u662f\u5728\u4ea4\u4e92\u3001\u6027\u80fd\u3001\u6570\u636e\u5904\u7406\u7b49\u65b9\u9762\u6709\u66f4\u9ad8\u7684\u8981\u6c42\u3002\r\nchart.setOption({\r\n    color: [\r\n        ","username":"","tagsname":null,"tagsid":"","catesname":null,"catesid":"","createtime":"1626933112"},"highlight":{"text":["#em#PANIC#/em#: #em#Missing#/em# emulator engine program for 'x86' CPU."]}},{"_index":"likecs_art_db","_type":"_doc","_id":"203487394","_score":22.178228,"_source":{"id":"203487394","text":"\u89e3\u51b3Fatal error: Call to undefined function dede_htmlspecialchars() in","intro":"\u76ee\u5f55\n\nECharts\n\u5f02\u6b65\u52a0\u8f7d\n\n\n\nECharts\r\n\u6570\u636e\u53ef\u89c6\u5316\u5728\u8fc7\u53bb\u51e0\u5e74\u4e2d\u53d6\u5f97\u4e86\u5de8\u5927\u8fdb\u5c55\u3002\u5f00\u53d1\u4eba\u5458\u5bf9\u53ef\u89c6\u5316\u4ea7\u54c1\u7684\u671f\u671b\u4e0d\u518d\u662f\u7b80\u5355\u7684\u56fe\u8868\u521b\u5efa\u5de5\u5177\uff0c\u800c\u662f\u5728\u4ea4\u4e92\u3001\u6027\u80fd\u3001\u6570\u636e\u5904\u7406\u7b49\u65b9\u9762\u6709\u66f4\u9ad8\u7684\u8981\u6c42\u3002\r\nchart.setOption({\r\n    color: [\r\n        ","username":"","tagsname":null,"tagsid":"","catesname":null,"catesid":"","createtime":"1640599591"},"highlight":{"text":["解决Fatal error: #em#Call#/em# #em#to#/em# undefined function dede_htmlspecialchars() #em#in#/em#"]}},{"_index":"likecs_art_db","_type":"_doc","_id":"295639","_score":21.570545,"_source":{"id":"295639","text":"unknown error: call function result missing \\'value\\'","intro":"\u76ee\u5f55\n\nECharts\n\u5f02\u6b65\u52a0\u8f7d\n\n\n\nECharts\r\n\u6570\u636e\u53ef\u89c6\u5316\u5728\u8fc7\u53bb\u51e0\u5e74\u4e2d\u53d6\u5f97\u4e86\u5de8\u5927\u8fdb\u5c55\u3002\u5f00\u53d1\u4eba\u5458\u5bf9\u53ef\u89c6\u5316\u4ea7\u54c1\u7684\u671f\u671b\u4e0d\u518d\u662f\u7b80\u5355\u7684\u56fe\u8868\u521b\u5efa\u5de5\u5177\uff0c\u800c\u662f\u5728\u4ea4\u4e92\u3001\u6027\u80fd\u3001\u6570\u636e\u5904\u7406\u7b49\u65b9\u9762\u6709\u66f4\u9ad8\u7684\u8981\u6c42\u3002\r\nchart.setOption({\r\n    color: [\r\n        ","username":"sgwjj","tagsname":null,"tagsid":"","catesname":"","catesid":"","createtime":"1631068830"},"highlight":{"text":["unknown error: #em#call#/em# function result #em#missing#/em# \\'value\\'"]}},{"_index":"likecs_art_db","_type":"_doc","_id":"203487418","_score":21.414177,"_source":{"id":"203487418","text":"Fatal error: Uncaught Error: Call to undefined function mysqli_connect() in XXX","intro":"\u76ee\u5f55\n\nECharts\n\u5f02\u6b65\u52a0\u8f7d\n\n\n\nECharts\r\n\u6570\u636e\u53ef\u89c6\u5316\u5728\u8fc7\u53bb\u51e0\u5e74\u4e2d\u53d6\u5f97\u4e86\u5de8\u5927\u8fdb\u5c55\u3002\u5f00\u53d1\u4eba\u5458\u5bf9\u53ef\u89c6\u5316\u4ea7\u54c1\u7684\u671f\u671b\u4e0d\u518d\u662f\u7b80\u5355\u7684\u56fe\u8868\u521b\u5efa\u5de5\u5177\uff0c\u800c\u662f\u5728\u4ea4\u4e92\u3001\u6027\u80fd\u3001\u6570\u636e\u5904\u7406\u7b49\u65b9\u9762\u6709\u66f4\u9ad8\u7684\u8981\u6c42\u3002\r\nchart.setOption({\r\n    color: [\r\n        ","username":"","tagsname":null,"tagsid":"","catesname":null,"catesid":"","createtime":"1618356418"},"highlight":{"text":["Fatal error: Uncaught Error: #em#Call#/em# #em#to#/em# undefined function mysqli_connect() #em#in#/em# XXX"]}},{"_index":"likecs_art_db","_type":"_doc","_id":"203273543","_score":20.701017,"_source":{"id":"203273543","text":"thinkphp\u51fa\u73b0Call to undefined function Think\\C() in ... online 313","intro":"\u76ee\u5f55\n\nECharts\n\u5f02\u6b65\u52a0\u8f7d\n\n\n\nECharts\r\n\u6570\u636e\u53ef\u89c6\u5316\u5728\u8fc7\u53bb\u51e0\u5e74\u4e2d\u53d6\u5f97\u4e86\u5de8\u5927\u8fdb\u5c55\u3002\u5f00\u53d1\u4eba\u5458\u5bf9\u53ef\u89c6\u5316\u4ea7\u54c1\u7684\u671f\u671b\u4e0d\u518d\u662f\u7b80\u5355\u7684\u56fe\u8868\u521b\u5efa\u5de5\u5177\uff0c\u800c\u662f\u5728\u4ea4\u4e92\u3001\u6027\u80fd\u3001\u6570\u636e\u5904\u7406\u7b49\u65b9\u9762\u6709\u66f4\u9ad8\u7684\u8981\u6c42\u3002\r\nchart.setOption({\r\n    color: [\r\n        ","username":"","tagsname":null,"tagsid":"","catesname":null,"catesid":"","createtime":"1642249444"},"highlight":{"text":["thinkphp出现#em#Call#/em# #em#to#/em# undefined function Think\\C() #em#in#/em# ... online 313"]}},{"_index":"likecs_art_db","_type":"_doc","_id":"203295449","_score":19.188005,"_source":{"id":"203295449","text":"kernel panic - not syncing\uff1aAttempt to kill init\uff01","intro":"\u76ee\u5f55\n\nECharts\n\u5f02\u6b65\u52a0\u8f7d\n\n\n\nECharts\r\n\u6570\u636e\u53ef\u89c6\u5316\u5728\u8fc7\u53bb\u51e0\u5e74\u4e2d\u53d6\u5f97\u4e86\u5de8\u5927\u8fdb\u5c55\u3002\u5f00\u53d1\u4eba\u5458\u5bf9\u53ef\u89c6\u5316\u4ea7\u54c1\u7684\u671f\u671b\u4e0d\u518d\u662f\u7b80\u5355\u7684\u56fe\u8868\u521b\u5efa\u5de5\u5177\uff0c\u800c\u662f\u5728\u4ea4\u4e92\u3001\u6027\u80fd\u3001\u6570\u636e\u5904\u7406\u7b49\u65b9\u9762\u6709\u66f4\u9ad8\u7684\u8981\u6c42\u3002\r\nchart.setOption({\r\n    color: [\r\n        ","username":"","tagsname":null,"tagsid":"","catesname":null,"catesid":"","createtime":"1627910116"},"highlight":{"text":["kernel #em#panic#/em# - not syncing:Attempt #em#to#/em# kill init!"]}}]}}"
URL: http://127.0.0.1:9200/likecs_art_db/_search
REQUEST:
Array
(
    [query] => Array
        (
            [match] => Array
                (
                    [text] => Array
                        (
                            [query] => panic: time: missing Location in call to Time.In
                        )

                )

        )

    [highlight] => Array
        (
            [fields] => Array
                (
                    [text] => stdClass Object
                        (
                        )

                )

            [pre_tags] => #em#
            [post_tags] => #/em#
        )

    [size] => 8
    [from] => 8
)
RESPONSE:
string(7683) "{"took":8,"timed_out":false,"_shards":{"total":1,"successful":1,"skipped":0,"failed":0},"hits":{"total":{"value":7589,"relation":"eq"},"max_score":82.09715,"hits":[{"_index":"likecs_art_db","_type":"_doc","_id":"203347604","_score":18.609951,"_source":{"id":"203347604","text":"Springboot Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory","intro":"\u76ee\u5f55\n\nECharts\n\u5f02\u6b65\u52a0\u8f7d\n\n\n\nECharts\r\n\u6570\u636e\u53ef\u89c6\u5316\u5728\u8fc7\u53bb\u51e0\u5e74\u4e2d\u53d6\u5f97\u4e86\u5de8\u5927\u8fdb\u5c55\u3002\u5f00\u53d1\u4eba\u5458\u5bf9\u53ef\u89c6\u5316\u4ea7\u54c1\u7684\u671f\u671b\u4e0d\u518d\u662f\u7b80\u5355\u7684\u56fe\u8868\u521b\u5efa\u5de5\u5177\uff0c\u800c\u662f\u5728\u4ea4\u4e92\u3001\u6027\u80fd\u3001\u6570\u636e\u5904\u7406\u7b49\u65b9\u9762\u6709\u66f4\u9ad8\u7684\u8981\u6c42\u3002\r\nchart.setOption({\r\n    color: [\r\n        ","username":"","tagsname":null,"tagsid":"","catesname":null,"catesid":"","createtime":"1627371110"},"highlight":{"text":["Springboot Unable #em#to#/em# start ServletWebServerApplicationContext due #em#to#/em# #em#missing#/em# ServletWebServerFactory"]}},{"_index":"likecs_art_db","_type":"_doc","_id":"323605","_score":18.59808,"_source":{"id":"323605","text":"Lucene\u5206\u8bcd\u62a5\u9519\uff1a\u201dTokenStream contract violation: close() call missing\u201d","intro":"\u76ee\u5f55\n\nECharts\n\u5f02\u6b65\u52a0\u8f7d\n\n\n\nECharts\r\n\u6570\u636e\u53ef\u89c6\u5316\u5728\u8fc7\u53bb\u51e0\u5e74\u4e2d\u53d6\u5f97\u4e86\u5de8\u5927\u8fdb\u5c55\u3002\u5f00\u53d1\u4eba\u5458\u5bf9\u53ef\u89c6\u5316\u4ea7\u54c1\u7684\u671f\u671b\u4e0d\u518d\u662f\u7b80\u5355\u7684\u56fe\u8868\u521b\u5efa\u5de5\u5177\uff0c\u800c\u662f\u5728\u4ea4\u4e92\u3001\u6027\u80fd\u3001\u6570\u636e\u5904\u7406\u7b49\u65b9\u9762\u6709\u66f4\u9ad8\u7684\u8981\u6c42\u3002\r\nchart.setOption({\r\n    color: [\r\n        ","username":"softidea","tagsname":null,"tagsid":"","catesname":"","catesid":"","createtime":"1631608389"},"highlight":{"text":["Lucene分词报错:”TokenStream contract violation: close() #em#call#/em# #em#missing#/em#”"]}},{"_index":"likecs_art_db","_type":"_doc","_id":"203295465","_score":18.450775,"_source":{"id":"203295465","text":"kernel panic - not syncing attempted to kill init","intro":"\u76ee\u5f55\n\nECharts\n\u5f02\u6b65\u52a0\u8f7d\n\n\n\nECharts\r\n\u6570\u636e\u53ef\u89c6\u5316\u5728\u8fc7\u53bb\u51e0\u5e74\u4e2d\u53d6\u5f97\u4e86\u5de8\u5927\u8fdb\u5c55\u3002\u5f00\u53d1\u4eba\u5458\u5bf9\u53ef\u89c6\u5316\u4ea7\u54c1\u7684\u671f\u671b\u4e0d\u518d\u662f\u7b80\u5355\u7684\u56fe\u8868\u521b\u5efa\u5de5\u5177\uff0c\u800c\u662f\u5728\u4ea4\u4e92\u3001\u6027\u80fd\u3001\u6570\u636e\u5904\u7406\u7b49\u65b9\u9762\u6709\u66f4\u9ad8\u7684\u8981\u6c42\u3002\r\nchart.setOption({\r\n    color: [\r\n        ","username":"","tagsname":null,"tagsid":"","catesname":null,"catesid":"","createtime":"1622402215"},"highlight":{"text":["kernel #em#panic#/em# - not syncing attempted #em#to#/em# kill init"]}},{"_index":"likecs_art_db","_type":"_doc","_id":"295632","_score":17.399256,"_source":{"id":"295632","text":"\u95ee\u9898\uff1aunknown error: call function result missing \\'value\\'  \u89e3\u51b3\u65b9\u6cd5","intro":"\u76ee\u5f55\n\nECharts\n\u5f02\u6b65\u52a0\u8f7d\n\n\n\nECharts\r\n\u6570\u636e\u53ef\u89c6\u5316\u5728\u8fc7\u53bb\u51e0\u5e74\u4e2d\u53d6\u5f97\u4e86\u5de8\u5927\u8fdb\u5c55\u3002\u5f00\u53d1\u4eba\u5458\u5bf9\u53ef\u89c6\u5316\u4ea7\u54c1\u7684\u671f\u671b\u4e0d\u518d\u662f\u7b80\u5355\u7684\u56fe\u8868\u521b\u5efa\u5de5\u5177\uff0c\u800c\u662f\u5728\u4ea4\u4e92\u3001\u6027\u80fd\u3001\u6570\u636e\u5904\u7406\u7b49\u65b9\u9762\u6709\u66f4\u9ad8\u7684\u8981\u6c42\u3002\r\nchart.setOption({\r\n    color: [\r\n        ","username":"yuer20180726","tagsname":"","tagsid":"","catesname":null,"catesid":"","createtime":"1631068824"},"highlight":{"text":["问题:unknown error: #em#call#/em# function result #em#missing#/em# \\'value\\'  解决方法"]}},{"_index":"likecs_art_db","_type":"_doc","_id":"99808","_score":17.387117,"_source":{"id":"99808","text":"   BadMethodCallException  : Call to undefined method AppModelsArticle::setContainer()","intro":"\u76ee\u5f55\n\nECharts\n\u5f02\u6b65\u52a0\u8f7d\n\n\n\nECharts\r\n\u6570\u636e\u53ef\u89c6\u5316\u5728\u8fc7\u53bb\u51e0\u5e74\u4e2d\u53d6\u5f97\u4e86\u5de8\u5927\u8fdb\u5c55\u3002\u5f00\u53d1\u4eba\u5458\u5bf9\u53ef\u89c6\u5316\u4ea7\u54c1\u7684\u671f\u671b\u4e0d\u518d\u662f\u7b80\u5355\u7684\u56fe\u8868\u521b\u5efa\u5de5\u5177\uff0c\u800c\u662f\u5728\u4ea4\u4e92\u3001\u6027\u80fd\u3001\u6570\u636e\u5904\u7406\u7b49\u65b9\u9762\u6709\u66f4\u9ad8\u7684\u8981\u6c42\u3002\r\nchart.setOption({\r\n    color: [\r\n        ","username":"zqblog1314","tagsname":"","tagsid":"[]","catesname":"","catesid":"[]","createtime":"1586775647"},"highlight":{"text":["BadMethodCallException  : #em#Call#/em# #em#to#/em# undefined method AppModelsArticle::setContainer()"]}},{"_index":"likecs_art_db","_type":"_doc","_id":"203487393","_score":17.387117,"_source":{"id":"203487393","text":"Fatal error: Call to undefined function mysql_connect()","intro":"\u76ee\u5f55\n\nECharts\n\u5f02\u6b65\u52a0\u8f7d\n\n\n\nECharts\r\n\u6570\u636e\u53ef\u89c6\u5316\u5728\u8fc7\u53bb\u51e0\u5e74\u4e2d\u53d6\u5f97\u4e86\u5de8\u5927\u8fdb\u5c55\u3002\u5f00\u53d1\u4eba\u5458\u5bf9\u53ef\u89c6\u5316\u4ea7\u54c1\u7684\u671f\u671b\u4e0d\u518d\u662f\u7b80\u5355\u7684\u56fe\u8868\u521b\u5efa\u5de5\u5177\uff0c\u800c\u662f\u5728\u4ea4\u4e92\u3001\u6027\u80fd\u3001\u6570\u636e\u5904\u7406\u7b49\u65b9\u9762\u6709\u66f4\u9ad8\u7684\u8981\u6c42\u3002\r\nchart.setOption({\r\n    color: [\r\n        ","username":"","tagsname":null,"tagsid":"","catesname":null,"catesid":"","createtime":"1640923451"},"highlight":{"text":["Fatal error: #em#Call#/em# #em#to#/em# undefined function mysql_connect()"]}},{"_index":"likecs_art_db","_type":"_doc","_id":"203366222","_score":16.719082,"_source":{"id":"203366222","text":"PHP Fatal error: Call to undefined function socket_create()","intro":"\u76ee\u5f55\n\nECharts\n\u5f02\u6b65\u52a0\u8f7d\n\n\n\nECharts\r\n\u6570\u636e\u53ef\u89c6\u5316\u5728\u8fc7\u53bb\u51e0\u5e74\u4e2d\u53d6\u5f97\u4e86\u5de8\u5927\u8fdb\u5c55\u3002\u5f00\u53d1\u4eba\u5458\u5bf9\u53ef\u89c6\u5316\u4ea7\u54c1\u7684\u671f\u671b\u4e0d\u518d\u662f\u7b80\u5355\u7684\u56fe\u8868\u521b\u5efa\u5de5\u5177\uff0c\u800c\u662f\u5728\u4ea4\u4e92\u3001\u6027\u80fd\u3001\u6570\u636e\u5904\u7406\u7b49\u65b9\u9762\u6709\u66f4\u9ad8\u7684\u8981\u6c42\u3002\r\nchart.setOption({\r\n    color: [\r\n        ","username":"","tagsname":null,"tagsid":"","catesname":null,"catesid":"","createtime":"1635148523"},"highlight":{"text":["PHP Fatal error: #em#Call#/em# #em#to#/em# undefined function socket_create()"]}},{"_index":"likecs_art_db","_type":"_doc","_id":"203366226","_score":16.719082,"_source":{"id":"203366226","text":"Call to a member function assign() on null","intro":"\u76ee\u5f55\n\nECharts\n\u5f02\u6b65\u52a0\u8f7d\n\n\n\nECharts\r\n\u6570\u636e\u53ef\u89c6\u5316\u5728\u8fc7\u53bb\u51e0\u5e74\u4e2d\u53d6\u5f97\u4e86\u5de8\u5927\u8fdb\u5c55\u3002\u5f00\u53d1\u4eba\u5458\u5bf9\u53ef\u89c6\u5316\u4ea7\u54c1\u7684\u671f\u671b\u4e0d\u518d\u662f\u7b80\u5355\u7684\u56fe\u8868\u521b\u5efa\u5de5\u5177\uff0c\u800c\u662f\u5728\u4ea4\u4e92\u3001\u6027\u80fd\u3001\u6570\u636e\u5904\u7406\u7b49\u65b9\u9762\u6709\u66f4\u9ad8\u7684\u8981\u6c42\u3002\r\nchart.setOption({\r\n    color: [\r\n        ","username":"","tagsname":null,"tagsid":"","catesname":null,"catesid":"","createtime":"1627271439"},"highlight":{"text":["#em#Call#/em# #em#to#/em# a member function assign() on null"]}}]}}"
URL: http://192.168.101.128/searchcore/index.php/cihere_cn_db/_search
REQUEST:
Array
(
    [query] => Array
        (
            [match] => Array
                (
                    [title] => Array
                        (
                            [query] => panic: time: missing Location in call to Time.In
                        )

                )

        )

    [highlight] => Array
        (
            [fields] => Array
                (
                    [title] => stdClass Object
                        (
                        )

                )

            [pre_tags] => #em#
            [post_tags] => #/em#
        )

    [from] => 0
)
RESPONSE:
bool(false)
URL: http://127.0.0.1:9200/likecs_down_db/_search
REQUEST:
Array
(
    [query] => Array
        (
            [bool] => Array
                (
                    [must] => Array
                        (
                            [0] => Array
                                (
                                    [match] => Array
                                        (
                                            [title] => Array
                                                (
                                                    [query] => panic: time: missing Location in call to Time.In
                                                )

                                        )

                                )

                        )

                    [must_not] => Array
                        (
                            [0] => Array
                                (
                                    [term] => Array
                                        (
                                            [cate1] => 电子书籍
                                        )

                                )

                        )

                )

        )

    [highlight] => Array
        (
            [fields] => Array
                (
                    [title] => stdClass Object
                        (
                        )

                )

            [pre_tags] => #em#
            [post_tags] => #/em#
        )

    [size] => 5
    [from] => 0
)
RESPONSE:
string(2284) "{"took":4,"timed_out":false,"_shards":{"total":1,"successful":1,"skipped":0,"failed":0},"hits":{"total":{"value":241,"relation":"eq"},"max_score":12.872617,"hits":[{"_index":"likecs_down_db","_type":"_doc","_id":"185474","_score":12.872617,"_source":{"id":"185474","title":"I just call Regular\u5b57\u4f53,I just call\u5b57\u4f53\u4e0b\u8f7d","spidertime":"0","contenttime":"1672110058","pageimage":"2020423\/1587632053432.ttf","cate1":"\u5b57\u4f53\u4e0b\u8f7d","attr1":"I just call","attr2":"36403","attr3":"1","attr5":"I just call"},"highlight":{"title":["I just #em#call#/em# Regular字体,I just #em#call#/em#字体下载"]}},{"_index":"likecs_down_db","_type":"_doc","_id":"140304","_score":10.038571,"_source":{"id":"140304","title":"A Gothique Time A Gothique Time \u5b57\u4f53,AGothiqueTime\u5b57\u4f53\u4e0b\u8f7d","spidertime":"0","contenttime":"1680260701","pageimage":"201999\/1568019014503.ttf","cate1":"\u5b57\u4f53\u4e0b\u8f7d","attr1":"A Gothique Time","attr2":"472903","attr3":"1","attr5":"AGothiqueTime"},"highlight":{"title":["A Gothique #em#Time#/em# A Gothique #em#Time#/em# 字体,AGothiqueTime字体下载"]}},{"_index":"likecs_down_db","_type":"_doc","_id":"70491","_score":10.034657,"_source":{"id":"70491","title":"Ajax in action","spidertime":"1623125794","contenttime":"1674309673","tag":"ajax|in|action|action","cate1":"\u7535\u5b50\u4e66\u7c4d","cate2":"ajax \u7535\u5b50\u4e66","attr1":"6.3MB"},"highlight":{"title":["Ajax #em#in#/em# action"]}},{"_index":"likecs_down_db","_type":"_doc","_id":"35396","_score":10.034657,"_source":{"id":"35396","title":"Ajax in action","spidertime":"1622960314","contenttime":"1670646035","tag":"ajax|in|action|action","cate1":"\u7535\u5b50\u4e66\u7c4d","cate2":"ajax \u7535\u5b50\u4e66","attr1":"6.3MB"},"highlight":{"title":["Ajax #em#in#/em# action"]}},{"_index":"likecs_down_db","_type":"_doc","_id":"139237","_score":9.986147,"_source":{"id":"139237","title":"Eternal Call Regular\u5b57\u4f53,EternalCall\u5b57\u4f53\u4e0b\u8f7d","spidertime":"0","contenttime":"1677400078","pageimage":"201993\/1567491724613.ttf","cate1":"\u5b57\u4f53\u4e0b\u8f7d","attr1":"Eternal Call","attr2":"161157","attr3":"1","attr5":"EternalCall"},"highlight":{"title":["Eternal #em#Call#/em# Regular字体,EternalCall字体下载"]}}]}}"
panic: time: missing Location in call to Time.In - 爱码网
siaslfslovewp

docker容器发布go项目出现以下问题:

panic: time: missing Location in call to Time.In

COPY --from=build /usr/share/zoneinfo/Asia/Shanghai /usr/share/zoneinfo/Asia/Shanghai  //注意路径

main.go 

func init() {
   //处理全局时区问题,删了剁手
   sh, _ := time.LoadLocation("Asia/Shanghai")
   time.Local = sh
}

 

定时任务:

task := cron.New()                                               //创建定时任务
task.AddFunc(sysConfig.TaskConfig.ActivityConfig, startActivity) //添加一个定时任务,可以AddFunc 多次.
task.AddFunc(sysConfig.TaskConfig.ActivityConfig, stopActivity)  //添加一个定时任务,可以AddFunc 多次.
task.AddFunc(sysConfig.TaskConfig.ActivityConfig, tasks.PullA8ReceiveBills)
task.AddFunc(sysConfig.TaskConfig.ActivityConfig, tasks.SyncPurchaseApplyState)
task.AddFunc(sysConfig.TaskConfig.ActivityConfig, tasks.SyncReturnApplyState)

task.Start()

 

时间格式化:

var dateStr = time.Now().Format("2006-01-02 15:04:05")

  

结构体:(首字母大写,不然数据库绑定无法取值)

type A8btype struct {
	Usercode      string
	Fullname      string
	TelAndAddress string
	CreateDate    time.Time
}

  




相关文章:

  • 2021-07-27
  • 2021-09-14
  • 2021-05-31
  • 2021-09-08
  • 2020-04-13
  • 2021-12-31
  • 2021-10-25
  • 2021-07-26
猜你喜欢
  • 2021-11-18
  • 2021-07-22
  • 2021-12-27
  • 2021-09-08
  • 2021-04-14
  • 2022-01-15
  • 2021-08-02
相关资源
相似解决方案