]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Fixes the documentation for fuzzy matching (#4207)
authorTrenton H <797416+stumpylog@users.noreply.github.com>
Tue, 19 Sep 2023 14:46:13 +0000 (07:46 -0700)
committerGitHub <noreply@github.com>
Tue, 19 Sep 2023 14:46:13 +0000 (07:46 -0700)
docs/advanced_usage.md

index 957d5287e19b42491c26730dab7b2ef6fedd3de6..3980261e62a34be538d1f09ab40b3aef4f53c592 100644 (file)
@@ -35,7 +35,8 @@ The following algorithms are available:
   (i.e. preserve ordering) in the PDF.
 - **Regular expression:** Parses the match as a regular expression and
   tries to find a match within the document.
-- **Fuzzy match:** I don't know. Look at [the source](https://github.com/paperless-ngx/paperless-ngx/blob/main/src/documents/matching.py).
+- **Fuzzy match:** Uses a partial matching based on locating the tag text
+  inside the document, using a [partial ratio](https://maxbachmann.github.io/RapidFuzz/Usage/fuzz.html#partial-ratio)
 - **Auto:** Tries to automatically match new documents. This does not
   require you to set a match. See the [notes below](#automatic-matching).