Problem when searching content in an XML file

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
PhilippeN
Posts: 2
Joined: Mon Mar 10, 2025 1:23 pm

Problem when searching content in an XML file

Post by PhilippeN »

Hello,

I'm trying to search for a string in an xml file.

This XML contains:
<initialize communication="xxx" version="xxx" tdr="true"/>

1. When entering this search request
*xml path:diver path:xxx
the xml file is returned -> OK

2. When entering this search request
*xml path:diver path:xxx content:tdr
the xml file is not returned -> NOK

3. I copy this xml as a txt file
When entering this search request
*txt path:diver path:xxx content:tdr
the xml renamed as txt file is returned -> OK

Is there a restriction concerning searching in an xml file?

Thanks.
NotNull
Posts: 5769
Joined: Wed May 24, 2017 9:22 pm

Re: Problem when searching content in an XML file

Post by NotNull »

This will likely have to do with the (Windows or third party) iFilter that is being used to extract this information for searching/indexing.
I guess "trd" is left out by the iFilter as it is not considered content/data, but part of the " structure" of the XML.


To bypass the XML iFilter and read the file as plain text, use utf8content: instead of content:
( or ansicontent: utf16content: utf16becontent: , depending on encoding of the files).



BTW: Are you using Everything 1.4 or 1.5?
Everything 1.5 has many more ways to handle this.
PhilippeN
Posts: 2
Joined: Mon Mar 10, 2025 1:23 pm

Re: Problem when searching content in an XML file

Post by PhilippeN »

Thanks for your reply. Using 1.4 currently...
Post Reply