Hello, I'm new in elasticsearch and I have a question. 
How can I do paging for nested object and is it possible? (I need to get 
comments with paging)

*My mappping:*
{
   "test": {
      "mappings": {
         "completion": {
            "properties": {
               "suggest": {
                  "type": "string",
                  "index": "not_analyzed"
               }
            }
         },
         "post": {
            "properties": {
               "comments": {

                  "type": "nested",
                  "properties": {
                     "created_time": {
                        "type": "date",
                        "format": "dateOptionalTime"
                     },
                     "id": {
                        "type": "string",
                        "index": "not_analyzed"
                     },
                     "text": {
                        "type": "string"
                     }
                  }
               },
               "created_time": {
                  "type": "date",
                  "format": "dateOptionalTime"
               },
               "text": {
                  "type": "string"
               },
               "thumbnail": {
                  "type": "string",
                  "index": "not_analyzed"
               },
               "title": {
                  "type": "string"
               }
            }
         }
      }
   }
}

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/23fa5330-be0d-410c-99db-8eb924c0bdac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to