manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hans Van Goethem (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CONNECTORS-1431) Make Elasticsearch connector compatible with ES 5.x
Date Fri, 14 Jul 2017 07:52:00 GMT

     [ https://issues.apache.org/jira/browse/CONNECTORS-1431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hans Van Goethem updated CONNECTORS-1431:
-----------------------------------------
    Attachment: text.html

Only POST is supported for this action, ref.: https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-forcemerge.html.
Because _forgemerge is for optimising the ES-index it’s not a required option in manifoldcf,
just nice to have

GET http://localhost:9200/index/_forcemerge returns

ES: Commit failed: {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"No
endpoint or operation is available at [_forcemerge]"}],"type":"illegal_argument_exception","reason":"No
endpoint or operation is available at [_forcemerge]"},"status":400}

On 14 Jul 2017, at 09:38, Karl Wright (JIRA) <jira@apache.org<mailto:jira@apache.org>>
wrote:


   [ https://issues.apache.org/jira/browse/CONNECTORS-1431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16086984#comment-16086984
]

Karl Wright commented on CONNECTORS-1431:
-----------------------------------------

Hi [~hansvgoet], why is it necessary to use POST?  Does GET not work properly for some reason?
 I can make this change but it complicates the code dramatically so I need to understand why
it is needed.


Make Elasticsearch connector compatible with ES 5.x
---------------------------------------------------

               Key: CONNECTORS-1431
               URL: https://issues.apache.org/jira/browse/CONNECTORS-1431
           Project: ManifoldCF
        Issue Type: New Feature
        Components: ElasticSearch component
  Affects Versions: ManifoldCF 2.7
       Environment: CentOs7, Java8, PostgreSQL 9.2
          Reporter: Hans Van Goethem
          Assignee: Karl Wright
          Priority: Critical
            Labels: beginner
           Fix For: ManifoldCF 2.8


Usage of "Optimize API" must be replace by ForgeMerge. [https://www.elastic.co/guide/en/elasticsearch/reference/2.4/indices-optimize.html]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)



> Make Elasticsearch connector compatible with ES 5.x
> ---------------------------------------------------
>
>                 Key: CONNECTORS-1431
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1431
>             Project: ManifoldCF
>          Issue Type: New Feature
>          Components: ElasticSearch component
>    Affects Versions: ManifoldCF 2.7
>         Environment: CentOs7, Java8, PostgreSQL 9.2
>            Reporter: Hans Van Goethem
>            Assignee: Karl Wright
>            Priority: Critical
>              Labels: beginner
>             Fix For: ManifoldCF 2.8
>
>         Attachments: text.html
>
>
> Usage of "Optimize API" must be replace by ForgeMerge. [https://www.elastic.co/guide/en/elasticsearch/reference/2.4/indices-optimize.html]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message