scragg0x / realms-wiki

Git based wiki inspired by Gollum
http://realms.io
GNU General Public License v2.0
833 stars 90 forks source link

Add Whoosh as an alternate search backend #40

Closed ghtyrant closed 9 years ago

ghtyrant commented 9 years ago

I've added Whoosh (https://bitbucket.org/mchaput/whoosh/wiki/Home) as a search backend to the search module.

Few notes:

scragg0x commented 9 years ago

This is great! I will try it out when I get a chance. I might make this the default, rather than the simple search since it doesn't require any extra running services. The in function imports are fine afaik. It will decrease overhead for people that choose to use a different search type.

I think how you handled the language analyzer is fine. I may add an application wide language config option and whoosh and other things can reference that.

zeigerpuppy commented 8 years ago

whoosh search doesn't seem to be working for me, it returns empty results. The index is created, so I know its not a permission issue. Is there any way to debug this?