I use the following schema to store documents in ElasticSearch.
{
"id":"master-chef-america",
"title":"Master Chef - America",
"description":"Event related rant, comments and discussion..",
"author":"Praveen Baratam",
"date":1332705307,
"popularity":1
}
Now apart from searching the docs for keywords, I want to list the
latest posts ranked by popularity and recency using popularity and
date properties of the docs.
I use the following schema to store documents in Elasticsearch.
{
"id":"master-chef-america",
"title":"Master Chef - America",
"description":"Event related rant, comments and discussion..",
"author":"Praveen Baratam",
"date":1332705307,
"popularity":1
}
Now apart from searching the docs for keywords, I want to list the
latest posts ranked by popularity and recency using popularity and
date properties of the docs.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.