File search and Diacritics
Moderators: Hacker, petermad, Stefan2, white
File search and Diacritics
Situation:
- Everything is installed
- "Match diacritics" in Everything is OFF
- TC still matches diacritics within file names in Alt-F7 search
Maybe I am doing something wrong, or this is intended ...?
- Everything is installed
- "Match diacritics" in Everything is OFF
- TC still matches diacritics within file names in Alt-F7 search
Maybe I am doing something wrong, or this is intended ...?
Re: File search and Diacritics
Do you have an example?
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: File search and Diacritics
The TC in your screenshot shows "No files found". Does Everything itself get the same results? If so, I don't see any problem.
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: File search and Diacritics
Dalai wrote: 2024-09-19, 13:37 UTC Does Everything itself get the same results? If so, I don't see any problem.

But standalone Everything (running besides TC) works as expected, in the same moment when TC fails.
r==r
r==ř
r==ŕ
etc.
I tried several tests within one computer.
TC 11.03 64-bit
Everything 1.4.1.1026 (x64)
Re: File search and Diacritics
Everything 1.5a --- diacritics: - no-diacritics:
diacritics: - no-diacritics - diac: - no-diac:
diacritics:
no-diacritics:
diac:
no-diac:
Match or ignore accent marks.
For example:
diacritics:"Déjà Vu"
Default: Use the Match Diacritics setting under the Search menu.
diacritics:
no-diacritics:
diac:
no-diac:
Match or ignore accent marks.
For example:
diacritics:"Déjà Vu"
Default: Use the Match Diacritics setting under the Search menu.
Code: Select all
Search Finds
------------------------------------------------------
diacritics:článek.txt článek.txt
no-diacritics:článek.txt clanek.txt, článek.txt
Code: Select all
Search Finds My Default Check
-------------------------------------------------------------------------------------------------------
ed:diacritics:článek.txt článek.txt
ed:no-diacritics:článek.txt clanek.txt, článek.txt
ed:článek.txt clanek.txt, článek.txt ) Match Diacritics: DISABLED ) OK
ed:clanek.txt clanek.txt, článek.txt ) in Everything 1.5.0.1383a x64 ) OK
Code: Select all
Search Finds
------------------------------------------------------------------------------------------------------
✅ 'Everything' in TC
článek.txt článek.txt
clanek.txt clanek.txt
🔲 'Everything' in TC
článek.txt článek.txt
clanek.txt clanek.txt
'Everything' 1.5.0.1383a (x64) portable on systemdrive C: | Troubleshooting
Search queries: Total Commander <=> 'Everything' <= Windows Search
Re: File search and Diacritics
Everything 1.4.1.1026 (x64)
Total Commander 11.03 (x64)
Code: Select all
Search Finds Context menu <-> Footer
--------------------------------------------------------------------------------------------------
diacritics:článek.txt článek.txt - -
článek.txt článek.txt Match Diacritics DIACRITICS
článek.txt clanek.txt, článek.txt - -
Total Commander 11.03 (x64)
Code: Select all
Search Finds My Default Check
-------------------------------------------------------------------------------------------------------
ed:diacritics:článek.txt článek.txt
ed:článek.txt clanek.txt, článek.txt ) Match Diacritics: DISABLED ) OK
) in Everything 1.4.1.1026 x64 ) OK
Code: Select all
Search Finds
------------------------------------------------------------------------------------------------------
✅ 'Everything' in TC
článek.txt článek.txt
clanek.txt clanek.txt
🔲 'Everything' in TC
článek.txt článek.txt
clanek.txt clanek.txt
Re: File search and Diacritics
Hi,
! = NOT
In this case, only e.g. the file: clanek.txt is found.
Is the drive F: or the folder F:\00\ indexed in Everything?
Everything Options > Indexes > NTFS -or- Folders
Everything Options > Exclude ?
You can exclude diacritical marks in the search results as follows:Izibia wrote: 2024-09-19, 09:58 UTC - "Match diacritics" in Everything is OFF
- TC still matches diacritics within file names in Alt-F7 search
Code: Select all
"Path\" !diacritics:článek.txt
In this case, only e.g. the file: clanek.txt is found.
As a search result, I would have expected clanek.txt in your image.
Is the drive F: or the folder F:\00\ indexed in Everything?
Everything Options > Indexes > NTFS -or- Folders
Everything Options > Exclude ?
Re: File search and Diacritics
Yes. This was the reason why I started this thread.tuska wrote: 2024-09-19, 22:13 UTCAs a search result, I would have expected clanek.txt in your image.
Everything found clanek.txt článek.txt (corrected), TC didn't.
The drive was listed among indexed NTFS disks.Is the drive F: or the folder F:\00\ indexed in Everything?
Everything Options > Indexes > NTFS -or- Folders
Everything Options > Exclude ?
"Exclude" was empty.
My doubts:
1) "Automatically include new removable volumes" was off, the searched drive was an USB drive. Still Everyting indexes such disks without my interference and lists them among NTFS volumes, with "Include in database" and "Monitor changes" checked
2) I was curious how Everything could perform (and find results) almost immediately after a new large removable disk was attached. Especially if compared to TC without Everything: TC crawls files quite long
Anyway, I don't understand how TC can perform another way than Everything?
Last edited by Izibia on 2024-09-20, 10:38 UTC, edited 1 time in total.
Re: File search and Diacritics
I thought that Search Modifiers (like diacritics) were expected to work in version 1.5 only?tuska wrote: 2024-09-19, 21:59 UTC Everything 1.4.1.1026 (x64)
Code: Select all
Search Finds Context menu <-> Footer -------------------------------------------------------------------------------------------------- diacritics:článek.txt článek.txt - -
Probably the meaning was "some modifiers are functional in 1.4"?void wrote in https://www.voidtools.com/forum/viewtopic.php?t=10860 wrote: All search modifiers available in Everything 1.5.
You are talking about TC or Everything? And what represents "Path\" here?tuska wrote: 2024-09-19, 22:13 UTC You can exclude diacritical marks in the search results as follows:Code: Select all
"Path\" !diacritics:článek.txt
I am sorry, I am not digged in TC and in Everything much.
Re: File search and Diacritics
If the file ‘clanek.txt’ exists (and not just ‘článek.txt’), then ‘clanek.txt’ should also be found in Total Commander.
This is also confirmed by my test results.
It is interesting that the picture does NOT show a file ‘clanek.txt’. Where (in which path) is this file?
Did you perhaps want to search for ‘clanek.txt’ in TC and expected ‘článek.txt’ as the search result?
Do you find the file ‘clanek.txt’ in TC when you uncheck ‘Everything’ in the ‘Find Files (separate)’ window?
The search in Everything is INDEXED, but NOT indexed in Total Commander. That's what makes the difference.Izibia wrote: 2024-09-19, 23:29 UTCThe drive was listed among indexed NTFS disks.Is the drive F: or the folder F:\00\ indexed in Everything?
Everything Options > Indexes > NTFS -or- Folders
2) I was curious how Everything could perform (and find results) almost immediately
... after a new large removable disk was attached. Especially if compared to TC without Everything: TC crawls files quite long
Anyway, I don't understand how TC can perform another way than Everything?
A search result in Total Commander - using the ‘Everything’ tool! - can be obtained in real time.
(Everything 1.5a is even faster than Everything 1.4). See also the linked documentation above.
No.Izibia wrote: 2024-09-19, 23:53 UTC I thought that Search Modifiers (like diacritics) were expected to work in version 1.5 only?
Probably the meaning was "some modifiers are functional in 1.4"?void wrote in https://www.voidtools.com/forum/viewtopic.php?t=10860 wrote: All search modifiers available in Everything 1.5.
This is just a description of Everything 1.5 Alpha.
"Path\" means that you can insert your path here, e.g. "f:\00\" searchtextIzibia wrote: 2024-09-19, 23:53 UTCYou are talking about TC or Everything? And what represents "Path\" here?tuska wrote: 2024-09-19, 22:13 UTC You can exclude diacritical marks in the search results as follows:Code: Select all
"Path\" !diacritics:článek.txt
This is recommended for those [test] cases in which you want to narrow down the search.
In Everything, the search query is as follows, for example:
Code: Select all
"f:\00\" diacritics:článek.txt
In Total Commander, the (TC) prefix ed: or ev: is required when using Everything Parameters.
(A description of the respective prefix is available in the linked documentation).
In Total Commander, the search query is as follows, for example:
Code: Select all
ed:diacritics:článek.txt ; e.g. when you are in the TC directory: f:\00\
- OR -
ev:"f:\00\" diacritics:článek.txt
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: File search and Diacritics
This will show you unfiltered results from 'Everything'. If you just make a search without these prefixes and just check the 'Everything' option, TC will filter the returned files according to its own rules.In Total Commander, the (TC) prefix ed: or ev: is required when using Everything Parameters.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: File search and Diacritics
I am very sorry for the confusion!
I should write
Everything found článek.txt during the search of clanek.txt, TC didn't.
And there was no file with the name clanek.txt
(The original post is corrected now)
I will comment other text later.
Re: File search and Diacritics
Important news: last time TC worked as expected, identically with Everything.
I will have to find way how to reproduce the issue (my suspicion: several large external disks were connected when the issue arose)
I will have to find way how to reproduce the issue (my suspicion: several large external disks were connected when the issue arose)
Re: File search and Diacritics
If Everything Parameters, such as diacritics:, are used in Total Commanderghisler(Author) wrote: 2024-09-20, 10:10 UTCThis will show you unfiltered results from 'Everything'.In Total Commander, the (TC) prefix ed: or ev: is required when using Everything Parameters.
If you just make a search without these prefixes and just check the 'Everything' option,
TC will filter the returned files according to its own rules.
it is absolutely necessary to use either the Total Commander prefix ed: or ev:.
I can't see any connection with unfiltered search results of ‘Everything’.
I'm sorry, but I don't understand this statement.
Can you please give an example so that I can try to understand what you meant here?