Strange Search results

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Hacker
Moderator
Moderator
Posts: 13052
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Strange Search results

Post by *Hacker »

alphonse68,
Cannot download without login or signup.
Have you checked the "Office xml" option in Search?

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: Strange Search results

Post by *Usher »

2alphonse68
It's nothing strange here, it's standard plain text search. It's NOT an Internet-like search.
When you type a few words in "Find text" field, TC will search for a whole string rather than for separate words. In web search you must use quotes for this purpose.
You should use regular expression in your search. See RegEx (2) there?

As regexp learning may take a long time, you can try another method now:
1. Search for a single word, which seems to be the most specific for your document (you're almost sure that it's not used in other docs).
2. If there's more results, use "Feed to listbox" button, then select all the results with Ctrl+A (or Grey *) and repeat search using the next word from your list.
3. Repeat step 2. if needed.

With this method I did successful searches in directory containing 10 thousand files using 5-7 keywords.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Strange Search results

Post by *Dalai »

Which type are your Word documents: DOC or DOCX? Only DOCX files can be search with the Office xml option in TC's search function.

It might be a good idea to shorten the search string to only a couple of words, i.e. removing all preceding and trailing dots, commas etc.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: Strange Search results

Post by *Usher »

2alphonse68

Once again:

1. Use a single word or a pair of words as a search key. A pair are two neighbouring words, one next to another, in one line. F.e. in the text "Three Class Examples" you have two pairs: "three class" and "class examples"; "three examples" is not a pair. However, there may be non-breaking spaces in the source files or homoglyphs used for letters, f.e. Cyrillic "а" rather than Latin "a" (it's some kind of anti-plagiarism protection). There may be also invisible soft hyphens or HTML/XML formatting tags.
In such cases search may fail even for a single word (and even when using copy and paste).

2. For standard *.doc you should mark both ANSI and Unicode UTF-16 options, for docx you should mark also Office XML option. There are also old text files with doc extension which could be searched with ASCII option, and new ones saved in UTF-8, so you should better mark all options.

And 600 files is a piece of cake for desktop, but you have mentioned TC for Android:
alphonse68 wrote: 2019-04-17, 03:29 UTCA fresh, bare-bones installation of 64-bit Total Commander 3.0b1
So which TC version do you mean?
Andrzej P. Wozniak
Polish subforum moderator
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Strange Search results

Post by *petermad »

2alphonse68
You are welcome to send me some of you test files, then I can upload them for all of us to test...
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply