jonaswinkler / paperless-ng

A supercharged version of paperless: scan, index and archive all your physical documents
https://paperless-ng.readthedocs.io/en/latest/
GNU General Public License v3.0
5.38k stars 352 forks source link

[BUG] Search only considers whole word matches, but cannot be substring of a word #1581

Open Forceu opened 2 years ago

Forceu commented 2 years ago

Describe the bug

No documents are returned that contain the search string as a substring. Eg. if I have a document called "Taxfile" and search for "Tax", the document is not returned

To Reproduce Steps to reproduce the behavior: See above

Expected behavior Documents containing the string as a substring should be returned. If that is not desirable, there should be at least an option.

Relevant information

CheckDaMaika commented 2 years ago

Hi,

It should work, if you use the wildcard char * e.g Tax* or *Tax*.

Forceu commented 2 years ago

Ah I didn't realise that you have to use a wildcard now. I think it used to be differently? It would be nice to have an option to change between these modes

skorvek commented 2 years ago

This should be added to the user documentation