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

Update ElasticSearch and Elastica to 6.x #1880

Open
wants to merge 14 commits into
base: qa/2.x
Choose a base branch
from

Commits on Nov 15, 2024

  1. Update ElasticSearch and Elastica dependencies

    Update ElasticSearch to 6.8.23 in the Dockerfile and update Elastica to
    6.x in composer.
    anvit committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    81617d6 View commit details
    Browse the repository at this point in the history
  2. Remove arElasticSearchIndexDecorator.

    - 'inline' scripts are deprecated, changed to 'source'
    melaniekung authored and anvit committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    7c50884 View commit details
    Browse the repository at this point in the history
  3. Update index for ES 6.x

    Update arElasticSearchPlugin to use multiple indices instead of multiple
    types since ES 6.x removed being able to add multiple types. Also update
    mapping to remove include_in_all and add that to the _all field using
    copy_to instead since include_in_all was also removed in ES 6.x
    anvit committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    1c5feeb View commit details
    Browse the repository at this point in the history
  4. Fix autocompleteAction for ES 6.x

    Update autocompleteAction to use multiple indices
    anvit committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    ec4e748 View commit details
    Browse the repository at this point in the history
  5. Add index types for ES Queries without a type

    Add the appropriate index types for ES requests that did not need to
    specify explicit types in ES 5.x
    anvit committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    a19f8e1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    90d1e08 View commit details
    Browse the repository at this point in the history
  7. Fix broken publication status update

    Add missing document type to partialUpdate in arElasticSearchPlugin
    anvit committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    47cc1a9 View commit details
    Browse the repository at this point in the history
  8. Fix linting errors

    anvit committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    3adaac0 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    5575f96 View commit details
    Browse the repository at this point in the history
  10. Update mapping condition for _all fields

    Update condition in arElasticSearchPluginUtil to only get string
    fields included in _all if copy_to is explicitly set to _all in the
    mappping.
    anvit committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    0259ed0 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2024

  1. Configuration menu
    Copy the full SHA
    a13821d View commit details
    Browse the repository at this point in the history
  2. Rename arElasticSearchIndexDecorator

    Renamed arElasticSearchIndexDecorator as
    arElasticSearchMultiIndexWrapper for clarity and added a few comments
    about changes needed for ElasticSearch/Elastica 7.x.
    anvit committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    3f0e4d6 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2024

  1. Rename getType function from ESMultiIndexWrapper

    Rename getType from arElasticSearchMultiIndexWrapper to getIndex for
    clarity.
    anvit committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    0e0d87d View commit details
    Browse the repository at this point in the history
  2. Add dummy type for ES index

    Add a dummy ElasticSearch index type since one is still required for
    ES 6.x, instead of having a seperate type name for each of the
    multiple indices.
    anvit committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    bc54543 View commit details
    Browse the repository at this point in the history