Skip to content

From and Size ignored when not in query string #2968

@tishma

Description

@tishma

The following didnt work until I've added from and size to query string like this:
http://localhost:9200/myindex/_search?from=0&size=12

It's just stuck at defaults: 0/10

{
    "filtered": {
        "query": {
            "query_string": {
                "query": "auto"
            }
        },
        "filter": {
            "term": {
                "lang_id": "1"
            },
            "range": {
                "date_expires": {
                    "gt": "2013-05-01 22:16:07"
                }
            }
        }
    },
    "sort": {
        "deal_id": {
            "reverse": "true"
        }
    },
    "from": "0",
    "size": "12"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions