Compatibility with elasticsearchconnector 8.x-7.x

Created on 5 August 2019, over 5 years ago
Updated 22 February 2023, about 2 years ago

Hello,

I am currently testing elasticsearch connector 8.x-7.0-alpha1 and I have some warnings on elasticsearch connector autocomplete.

I will upload a patch.

πŸ“Œ Task
Status

Needs review

Version

1.0

Component

Miscellaneous

Created by

πŸ‡«πŸ‡·France Grimreaper France πŸ‡«πŸ‡·

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡­πŸ‡ΊHungary dj1999

    Created a patch which works with D 9.x Elastic 7 and php 8.1

    Please review it.

  • πŸ‡­πŸ‡ΊHungary dj1999

    Litle finetuning to #19

  • πŸ‡­πŸ‡ΊHungary szato

    Using exposed filter (>=, <= operators) for date fields and got:
    Error: Call to undefined method Drupal\search_api\Query\ConditionGroup::getField() in elasticsearch_connector_autocomp_elasticsearch_connector_search_api_query_alter()

    #20 patch modified.

  • Status changed to Needs work over 1 year ago
  • πŸ‡¬πŸ‡§United Kingdom nicrodgers Monmouthshire, UK

    The patch needs updating to work with elasticsearch_connector 8.x-7.x.

    PrepareIndexEvent::getIndex doesn't exist, it should be PrepareIndexEvent::getIndexName instead. There may be other changes needed. If I have time today I will see if I can update the patch.

  • πŸ‡§πŸ‡ͺBelgium BramDriesen Belgium πŸ‡§πŸ‡ͺ
  • πŸ‡³πŸ‡±Netherlands tvoesenek

    For one of our projects, we use the patch from #15, which worked fine. But due to deprecation of the boost-parameter, in combination with Elasticsearch 8, an error will occur:

    [error]  Message: {"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"Unknown 
    parameter [boost] on mapper 
    [rendered_item]"}],"type":"mapper_parsing_exception","reason":"Failed to 
    parse mapping: Unknown parameter [boost] on mapper 
    [rendered_item]","caused_by":{"type":"mapper_parsing_exception","reason":"Unknown 
    parameter [boost] on mapper [rendered_item]"}},"status":400}
    

    When the boost-parameter is omitted, it works fine. Therefore I've rerolled the patch from #15, without the boost property.
    So this is not a reroll of #21 and therefore this still needs work.

  • πŸ‡ΊπŸ‡ΈUnited States dmundra Eugene, OR

    Re-rolling patch #24 for latest version of dev

  • Status changed to RTBC 14 days ago
  • πŸ‡ΊπŸ‡ΈUnited States msielski

    We have tested and are using the patch 3072676-25.patch from comment # 25.

Production build 0.71.5 2024