Advertisement
Guest User

Untitled

a guest
Mar 28th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 3.07 KB | None | 0 0
  1. curl -XGET 'http://elastic:changeme@localhost:9200/nsp/workUnit/3157/_explain?pretty' -d '{"query":{"bool":{"must":[{"match":{"revisions.title":{"query":"Ředitel*"}}}]}}}'
  2.  
  3. >
  4.  
  5. {
  6.   "_index" : "nsp",
  7.   "_type" : "workUnit",
  8.   "_id" : "3157",
  9.   "matched" : false,
  10.   "explanation" : {
  11.     "value" : 0.0,
  12.     "description" : "Failure to meet condition(s) of required/prohibited clause(s)",
  13.     "details" : [
  14.       {
  15.         "value" : 0.0,
  16.         "description" : "no match on required clause ((revisions.title:reditel)^10.0)",
  17.         "details" : [
  18.           {
  19.             "value" : 0.0,
  20.             "description" : "no matching term",
  21.             "details" : [ ]
  22.           }
  23.         ]
  24.       },
  25.       {
  26.         "value" : 0.0,
  27.         "description" : "match on required clause, product of:",
  28.         "details" : [
  29.           {
  30.             "value" : 0.0,
  31.             "description" : "# clause",
  32.             "details" : [ ]
  33.           },
  34.           {
  35.             "value" : 0.0,
  36.             "description" : "weight(_type:workUnit in 141443) [], result of:",
  37.             "details" : [
  38.               {
  39.                 "value" : 0.0,
  40.                 "description" : "score(doc=141443,freq=1.0), with freq of:",
  41.                 "details" : [
  42.                   {
  43.                     "value" : 1.0,
  44.                     "description" : "termFreq=1.0",
  45.                     "details" : [ ]
  46.                   }
  47.                 ]
  48.               }
  49.             ]
  50.           }
  51.         ]
  52.       }
  53.     ]
  54.   }
  55. }
  56. zajca@zajca-doma ~/git/nsp-base (git)-[feature/search] % curl -XGET 'http://elastic:changeme@localhost:9200/nsp/workUnit/3157/_explain?pretty' -d '{"query":{"bool":{"must":[{"match":{"revisions.title":{"query":"Ředitel*","analyzer":"cz"}}}]}}}'
  57.  
  58. >
  59.  
  60. {
  61.   "_index" : "nsp",
  62.   "_type" : "workUnit",
  63.   "_id" : "3157",
  64.   "matched" : false,
  65.   "explanation" : {
  66.     "value" : 0.0,
  67.     "description" : "Failure to meet condition(s) of required/prohibited clause(s)",
  68.     "details" : [
  69.       {
  70.         "value" : 0.0,
  71.         "description" : "no match on required clause ((revisions.title:reditel)^10.0)",
  72.         "details" : [
  73.           {
  74.             "value" : 0.0,
  75.             "description" : "no matching term",
  76.             "details" : [ ]
  77.           }
  78.         ]
  79.       },
  80.       {
  81.         "value" : 0.0,
  82.         "description" : "match on required clause, product of:",
  83.         "details" : [
  84.           {
  85.             "value" : 0.0,
  86.             "description" : "# clause",
  87.             "details" : [ ]
  88.           },
  89.           {
  90.             "value" : 0.0,
  91.             "description" : "weight(_type:workUnit in 141443) [], result of:",
  92.             "details" : [
  93.               {
  94.                 "value" : 0.0,
  95.                 "description" : "score(doc=141443,freq=1.0), with freq of:",
  96.                 "details" : [
  97.                   {
  98.                     "value" : 1.0,
  99.                     "description" : "termFreq=1.0",
  100.                     "details" : [ ]
  101.                   }
  102.                 ]
  103.               }
  104.             ]
  105.           }
  106.         ]
  107.       }
  108.     ]
  109.   }
  110. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement