Page 1 of 1

Search Files on Contents fails - tips/tricks, or bug?

Posted: 13 Aug 2024 16:43
by tim11g
XY 26.20.0100
I saw the thread on "Search files on contents does not work for CP437 box characters" but I have a case where the search will not match a simple word.

I have a compound search where I have a name filter and a contents filter. The name filter alone works properly and selects 172 results in a folder of about 3000 files. When I add the text for a Contents filter, there are zero results.
The Contents search term is "Pipeline" (without quotes)
No other filters other than Name and Contents are used.
I know there is at least one file in the folder with the word "Pipeline" - I've opened it and searched internally.
The file containing the text is PowerPoint PPTX. The Mode is Normal, The Type is Text, match case and other checkbox options are not checked.

In the matching file, the word "Pipeline" appears in the title of slide 17.

Am I missing something in how Contents search works, or is this a a bug?

Re: Search Files on Contents fails - tips/tricks, or bug?

Posted: 13 Aug 2024 16:49
by admin
Select a file that you know contains "Pipeline" and run this script through the address bar: text extracttext(); Does the extracted text contain "Pipeline"?

Re: Search Files on Contents fails - tips/tricks, or bug?

Posted: 14 Aug 2024 01:15
by tim11g
The scripting window that appears contains:

Code: Select all

File: (Internal)
Script: (Untitled)
text extracttext(); 
At the bottom, there is an error:

Code: Select all

Failed to load an Ifilter. Error 80004005

Re: Search Files on Contents fails - tips/tricks, or bug?

Posted: 14 Aug 2024 02:41
by jupe
Configuration | Other | Shell Integration | 64-bit Windows | [x] Use 64-bit IFilters for content search
Configuration | Other | Shell Integration | 64-bit Windows | [x] Fall back to IFilters of the other bitness

Re: Search Files on Contents fails - tips/tricks, or bug?

Posted: 14 Aug 2024 14:47
by tim11g
That fixes it - thank you!

Re: Search Files on Contents fails - tips/tricks, or bug?

Posted: 15 Aug 2024 16:23
by tim11g
Actually, not solved.

I started using the content search now that it functions.
Today, XY hung up on a search - hourglass cursor, "Not Responding" in title bar.
I let it go for about 10 minutes, and finally killed it.
When I restarted XY, content search no longer worked, and I discovered the two setting for Ifilters had become unchecked.

I re-checked them and tried again.
I dialog XY64contents.exe appeared saying "Could not close the previous instance of this script. Keep waiting?

I selected No, and XY was hung again. This time I used resource monitor, and terminated all XYplorer and XY64contents.exe instances before re-starting.

Ifilters checkboxes were cleared again when restarting?

Re: Search Files on Contents fails - tips/tricks, or bug?

Posted: 15 Aug 2024 16:41
by highend
Save your settings after ticking the checkboxes...