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

Teach _search to read search time mappings #59316

Closed

Commits on Jul 9, 2020

  1. Teach _search to read search time mappings

    This adds support for search time mappings to the _search API like so:
    ```
    curl -XPOST -HContent-Type:application/json -uelastic:password 'localhost:9200/test/_search?pretty&error_trace' -d'{
      "mappings": {
        "properties": {
          "cat": {
            "type": "script",
            "runtime_type": "keyword",
            "script": "value(\"cat\")"
          }
        }
      },
      "docvalue_fields": ["cat"]
    }'
    ```
    
    It just lifts the `mappings` field from the create index and mappings
    update requests and drops it into the `_search` request. It then gives
    each mapped field a chance to convert itself into a runtime field. Most
    mapping can not and will throw an exception that is translated into an
    HTTP 400 response. The `script` converts itself properly and is
    available at runtime.
    nik9000 committed Jul 9, 2020
    Configuration menu
    Copy the full SHA
    1533428 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2020

  1. Itr

    nik9000 committed Jul 13, 2020
    Configuration menu
    Copy the full SHA
    dc70b42 View commit details
    Browse the repository at this point in the history
  2. Itr

    nik9000 committed Jul 13, 2020
    Configuration menu
    Copy the full SHA
    1938a0e View commit details
    Browse the repository at this point in the history
  3. Tests

    nik9000 committed Jul 13, 2020
    Configuration menu
    Copy the full SHA
    9d8e4b3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5a44788 View commit details
    Browse the repository at this point in the history
  5. Parse plz

    nik9000 committed Jul 13, 2020
    Configuration menu
    Copy the full SHA
    7346b8b View commit details
    Browse the repository at this point in the history
  6. Precommit

    nik9000 committed Jul 13, 2020
    Configuration menu
    Copy the full SHA
    4891bda View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2020

  1. Fix test

    nik9000 committed Jul 14, 2020
    Configuration menu
    Copy the full SHA
    77f35cb View commit details
    Browse the repository at this point in the history
  2. Fix test

    nik9000 committed Jul 14, 2020
    Configuration menu
    Copy the full SHA
    2011791 View commit details
    Browse the repository at this point in the history
  3. Revert some stuff

    nik9000 committed Jul 14, 2020
    Configuration menu
    Copy the full SHA
    2b9b34c View commit details
    Browse the repository at this point in the history
  4. Revert

    nik9000 committed Jul 14, 2020
    Configuration menu
    Copy the full SHA
    0546dc2 View commit details
    Browse the repository at this point in the history
  5. WIP

    nik9000 committed Jul 14, 2020
    Configuration menu
    Copy the full SHA
    a86ffaa View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    87bf5bf View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2020

  1. Configuration menu
    Copy the full SHA
    8aeab2f View commit details
    Browse the repository at this point in the history
  2. itr

    nik9000 committed Jul 21, 2020
    Configuration menu
    Copy the full SHA
    3c12ed0 View commit details
    Browse the repository at this point in the history
  3. iter

    nik9000 committed Jul 21, 2020
    Configuration menu
    Copy the full SHA
    09aa1f4 View commit details
    Browse the repository at this point in the history
  4. Tests

    nik9000 committed Jul 21, 2020
    Configuration menu
    Copy the full SHA
    65a5326 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    27628d9 View commit details
    Browse the repository at this point in the history
  6. Oops

    nik9000 committed Jul 21, 2020
    Configuration menu
    Copy the full SHA
    acefc5d View commit details
    Browse the repository at this point in the history
  7. sub-objects

    nik9000 committed Jul 21, 2020
    Configuration menu
    Copy the full SHA
    394ba8f View commit details
    Browse the repository at this point in the history