docspell icon indicating copy to clipboard operation
docspell copied to clipboard

Simple search should be a substring search

Open madduck opened this issue 2 years ago • 2 comments

When a user searches for foo, I think they expect to be given results for files matching "foobar" too. Instead, matching a full word should be e.g. "foo".

madduck avatar Sep 08 '23 21:09 madduck

I can work on it. However, I'd like to ask first if this change of behavior would be accepted by the maintainer. (We might support both behaviors though configuration if we want to be conservative.)

v6ak avatar Oct 25 '23 15:10 v6ak

I think the simple ("in names") search already does this (from the ui). If you look at the request, a search foo results in the api call with *foo*.

eikek avatar Nov 01 '23 10:11 eikek