Skip to content

Instantly share code, notes, and snippets.

Created March 6, 2012 14:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/1986656 to your computer and use it in GitHub Desktop.
Save anonymous/1986656 to your computer and use it in GitHub Desktop.
highlighted field missing
curl -XGET 'http://localhost:9200/docs/doc/_search?pretty=true' -d '{
"from" : 0,
"size" : 10,
"query" : {
"term" : {
"fulltext" : "testen"
}
},
"explain" : true,
"fields" : [ "author", "title", "inserted" ],
"highlight" : {
"pre_tags" : [ "<b>" ],
"post_tags" : [ "</b>" ],
"fields" : {
"fulltext" : {
"fragment_size" : 100
}
}
}
}'
{
"took" : 180,
"timed_out" : false,
"_shards" : {
"total" : 1,
"successful" : 1,
"failed" : 0
},
"hits" : {
"total" : 18,
"max_score" : 0.04210174,
"hits" : [ {
"_shard" : 0,
"_node" : "ZWdLI7vTQ0CYlTOOiz4eyg",
"_index" : "docs",
"_type" : "doc",
"_id" : "62121",
"_score" : 0.04210174,
"fields" : {
"inserted" : 1331044874467,
"author" : "Tiziani Hans J.",
"title" : "Einsatz computergenerierter Hologramme"
},
"highlight" : {
"fulltext" : [ " zum <b>Testen</b> sphärischer Flächen konzipiert ist. Zusammen mit der Hilfslinse L' I liefert es eine" ]
},
"_explanation" : {
"value" : 0.04210174,
"description" : "fieldWeight(fulltext:testen in 0), product of:",
"details" : [ {
"value" : 1.0,
"description" : "tf(termFreq(fulltext:testen)=1)"
}, {
"value" : 3.0794415,
"description" : "idf(docFreq=24, maxDocs=200)"
}, {
"value" : 0.013671875,
"description" : "fieldNorm(field=fulltext, doc=0)"
} ]
}
}, {
"_shard" : 0,
"_node" : "ZWdLI7vTQ0CYlTOOiz4eyg",
"_index" : "docs",
"_type" : "doc",
"_id" : "19027",
"_score" : 0.034023345,
"fields" : {
"inserted" : 1331044873200,
"author" : "Schulz B.",
"title" : "Integration von Mehrsensoranordnungen in ein Höchstpräzisions-Montagesystem: Vorbundvorhaben MIMS (V3MPT037)"
},
"_explanation" : {
"value" : 0.034023345,
"description" : "fieldWeight(fulltext:testen in 0), product of:",
"details" : [ {
"value" : 1.4142135,
"description" : "tf(termFreq(fulltext:testen)=2)"
}, {
"value" : 3.0794415,
"description" : "idf(docFreq=24, maxDocs=200)"
}, {
"value" : 0.0078125,
"description" : "fieldNorm(field=fulltext, doc=0)"
} ]
}
}, {
"_shard" : 0,
"_node" : "ZWdLI7vTQ0CYlTOOiz4eyg",
"_index" : "docs",
"_type" : "doc",
"_id" : "66093",
"_score" : 0.03007267,
"fields" : {
"inserted" : 1329757125048,
"author" : "Hantschel Ralf; Ruf Fabian; Strotbek Haiko",
"title" : "Vergleich von BPEL Laufzeitumgebungen"
},
"highlight" : {
"fulltext" : [ " <b>testen</b>, da sie nicht zum Laufen zu bringen sind.Sonstiges: 60%Auf den Webseiten finden sich allgemeine" ]
},
"_explanation" : {
"value" : 0.03007267,
"description" : "fieldWeight(fulltext:testen in 30), product of:",
"details" : [ {
"value" : 1.0,
"description" : "tf(termFreq(fulltext:testen)=1)"
}, {
"value" : 3.0794415,
"description" : "idf(docFreq=24, maxDocs=200)"
}, {
"value" : 0.009765625,
"description" : "fieldNorm(field=fulltext, doc=30)"
} ]
}
}
, {
"_shard" : 0,
"_node" : "ZWdLI7vTQ0CYlTOOiz4eyg",
"_index" : "docs",
"_type" : "doc",
"_id" : "112235",
"_score" : 0.027065406,
"fields" : {
"inserted" : 1329757157149,
"author" : "Munkelt Torsten",
"title" : "Potenzial Bayes'scher Netze zur Unterstützung der Produktionsplanung und -steuerung"
},
"highlight" : {
"fulltext" : [ " . . . . . . . . 144Erfüllungsgrad, den verschiedene Quellen für Probleminstanzen, die zum <b>Testen</b> von" ]
},
"_explanation" : {
"value" : 0.027065406,
"description" : "fieldWeight(fulltext:testen in 53), product of:",
"details" : [ {
"value" : 3.0,
"description" : "tf(termFreq(fulltext:testen)=9)"
}, {
"value" : 3.0794415,
"description" : "idf(docFreq=24, maxDocs=200)"
}, {
"value" : 0.0029296875,
"description" : "fieldNorm(field=fulltext, doc=53)"
} ]
}
}, {
"_shard" : 0,
"_node" : "ZWdLI7vTQ0CYlTOOiz4eyg",
"_index" : "docs",
"_type" : "doc",
"_id" : "76333",
"_score" : 0.024058137,
"fields" : {
"inserted" : 1329757343180,
"author" : "Lotfey Mourad Girgis",
"title" : "Numerische Simulation von Gas-Gas- und Gas-Feststoffinjektoren [online]."
},
"highlight" : {
"fulltext" : [ " möglich, neue Modelle zuimplementieren, zu <b>testen</b> und mit dem Experiment zu verifizieren.Die numerischen" ]
},
"_explanation" : {
"value" : 0.024058137,
"description" : "fieldWeight(fulltext:testen in 4), product of:",
"details" : [ {
"value" : 1.0,
"description" : "tf(termFreq(fulltext:testen)=1)"
}, {
"value" : 3.0794415,
"description" : "idf(docFreq=24, maxDocs=200)"
}, {
"value" : 0.0078125,
"description" : "fieldNorm(field=fulltext, doc=4)"
} ]
}
}, {
"_shard" : 0,
"_node" : "ZWdLI7vTQ0CYlTOOiz4eyg",
"_index" : "docs",
"_type" : "doc",
"_id" : "85392",
"_score" : 0.024058137,
"fields" : {
"inserted" : 1331044872119,
"author" : "Gabriel Frank",
"title" : "Bericht der Herbsttagung der Studiengruppe für elektronische Instrumentierung vom 25. bis 27. September 2000 im Hahn-Meitner-Institut Berlin"
},
"_explanation" : {
"value" : 0.024058137,
"description" : "fieldWeight(fulltext:testen in 0), product of:",
"details" : [ {
"value" : 1.0,
"description" : "tf(termFreq(fulltext:testen)=1)"
}, {
"value" : 3.0794415,
"description" : "idf(docFreq=24, maxDocs=200)"
}, {
"value" : 0.0078125,
"description" : "fieldNorm(field=fulltext, doc=0)"
} ]
}
}, {
"_shard" : 0,
"_node" : "ZWdLI7vTQ0CYlTOOiz4eyg",
"_index" : "docs",
"_type" : "doc",
"_id" : "68518",
"_score" : 0.02105087,
"fields" : {
"inserted" : 1329757163496,
"author" : "Cox Philipp",
"title" : "Etablierung und Evaluation der NASBA (Nucleic Acid Sequence-Based Amplification)-Technologie zum Nachweis von Aspergillus-RNA"
},
"highlight" : {
"fulltext" : [ " verschiedener Aspergillus Spezies zu <b>testen</b> und entsprechend einzurichten.Weiterhin wurden auch andere" ]
},
"_explanation" : {
"value" : 0.02105087,
"description" : "fieldWeight(fulltext:testen in 57), product of:",
"details" : [ {
"value" : 1.0,
"description" : "tf(termFreq(fulltext:testen)=1)"
}, {
"value" : 3.0794415,
"description" : "idf(docFreq=24, maxDocs=200)"
}, {
"value" : 0.0068359375,
"description" : "fieldNorm(field=fulltext, doc=57)"
} ]
}
}, {
"_shard" : 0,
"_node" : "ZWdLI7vTQ0CYlTOOiz4eyg",
"_index" : "docs",
"_type" : "doc",
"_id" : "73023",
"_score" : 0.020834958,
"fields" : {
"inserted" : 1331044871063,
"author" : "Trummer Tatjana",
"title" : "Molekulargenetische Untersuchungen zur Heterogenität der Osteogenesis imperfecta"
},
"_explanation" : {
"value" : 0.020834958,
"description" : "fieldWeight(fulltext:testen in 0), product of:",
"details" : [ {
"value" : 1.7320508,
"description" : "tf(termFreq(fulltext:testen)=3)"
}, {
"value" : 3.0794415,
"description" : "idf(docFreq=24, maxDocs=200)"
}, {
"value" : 0.00390625,
"description" : "fieldNorm(field=fulltext, doc=0)"
} ]
}
}, {
"_shard" : 0,
"_node" : "ZWdLI7vTQ0CYlTOOiz4eyg",
"_index" : "docs",
"_type" : "doc",
"_id" : "115178",
"_score" : 0.018043604,
"fields" : {
"inserted" : 1329757112376,
"author" : "Rademacher Wilma",
"title" : "Charakterisierung der Antigen-induzierten Arthritis in TNFalpha- und TNF-Rezeptor-defizienten Mäusen"
},
"_explanation" : {
"value" : 0.018043604,
"description" : "fieldWeight(fulltext:testen in 20), product of:",
"details" : [ {
"value" : 1.0,
"description" : "tf(termFreq(fulltext:testen)=1)"
}, {
"value" : 3.0794415,
"description" : "idf(docFreq=24, maxDocs=200)"
}, {
"value" : 0.005859375,
"description" : "fieldNorm(field=fulltext, doc=20)"
} ]
}
}, {
"_shard" : 0,
"_node" : "ZWdLI7vTQ0CYlTOOiz4eyg",
"_index" : "docs",
"_type" : "doc",
"_id" : "63428",
"_score" : 0.018043604,
"fields" : {
"inserted" : 1329757198982,
"author" : "Campos Venuti Lorenzo",
"title" : "Spin gap in doped ladder systems"
},
"_explanation" : {
"value" : 0.018043604,
"description" : "fieldWeight(fulltext:testen in 80), product of:",
"details" : [ {
"value" : 1.0,
"description" : "tf(termFreq(fulltext:testen)=1)"
}, {
"value" : 3.0794415,
"description" : "idf(docFreq=24, maxDocs=200)"
}, {
"value" : 0.005859375,
"description" : "fieldNorm(field=fulltext, doc=80)"
} ]
}
} ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment