haganbt / PYLON-exporter

Utility for exporting data from a PYLON index

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make single time series request when doing custom nested query

samaybar opened this issue · comments

When doing a custom nested query of time series -> frequency distribution, you could reduce the number of queries required by running a single time series to get the keys and then run multiple frequency distributions using the resultant time bands.

e.g.

{
  "interval": "day",
  "then": [
    {
      "type": "freqDist",
      "target": "fb.topics.name",
      "threshold": 100
    },
    {
      "type": "freqDist",
      "target": "fb.hashtags",
      "threshold": 100
    }
  ]
}

@samaybar - interesting idea. Thanks for logging.

@samaybar Thinking about this further, I dont think it is something I will implement. The effort of implementing the additional config vs saving 1 query per config item does not seem worth it.

In addition, SE's are not API call bound in any way.

Let me know if you disagree.

Seems reasonable.

On September 9, 2015 at 11:56:52 AM, haganbt (notifications@github.com) wrote:

@samaybar Thinking about this further, I dont think it is something I will implement. The effort of implementing the additional config vs saving 1 query per config item does not seem worth it.

In addition, SE's are not API call bound in any way.

Let me know if you disagree.


Reply to this email directly or view it on GitHub.