File search and Diacritics

English support forum

Moderators: Hacker, petermad, Stefan2, white

Izibia
Junior Member
Junior Member
Posts: 33
Joined: 2013-11-15, 23:31 UTC

File search and Diacritics

Post by *Izibia »

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 ...?
User avatar
Dalai
Power Member
Power Member
Posts: 9948
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: File search and Diacritics

Post by *Dalai »

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
Izibia
Junior Member
Junior Member
Posts: 33
Joined: 2013-11-15, 23:31 UTC

Re: File search and Diacritics

Post by *Izibia »

Dalai wrote: 2024-09-19, 10:28 UTC Do you have an example?
Image: https://i.postimg.cc/VkYkhrRM/tc-diacritics.jpg
User avatar
Dalai
Power Member
Power Member
Posts: 9948
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: File search and Diacritics

Post by *Dalai »

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
Izibia
Junior Member
Junior Member
Posts: 33
Joined: 2013-11-15, 23:31 UTC

Re: File search and Diacritics

Post by *Izibia »

Dalai wrote: 2024-09-19, 13:37 UTC Does Everything itself get the same results? If so, I don't see any problem.
:) Me too, in such situation I wouldn't see any problem with TC.

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)
User avatar
tuska
Power Member
Power Member
Posts: 4046
Joined: 2007-05-21, 12:17 UTC

Re: File search and Diacritics

Post by *tuska »

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.
Everything 1.5.0.1383a (x64)

Code: Select all

Search				Finds
------------------------------------------------------
diacritics:článek.txt		článek.txt
no-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: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
User avatar
tuska
Power Member
Power Member
Posts: 4046
Joined: 2007-05-21, 12:17 UTC

Re: File search and Diacritics

Post by *tuska »

Everything 1.4.1.1026 (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
User avatar
tuska
Power Member
Power Member
Posts: 4046
Joined: 2007-05-21, 12:17 UTC

Re: File search and Diacritics

Post by *tuska »

Hi,
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
You can exclude diacritical marks in the search results as follows:

Code: Select all

"Path\" !diacritics:článek.txt
! = NOT
In this case, only e.g. the file: clanek.txt is found.

 
Izibia wrote: 2024-09-19, 11:42 UTC Image: https://i.postimg.cc/VkYkhrRM/tc-diacritics.jpg
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 ?
Izibia
Junior Member
Junior Member
Posts: 33
Joined: 2013-11-15, 23:31 UTC

Re: File search and Diacritics

Post by *Izibia »

tuska wrote: 2024-09-19, 22:13 UTC  
Izibia wrote: 2024-09-19, 11:42 UTC Image: https://i.postimg.cc/VkYkhrRM/tc-diacritics.jpg
As a search result, I would have expected clanek.txt in your image.
Yes. This was the reason why I started this thread.
Everything found clanek.txt článek.txt (corrected), TC didn't.
Is the drive F: or the folder F:\00\ indexed in Everything?
Everything Options > Indexes > NTFS -or- Folders

Everything Options > Exclude ?
The drive was listed among indexed NTFS disks.
"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.
Izibia
Junior Member
Junior Member
Posts: 33
Joined: 2013-11-15, 23:31 UTC

Re: File search and Diacritics

Post by *Izibia »

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			- 			-
I thought that Search Modifiers (like diacritics) were expected to work in version 1.5 only?
void wrote in https://www.voidtools.com/forum/viewtopic.php?t=10860 wrote: All search modifiers available in Everything 1.5.
Probably the meaning was "some modifiers are functional in 1.4"?


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
You are talking about TC or Everything? And what represents "Path\" here?

I am sorry, I am not digged in TC and in Everything much.
User avatar
tuska
Power Member
Power Member
Posts: 4046
Joined: 2007-05-21, 12:17 UTC

Re: File search and Diacritics

Post by *tuska »

Izibia wrote: 2024-09-19, 23:29 UTC
tuska wrote: 2024-09-19, 22:13 UTC
Izibia wrote: 2024-09-19, 11:42 UTC Image: https://i.postimg.cc/VkYkhrRM/tc-diacritics.jpg
As a search result, I would have expected clanek.txt in your image.
Yes. This was the reason why I started this thread.
Everything found clanek.txt, TC didn't.
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?
Izibia wrote: 2024-09-19, 23:29 UTC
Is the drive F: or the folder F:\00\ indexed in Everything?
Everything Options > Indexes > NTFS -or- Folders
The drive was listed among indexed NTFS disks.

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?
The search in Everything is INDEXED, but NOT indexed in Total Commander. That's what makes the difference.
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.
Izibia wrote: 2024-09-19, 23:53 UTC I thought that Search Modifiers (like diacritics) were expected to work in version 1.5 only?
void wrote in https://www.voidtools.com/forum/viewtopic.php?t=10860 wrote: All search modifiers available in Everything 1.5.
Probably the meaning was "some modifiers are functional in 1.4"?
No.
This is just a description of Everything 1.5 Alpha.
Izibia wrote: 2024-09-19, 23:53 UTC
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
You are talking about TC or Everything? And what represents "Path\" here?
"Path\" means that you can insert your path here, e.g. "f:\00\" searchtext
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
Search result: č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
Search result: článek.txt
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: File search and Diacritics

Post by *ghisler(Author) »

In Total Commander, the (TC) prefix ed: or ev: is required when using Everything Parameters.
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.
Author of Total Commander
https://www.ghisler.com
Izibia
Junior Member
Junior Member
Posts: 33
Joined: 2013-11-15, 23:31 UTC

Re: File search and Diacritics

Post by *Izibia »

tuska wrote: 2024-09-20, 08:36 UTC
Izibia wrote: 2024-09-19, 23:29 UTC Yes. This was the reason why I started this thread.
Everything found clanek.txt, TC didn't.
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.
Izibia
Junior Member
Junior Member
Posts: 33
Joined: 2013-11-15, 23:31 UTC

Re: File search and Diacritics

Post by *Izibia »

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)
User avatar
tuska
Power Member
Power Member
Posts: 4046
Joined: 2007-05-21, 12:17 UTC

Re: File search and Diacritics

Post by *tuska »

ghisler(Author) wrote: 2024-09-20, 10:10 UTC
In Total Commander, the (TC) prefix ed: or ev: is required when using Everything Parameters.
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.
If Everything Parameters, such as diacritics:, are used in Total Commander
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?
Post Reply