Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- curl -XGET 'http://elastic:changeme@localhost:9200/nsp/workUnit/3157/_explain?pretty' -d '{"query":{"bool":{"must":[{"match":{"revisions.title":{"query":"Ředitel*"}}}]}}}'
- >
- {
- "_index" : "nsp",
- "_type" : "workUnit",
- "_id" : "3157",
- "matched" : false,
- "explanation" : {
- "value" : 0.0,
- "description" : "Failure to meet condition(s) of required/prohibited clause(s)",
- "details" : [
- {
- "value" : 0.0,
- "description" : "no match on required clause ((revisions.title:reditel)^10.0)",
- "details" : [
- {
- "value" : 0.0,
- "description" : "no matching term",
- "details" : [ ]
- }
- ]
- },
- {
- "value" : 0.0,
- "description" : "match on required clause, product of:",
- "details" : [
- {
- "value" : 0.0,
- "description" : "# clause",
- "details" : [ ]
- },
- {
- "value" : 0.0,
- "description" : "weight(_type:workUnit in 141443) [], result of:",
- "details" : [
- {
- "value" : 0.0,
- "description" : "score(doc=141443,freq=1.0), with freq of:",
- "details" : [
- {
- "value" : 1.0,
- "description" : "termFreq=1.0",
- "details" : [ ]
- }
- ]
- }
- ]
- }
- ]
- }
- ]
- }
- }
- 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"}}}]}}}'
- >
- {
- "_index" : "nsp",
- "_type" : "workUnit",
- "_id" : "3157",
- "matched" : false,
- "explanation" : {
- "value" : 0.0,
- "description" : "Failure to meet condition(s) of required/prohibited clause(s)",
- "details" : [
- {
- "value" : 0.0,
- "description" : "no match on required clause ((revisions.title:reditel)^10.0)",
- "details" : [
- {
- "value" : 0.0,
- "description" : "no matching term",
- "details" : [ ]
- }
- ]
- },
- {
- "value" : 0.0,
- "description" : "match on required clause, product of:",
- "details" : [
- {
- "value" : 0.0,
- "description" : "# clause",
- "details" : [ ]
- },
- {
- "value" : 0.0,
- "description" : "weight(_type:workUnit in 141443) [], result of:",
- "details" : [
- {
- "value" : 0.0,
- "description" : "score(doc=141443,freq=1.0), with freq of:",
- "details" : [
- {
- "value" : 1.0,
- "description" : "termFreq=1.0",
- "details" : [ ]
- }
- ]
- }
- ]
- }
- ]
- }
- ]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement