Search not returning correct results #1069

Closed
opened 2026-02-04 23:40:30 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @fairlygood on GitHub (Mar 3, 2019).

Describe the bug
The search function is not returning correct results. It appears to be simply listing the content of the installation. I can search for a nonsense word that definately does not exist and it will return the same 30 results as if I search for a term that I know exists.

Steps To Reproduce
Steps to reproduce the behavior:

  1. Perform a search.

Expected behavior
Return search results relevent to the keyword given

Your Configuration (please complete the following information):

  • Exact BookStack Version (Found in settings): BookStack v0.25.1
  • PHP Version: PHP 7.2.15-0ubuntu0.18.04.1
  • Hosting Method (Nginx/Apache/Docker): Nginx

Additional context

This issue arises whether searching across the installation, or within a book. I've also noticed that when I search within a book that the filer options reset as soon as I click submit. There does not appear to be any relevent errors in any of the log files available to me. I have tried to update the search index with php artisan, but to no avail.

Other than that, it's brilliant!

Originally created by @fairlygood on GitHub (Mar 3, 2019). **Describe the bug** The search function is not returning correct results. It appears to be simply listing the content of the installation. I can search for a nonsense word that definately does not exist and it will return the same 30 results as if I search for a term that I know exists. **Steps To Reproduce** Steps to reproduce the behavior: 1. Perform a search. **Expected behavior** Return search results relevent to the keyword given **Your Configuration (please complete the following information):** - Exact BookStack Version (Found in settings): BookStack v0.25.1 - PHP Version: PHP 7.2.15-0ubuntu0.18.04.1 - Hosting Method (Nginx/Apache/Docker): Nginx **Additional context** This issue arises whether searching across the installation, or within a book. I've also noticed that when I search within a book that the filer options reset as soon as I click submit. There does not appear to be any relevent errors in any of the log files available to me. I have tried to update the search index with php artisan, but to no avail. Other than that, it's brilliant!
Author
Owner

@ssddanbrown commented on GitHub (Mar 8, 2019):

Hi @ducatdusk,
Sorry to hear you're having problems with BookStack.

Could you visit the demo instance and let me know if the demo BookStack instance behaves different to your own one, in regards to the issues above?

@ssddanbrown commented on GitHub (Mar 8, 2019): Hi @ducatdusk, Sorry to hear you're having problems with BookStack. Could you visit the [demo instance](https://demo.bookstackapp.com/login?email=admin@example.com&password=password) and let me know if the demo BookStack instance behaves different to your own one, in regards to the issues above?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1069