Topic on Extension talk:CirrusSearch

CirrusSearch does not update automatically

4
Davidgbc (talkcontribs)

Hi,

we are currently using Mediawiki 1.39.4, PHP 7.4.33, MariaDB 10.4.12 and Elasticsearch 7.10.2.

I got the task to update the wiki in my company from version 1.35 to 1.39. Only now I am confused with CirrusSearch and Elasticsearch (we use locally on the server).

On the extension page of CirrusSearch it says you need Elasticsearch version 7.10.2, but in the CirrusSearch README it says that only version 6.8 is supported. Which of these is true?

I followed the steps in the README normally and the search works fine.

But when I create a new article it is not found in Special:Search, the content is not found either.


Please help me... :(

Ciencia Al Poder (talkcontribs)

The README is outdated. The correct version is on the wiki page.

Updates to the search index are triggered by jobs. See Manual:Job queue. Check if jobs are running, or if they're failing, or there's a large backlog of jobs that may delay the indexation of new content.

Davidgbc (talkcontribs)

Thanks for the answer, but shouldn't new pages still be indexed automatically?

We have a separate department in the company that only edits wiki pages and they say it worked with the old version...

If I create a job, then I would have to index the database very often, or how should such a job look, that a new page is found directly? I don't get on at all

Ciencia Al Poder (talkcontribs)

You don't have to create jobs, they're automatically created by MediaWiki (usually after saving an edit on a page or performing any other modification) and placed on the job queue. Then, jobs are picked from the queue on following page loads, or by a job runner, depending how did you configure things. See Manual:Job queue for more information.

Checking if there are stuck jobs with Manual:showJobs.php and setting custom log groups for exceptions may give you more information.

Reply to "CirrusSearch does not update automatically"