"MainPostingID": "123345" // mapping: string
"date": "2011-09-01T17:10:42", // mapping : date
"sender_number": "324233393331333933333337333033", // mapping :
string, index: not_analyzed, as it can contain alphabates, +, 0-9
"msg_text": "%22Change+can%27t+be+given+to+you+everytime" // mapping :
string
}
Multiple such entries get generated for main posting. Now I run
following facet query with date sort.
Aim: create facets for Main posting by sender and get them sorted by
date.
"MainPostingID": "123345" // mapping: string
"date": "2011-09-01T17:10:42", // mapping : date
"sender_number": "324233393331333933333337333033", // mapping :
string, index: not_analyzed, as it can contain alphabates, +, 0-9
"msg_text": "%22Change+can%27t+be+given+to+you+everytime" // mapping :
string
}
Multiple such entries get generated for main posting. Now I run
following facet query with date sort.
Aim: create facets for Main posting by sender and get them sorted by
date.
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.