<script type="text/javascript">
var postData = {
"query" : {
"query_string" : {
"query" : "about"
}
}
};
$.getJSON('http://localhost:9200/my_couch_db/my_couch_db/
_search',postData,
function(data) {
var infoHTML='
@hits.total'+date.hits.total+'.@
';$('#info').html(infoHTML);
}
);
</script>
helio!This is a header
This is a paragraph.