Hi,

I need to query all the URL in my index using terms since I only want to 
get the unique URLs, but the number of returned record is determined by the 
size, which for the example below is 10.
What should i do to query all URL in my index without specifying the size?

I actually just used the default query from Kibana below.

curl -XGET 'http://localhost/<indexes>/_search?pretty' -d '{
  "facets": {
    "terms": {
      "terms": {
        "field": "URL.not_analyzed",
        "size": 10,
        "order": "count"
      },
      "facet_filter": {
        "fquery": {
          "query": {
            "filtered": {
              "query": {
                "bool": {
                  "should": [
                    {
                      "query_string": {
                        "query": "*"
                      }
                    }
                  ]
                }
              },
              "filter": {
                "bool": {
                  "must": [
                    {
                      "range": {
                        "ArrivalTime": {
                          "from": 1409362530572,
                          "to": 1409535330572
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        }
      }
    }
  },
  "size": 0
}'
    

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/c3c7de5e-ffc9-4dc5-9af3-79309d9a7f94%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to