how works search? #446

Closed
opened 2026-02-04 20:04:26 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @turbotankist on GitHub (Sep 28, 2017).

Hello!
I have imported pages from jira direct to mysql
INSERT INTO pages VALUES (id, book_id, chapter_id, name, slug, html,
text , priority, created_at, created_at, 1, 1, 0, 0, markdown, 1)
These pages are ok in my book. But search don't work with it.
I see the "search_terms" table in DB and it is empty. Can I fix it?

Or how can I create page by POST request in web no direct database?

Originally created by @turbotankist on GitHub (Sep 28, 2017). Hello! I have imported pages from jira direct to mysql INSERT INTO pages VALUES (id, book_id, chapter_id, name, slug, html, text , priority, created_at, created_at, 1, 1, 0, 0, markdown, 1) These pages are ok in my book. But search don't work with it. I see the "search_terms" table in DB and it is empty. Can I fix it? Or how can I create page by POST request in web no direct database?
Author
Owner

@ssddanbrown commented on GitHub (Sep 28, 2017):

Hi @turbotankist,

You will need to rebuild the search index after a manual import. You can do this by running the following commands from your BookStack install folder:

php artisan bookstack:regenerate-search
@ssddanbrown commented on GitHub (Sep 28, 2017): Hi @turbotankist, You will need to rebuild the search index after a manual import. You can do this by running the following commands from your BookStack install folder: ``` php artisan bookstack:regenerate-search ```
Author
Owner

@turbotankist commented on GitHub (Sep 29, 2017):

Thanks!
That's what i need!
Works perfect.

@turbotankist commented on GitHub (Sep 29, 2017): Thanks! That's what i need! Works perfect.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#446