Searching content of Microsoft Word documents

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
TedL1972
Posts: 78
Joined: 15 Nov 2018 18:49

Searching content of Microsoft Word documents

Post by TedL1972 »

I ran a search in a directory that has .txt files, excel documents,PDFs and Microsoft Word docs with .docx extension (MS Word 2016).

The "content search" does find a string in the .txt file and in an excel document but didn't find it in the Word .docx ones.

I ran several similar searches testing different type of contents that were clearly and obviously in the .docx files but what I get is always "the view is empty" serach result.

I tried this using both, the quicksearch (F3) and the form search (F12) - the results are always the same.

So, I don't know if this is the right section to post this because I cannot tell whether this is a "bug" or my lack of understanding on how the search work.

Pls enlighten me. Thanks.
XYPlorer 28.30.0100
Windows 10

admin
Site Admin
Posts: 66619
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Searching content of Microsoft Word documents

Post by admin »

Select one of those DOCX files in the file list, then run either of these script lines through the XYplorer address bar (paste there and press ENTER):

Code: Select all

text extracttext(<curitem>, 32, 1); //32-bit; suppress IFilter errors

Code: Select all

text extracttext(<curitem>, 64, 1); //64-bit; suppress IFilter errors
Does any of them or both return text?

Horst
Posts: 1400
Joined: 24 Jan 2021 12:27
Location: Germany

Re: Searching content of Microsoft Word documents

Post by Horst »

DOCX files are searched for text content fine here.
For my system without a Word installation the following iFilter is used:
WordpadFilter.dll Wordpad DOCX Filter WordPad Search Filters 10.0.22000.653 (WinBuild.160101.0800) 10.0.22000.653 Microsoft Corporation C:\Program Files\Windows NT\Accessories\WordpadFilter.dll {698A4FFC-63A3-4E70-8F00-376AD29363FB} {3037B4CD-A40B-401B-B676-2017EE8FAFF4} 05.06.2021 15:11:04
Windows 11 Home, Version 25H2 (OS Build 26200.9278)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1423b (x64), Everything Toolbar 3.2, Listary Pro 7.0.0.9 beta

TedL1972
Posts: 78
Joined: 15 Nov 2018 18:49

Re: Searching content of Microsoft Word documents

Post by TedL1972 »

To answer the admin question:

the code below returnes the entire content of the docx file on focus:

text extracttext(<curitem>, 64, 1); //64-bit; suppress IFilter errors

The first code returns an empty window.
XYPlorer 28.30.0100
Windows 10

admin
Site Admin
Posts: 66619
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Searching content of Microsoft Word documents

Post by admin »

In that case you should tick this box: Configuration | Other | Shell Integration | 64-bit Windows | Use 64-bit IFilters for content search

TedL1972
Posts: 78
Joined: 15 Nov 2018 18:49

Re: Searching content of Microsoft Word documents

Post by TedL1972 »

I did and content search works for MS Word docs now.

Thank you.
XYPlorer 28.30.0100
Windows 10

Post Reply