Search Engine plugin - is documentation up to date?

Moderator: crythias

Post Reply
lis9
Znuny newbie
Posts: 55
Joined: 13 Apr 2017, 11:27
Znuny Version: 6.5.4
Real Name: Daniel
Company: Komputronik S.A.

Search Engine plugin - is documentation up to date?

Post by lis9 »

Hello!

In documentation to Znuny-Search plugin there is [1.3.1]:

“Daemon::SchedulerCronTaskManager::Task###SearchEngineReindex”, cron task which re-indexes data at specified time when there is a mismatch between sql and elasticsearch object count,
[...]
• “Daemon::SchedulerCronTaskManager::Task###CustomEngineSynchronizeData”, cron task that synchronizes “CustomerUser” index data with SQL data (turned off by default),


In fact there isn't SearchEngineReindex Task in System Config, and CustomEngineSynchronizeData Task calls Maint::Search::Reindex console command.

Does this mean, that there isn't currenly job which re-indexes data when ther is mismatch in objects count between DB and ES?
The description of that console command says:
Maint::Search::Reindex - Re-index all data for specified indexes. This includes deleting all specified index data first.

Does CustomEngineSynchronizeData always removes all indexes instead of syncing them (for instance CustomerUser data and other indexes)?

The other thing, at the end of point 1.2.1:
Standard Search API (Kernel::System::Search->Search(..)) for CustomerUser also needs this configuration.

Can somebody explain what exactly should I modify?
Johannes
Moderator
Posts: 393
Joined: 30 Jan 2008, 02:26
Znuny Version: All of them ^^
Real Name: Hannes
Company: Znuny|OTTERHUB

Re: Search Engine plugin - is documentation up to date?

Post by Johannes »

Hi,

please wait a bit. We updated the code over the last weeks and will create a final release around next week.
The documentation is one of the last issues on the list.
Post Reply