Skip to content
This repository was archived by the owner on Mar 17, 2022. It is now read-only.
This repository was archived by the owner on Mar 17, 2022. It is now read-only.

ElasticSearch 7.0 doc_type issue #4

@denishpatel

Description

@denishpatel

When i try to use ES extension, I'm getting this error on Elastic Search 7.0.0. ...

postgres=# Drop fOREIGN TABLE public.test_es;
DEBUG: relation "public.test_es" does not exist
ERROR: foreign table "test_es" does not exist
postgres=# CREATE FOREIGN TABLE public.test_es (
postgres(# col1 int,
postgres(# col2 text,
postgres(# source text
postgres(# ) server umms_elastic OPTIONS (
postgres(# index 'test',
postgres(# doc_type '_doc',
postgres(# column_name_translation 'true'
postgres(# );
LOG: duration: 3.371 ms statement: CREATE FOREIGN TABLE public.test_es (
col1 int,
col2 text,
source text
) server umms_elastic OPTIONS (
index 'test',
doc_type '_doc',
column_name_translation 'true'
);
CREATE FOREIGN TABLE
postgres=# select * from public.test_es;
ERROR: Error in python: TypeError
DETAIL: search() got an unexpected keyword argument 'doc_type'

@rtkrruvinskiy Can you help?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions