Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facets: Script Histogram facet #228

Closed
kimchy opened this issue Jun 16, 2010 · 1 comment
Closed

Facets: Script Histogram facet #228

kimchy opened this issue Jun 16, 2010 · 1 comment

Comments

@kimchy
Copy link
Member

kimchy commented Jun 16, 2010

Allow to specify scripts for both key and value in histogram facets. For example:

{
    query : {
        "match_all" : {}
    },
    facets : {
        "histo1" : {
            "histogram" : {
                "key_script" : "doc['date'].date.minuteOfHour",
                "value_script" : "doc['num1']"
            }
        }
    }
}

interval can also be specified, which will further normalize the key value into buckets (by default, if its not set, the actual key value will be used). Also, params can be specified to the scripts.

@kimchy
Copy link
Member Author

kimchy commented Jun 16, 2010

Facets: Script Histogram facet, closed by 2d6f61b.

williamrandolph pushed a commit to williamrandolph/elasticsearch that referenced this issue Jun 4, 2020
Explain what fields are not found and also the target data set to
improve debugging.

related to elastic#228

(cherry picked from commit c14137bd07b2faea7a742c5db6c0272ffa6c18a6)
mindw pushed a commit to mindw/elasticsearch that referenced this issue Sep 5, 2022
)

set max_group_prepared_capacity  to min_size

* set max_group_prepared_capacity  to min_size

* add comments

* set warm pool max size and not set desired number

* Merged master into dev/ttang2/dequeue_MPC-2823_21.09.08
* Merged master into dev/ttang2/dequeue_MPC-2823_21.09.08
* Merged master into dev/ttang2/dequeue_MPC-2823_21.09.08
* remove extra for wram pool max size

* Merge branch 'dev/ttang2/dequeue_MPC-2823_21.09.08' of bitbucket.org:engageli/devops into dev/ttang2/dequeue_MPC-2823_21.09.08

* Merged master into dev/ttang2/dequeue_MPC-2823_21.09.08
* Merge branch 'dev/ttang2/dequeue_MPC-2823_21.09.08' of bitbucket.org:engageli/devops into dev/ttang2/dequeue_MPC-2823_21.09.08


Approved-by: Gideon Avida
mindw pushed a commit to mindw/elasticsearch that referenced this issue Sep 5, 2022
whiteboard nginx

* Merged in nginx security headers for web apps (pull request elastic#229)

* Fix MPC-2824: disallowed loading student and admin portal in iframe
* Add headers to nginx webapp and fabfile
  * X-Frame-Options: deny clickjack prevention telling browser not to load our site in iframe
  * X-Content-Type-Options: nosniff prevent browser from interpreting content type
  * X-Permitted-Cross-Domain-Policies: none prevent cross-domain loading in adobe products
  * Referrer-Policy: no-referrer prevent browser from including referrer header
  * Permissions-Policy: -list- permission list for the site (previously Feature-Policy)
  * Strict-Transport-Security: -list- prevent browser from protocol downgrade and cookie hijacking
* Remove nginx version from server header

Approved-by: Matan Yemini
Approved-by: Can Yildiz
Approved-by: Gideon Avida
Approved-by: Andre Sodermans
* 1.11.0-915-dev

* Merged in dev/ttang2/dequeue_MPC-2823_21.09.08 (pull request elastic#228)

set max_group_prepared_capacity  to min_size

* set max_group_prepared_capacity  to min_size

* add comments

* set warm pool max size and not set desired number

* Merged master into dev/ttang2/dequeue_MPC-2823_21.09.08
* Merged master into dev/ttang2/dequeue_MPC-2823_21.09.08
* Merged master into dev/ttang2/dequeue_MPC-2823_21.09.08
* remove extra for wram pool max size

* Merge branch 'dev/ttang2/dequeue_MPC-2823_21.09.08' of bitbucket.org:engageli/devops into dev/ttang2/dequeue_MPC-2823_21.09.08

* Merged master into dev/ttang2/dequeue_MPC-2823_21.09.08
* Merge branch 'dev/ttang2/dequeue_MPC-2823_21.09.08' of bitbucket.org:engageli/devops into dev/ttang2/dequeue_MPC-2823_21.09.08


Approved-by: Gideon Avida
* Merged in dev/can/fix-ami-retrieval-master (pull request elastic#235)

Merged in dev/can/fix-ami-retrieval-2021-09-15 (pull request elastic#234)

Fix ami retrieval for merger and recorder

Also update use1a stack to 1.10.23

Approved-by: Gideon Avida
* Merged in dev/can/MPC-2843-include-u-rooms-2021-09-09 (pull request elastic#236)

MPC-2843: Include u rooms in attendance report

With the caveat of missing tenant names for now
* Merged in dev/can/attendance-improvements-2021-09-16 (pull request elastic#237)

Add date to report name
* Merged in dev/can/coventry-stacks-ansible-2021-09-14 (pull request elastic#238)

Add coventry stacks to ansible hosts
* 1.11.1-917-dev

* Small change to optionally print user aliases from google directory

* whiteboard nginx


Approved-by: Gideon Avida
cbuescher pushed a commit to cbuescher/elasticsearch that referenced this issue Oct 2, 2023
With this commit we bump the Python version that we use in Vagrant to
3.8.0 in order to meet Rally's minimum version requirements.

Relates elastic/rally#934
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant