Live Helper Chat support forum.. Old google groups forum can be found here

You are not logged in.

Announcement

#1 2021-01-14 10:41:29

elplaza
Member
Registered: 2020-12-07
Posts: 25

Elasticsearch extension upgrade

Hi,
I'm working to upgrade my LHC version and all installed extensions.

Old Elasticsearch extension settings.ini.php had:
    'index'               => 'chat',
    'index_search'  => 'chat*',

So I upgrade this extension and set in settings.ini.php same index configuration:
    'index'               => 'chat',
    'index_search'  => 'chat*',

But, in admin panel in Modules --> ElastichSearch, he says:

Elastic structure check
Elastic index not exist

Array
(
    [0] => chat-lh_chat
    [1] => chat-lh_msg
    [2] => chat-lh_os
    [3] => chat-lh_pc
    [4] => chat-lh_op
)

I'm using AWS ElasticSearch Service and, in it's admin panel, all index exists!

Maybe the '-' character is the reason for this "unmatching" ?

Thanks in advance

Offline

#2 2021-01-14 10:43:42

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,409
Website

Re: Elasticsearch extension upgrade

Elastic search indexes were changed. So you will need just re-index all chats after creating fresh indices. Or you can do rename using elastic itself.

Offline

#3 2021-01-14 14:09:29

elplaza
Member
Registered: 2020-12-07
Posts: 25

Re: Elasticsearch extension upgrade

Ok, thanks remdex

Offline

#4 2021-01-20 08:32:20

elplaza
Member
Registered: 2020-12-07
Posts: 25

Re: Elasticsearch extension upgrade

Hi remdex,
I create a new ElasticSearch instance (v7.9), cloned master branch of LHC elasticsearch extension, follow readme and it goes better
but indexes view is "sformatted", something like:
    Array
(
    [chat-lh_chat-lh_chat] => Array
        (
            [mappings] => Array
                (
                    [properties] => Array
                        (
                            [additional_data] => Array
                                (
                                    [type] => text
                                    [index] =>
                                )

                            [auto_responder_id] => Array
                                (
                                    [type] => integer
                                )
. . .


p.s. where is the section with statistics ?

Thanks in advance,

Offline

#5 2021-01-20 08:34:33

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,409
Website

Re: Elasticsearch extension upgrade

At the bottom of view should be.

First goes Mapping seciton in index view afterward stats.

Offline

#6 2021-01-20 08:43:46

elplaza
Member
Registered: 2020-12-07
Posts: 25

Re: Elasticsearch extension upgrade

Thanks for the answer.

Under Mapping I have that array printed  cry

Offline

#7 2021-01-20 08:45:14

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,409
Website

Re: Elasticsearch extension upgrade

Please write in discord chat. I don't have time to paste screenshots here :d

Offline

Board footer