diff --git a/docs/topics/db/search.txt b/docs/topics/db/search.txt index 04d84552df..3565159ecb 100644 --- a/docs/topics/db/search.txt +++ b/docs/topics/db/search.txt @@ -50,7 +50,7 @@ more useful. When dealing with non-English names, a further improvement is to use :lookup:`unaccented comparison `:: >>> Author.objects.filter(name__unaccent__icontains='Helen') - [, , ] + [, , ] This shows another issue, where we are matching against a different spelling of the name. In this case we have an asymmetry though - a search for ``Helen`` @@ -61,7 +61,7 @@ sequences of letters. For example:: >>> Author.objects.filter(name__unaccent__lower__trigram_similar='Hélène') - [, ] + [, ] 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