Skip to content

SC + Opensearch using Aggregation Spout #1091

Closed Answered by jnioche
dhaneshsabane asked this question in Q&A
Discussion options

You must be logged in to vote

The actual query is

{
  "from": 0,
  "size": 0,
  "query": {
    "bool": {
      "filter": [
        {
          "range": {
            "nextFetchDate": {
              "from": null,
              "to": "2023-09-05T15:26:36Z",
              "include_lower": true,
              "include_upper": true,
              "boost": 1
            }
          }
        }
      ],
      "adjust_pure_negative": true,
      "boost": 1
    }
  },
  "explain": false,
  "track_total_hits": -1,
  "aggregations": {
    "partition": {
      "terms": {
        "field": "key",
        "size": 50,
        "min_doc_count": 1,
        "shard_min_doc_count": 0,
        "show_term_doc_count_error": false,
        "o…

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@dhaneshsabane
Comment options

Comment options

You must be logged in to vote
3 replies
@dhaneshsabane
Comment options

@dhaneshsabane
Comment options

Answer selected by dhaneshsabane
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants