mirror of https://github.com/django/django.git
[3.1.x] Corrected note about long names in search docs.
Backport of fcad0b1324
from master
This commit is contained in:
parent
eda59ba2ec
commit
42f8c085a6
|
@ -66,8 +66,8 @@ For example::
|
||||||
Now we have a different problem - the longer name of "Helena Bonham Carter"
|
Now we have a different problem - the longer name of "Helena Bonham Carter"
|
||||||
doesn't show up as it is much longer. Trigram searches consider all
|
doesn't show up as it is much longer. Trigram searches consider all
|
||||||
combinations of three letters, and compares how many appear in both search and
|
combinations of three letters, and compares how many appear in both search and
|
||||||
source strings. For the longer name, there are more combinations which appear
|
source strings. For the longer name, there are more combinations that don't
|
||||||
in the source string so it is no longer considered a close match.
|
appear in the source string, so it is no longer considered a close match.
|
||||||
|
|
||||||
The correct choice of comparison functions here depends on your particular data
|
The correct choice of comparison functions here depends on your particular data
|
||||||
set, for example the language(s) used and the type of text being searched. All
|
set, for example the language(s) used and the type of text being searched. All
|
||||||
|
|
Loading…
Reference in New Issue