Topic on Project:Support desk

[RESOLVED] Searching words in page contents

10
91.46.143.66 (talkcontribs)

When entering a searchstring that does not match a page name and clicking on "contains" no search results are displayed. Instead it is offered to create a new page.

Question is, how full text search in version 1.23.7 is supposed to work?

91.46.177.135 (talkcontribs)

No answers? Did I miss something?

I have compiled mediawiki with sqlite3 as database.

Any hints are appreciated.

Ciencia Al Poder (talkcontribs)
91.46.131.207 (talkcontribs)

My sqlite3 is compiled with FTS3 option and related commands work when entered in sqlite3.

What to do next?

This post was posted by 91.46.131.207, but signed as 91.46.131.132.

Ciencia Al Poder (talkcontribs)

I have no idea. Maybe try to rebuild the search index?

91.46.134.95 (talkcontribs)

Thank you so much! Having done so full text search works. Now a last question: Has this to be done manually or might there be some misconfiguration that caused the problem?

This post was posted by 91.46.134.95, but signed as 91.46.135.241.

Ciencia Al Poder (talkcontribs)

The search index should be updated whenever you make an edit (just for that page), otherwise it may be a bug affecting sqlite.

91.46.160.219 (talkcontribs)

I tested this. New added text to an existing page is not recognized when searched. Obviously the index is not rebuild after an edit.

This post was posted by 91.46.160.219, but signed as 91.46.160.66.

Florianschmidtwelzow (talkcontribs)

Have you set $wgDisableSearchUpdate = false; in your LocalSettings.php?

91.46.184.58 (talkcontribs)

Negative. Regarding search I have only this line

$wgDisableTextSearch = false;

This post was posted by 91.46.184.58, but signed as 91.46.182.146.

Reply to "[RESOLVED] Searching words in page contents"