frappe / wiki

Free and Open Source Wiki built on top of Frappe
https://frappe.io/wiki
MIT License
226 stars 174 forks source link

Search is not working #205

Open precihole opened 9 months ago

precihole commented 9 months ago

Hello,

the search option of wiki is not working as shown in below, image

image

the3dfox commented 7 months ago

Standard search in a V15 bench works for me, but I get no results using the Redisearch option

casesolved-co-uk commented 1 day ago

Standard search in a V15 bench works for me, but I get no results using the Redisearch option

I don't get any results using the standard search, same as OP. I believe there is a separate service you have to install for redisearch to work.

The Wiki Page search.py rebuild_index only appears to build the redis search index. I can't find anything that triggers the standard frappe websearch index which is in:

sites/[site]/indexes/web_routes

casesolved-co-uk commented 1 day ago

I ticked Include Search in Top Bar in Website Settings and it started working. Not sure if that's what fixed it or my search terms. Then disabled it and it's still working.

casesolved-co-uk commented 1 day ago

It appears to prioritise headings; some search words that you know are in the text definitely don't give results.