wiki icon indicating copy to clipboard operation
wiki copied to clipboard

Search Only Searches The Name of Pages

Open Ashkaan opened this issue 5 years ago • 2 comments

Describe the bug The search function does not provide results for any body or header text. The only results provided are of the names of pages.

To Reproduce Steps to reproduce the behavior:

  1. Go to Search
  2. Type anything you know is on a page
  3. See no results

Expected behavior I would expect to be able to search text body, headers, and page names.

Screenshots Screen Shot 2021-01-13 at 4 07 01 PM The phrase "pay day" is on several pages.

Screen Shot 2021-01-13 at 4 07 27 PM The word "welcome" is on several pages.

Host Info (please complete the following information):

  • OS: Docker
  • Wiki.js version: 2.5.170
  • Database engine: "Database - Basic" (I think this is file based)

Additional context This instance is totally default with no interesting settings.

Ashkaan avatar Jan 14 '21 00:01 Ashkaan

I don't think this is an issue, but simply the default demo setting (only searches page title + description), see here: see this: https://requarks.canny.io/wiki/p/search-for-content-and-title

If you think the default search functionality should be extended for easier demo purposes, you can upvote this: https://requarks.canny.io/wiki/p/search-page-content

arnerb avatar Jan 18 '21 09:01 arnerb

I see. That makes sense. I shouldn't have assumed the search was searching body as well. I upgraded the search by changing to Postgres.

Ashkaan avatar Mar 12 '21 23:03 Ashkaan