Need advice on search with acute accent + results order

Hello dear DEVONthink community,

I recently discovered that DEVONthink appears to handle search queries with, e.g., “Pepin” and “Pépin” differently.

I was certain I already had a specific Jacques Pépin book in my database, but when searching for “Pepin” (without the accent), I could only find a subset of books by that author — not the one I needed. Assuming the file was missing, I re-imported the book.

Only later did I realize that searching for “Pépin” (with the acute accent) returns significantly more results.

On one hand, this totally makes sense. On the other hand, I imagine many users would type “Pepin” rather than “Pépin” unless they regularly write in French :slight_smile:

search result #1 with “Pepin”.

search result #2 with “Pépin”. Marked red is the search result I needed.

Additionally, when doing the exact same search in DEVONthink To Go 4, the results are ordered very differently compared to DEVONthink 4, even though I’m using sorting by “Relevance.”

For example, the book I was searching for appears as:

  • #2 in DEVONthink 4

  • #14 in DTTG4

So I have a few questions:

  1. Is this expected behavior regarding accented characters?

  2. Is there a way to make DEVONthink treat “Pepin” and “Pépin” as equivalent in search?

  3. Why would relevance ranking differ so much between DEVONthink 4 and DTTG4?

I’d really appreciate any insight into how DEVONthink handles indexing, accents/diacritics, and sorting of the results across DT4 & DTTG4.

Thank you!

In DEVONthink and DEVONthink To Go’s search options, under the magnifying glass on desktop and in the search field’s Action (…) menu on mobile, choose Ignore Diacritics.

1 Like

Thank you, Jim. I see that in DEVONthink on Mac it was not selected, whereas on DTTG4 (“Ignore diacritics”) was already checked. DT4 on my mac now returns way more results!

Do you have an idea why the search results order is so different in DT4 and DTT4…? Thanks!

They aren’t the same underlying technologies at all. And DEVONthink also uses it’s own internal AI to determine a statistical score and heat map scale. DEVONthink To Go has no such internal functions.

1 Like

Thanks a lot! That answers all the questions and the “ignore diacritics” search option solves my use case as well! :folded_hands:

1 Like

You’re welcome :slight_smile: