# Paging for nested objects

**URL:** <https://discuss.elastic.co/t/paging-for-nested-objects/19190>\
**Category:** Elasticsearch\
**Created:** [August 11, 2014, 10:48am UTC](https://discuss.elastic.co/t/paging-for-nested-objects/19190 "2014-08-11T10:48:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![arthur\_mironov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/arthur_mironov/32/1347_2.png) [@arthur\_mironov](https://discuss.elastic.co/u/arthur_mironov)\
**Post date:** [August 11, 2014, 10:48am UTC](https://discuss.elastic.co/t/paging-for-nested-objects/19190/1 "2014-08-11T10:48:04Z")

</div>

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+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/23fa5330-be0d-410c-99db-8eb924c0bdac%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/23fa5330-be0d-410c-99db-8eb924c0bdac%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![jpountz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jpountz/32/45836_2.png) [@jpountz](https://discuss.elastic.co/u/jpountz)\
**Post date:** [August 12, 2014, 1:40pm UTC](https://discuss.elastic.co/t/paging-for-nested-objects/19190/2 "2014-08-12T13:40:42Z")

</div>

Hi,

Unfortunately this is not possible.

On Mon, Aug 11, 2014 at 12:48 PM, [arthur.mironov@progforce.com](mailto:arthur.mironov@progforce.com) wrote:

> 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+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/23fa5330-be0d-410c-99db-8eb924c0bdac%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/23fa5330-be0d-410c-99db-8eb924c0bdac%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/23fa5330-be0d-410c-99db-8eb924c0bdac%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/23fa5330-be0d-410c-99db-8eb924c0bdac%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
Adrien Grand

--  
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+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAL6Z4j5JfbQqet3Z\_dJY%3D6n0J0stLFky7LMmvrsxyPekeciGdQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAL6Z4j5JfbQqet3Z_dJY%3D6n0J0stLFky7LMmvrsxyPekeciGdQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:09am UTC](https://discuss.elastic.co/t/paging-for-nested-objects/19190/3 "2017-07-06T01:09:11Z")

</div>


