Clicky

OmarKN

MacOS 10.13.6

HS 4.4.1

 

HoudahSpot Doesn’t Find Some Text

 

Hi and good day,

 

I my Search Folder (_liv\*-RW-html-forsrch) there are no more than 20 files, but HS only found 2 instances of three (the word ‘mihrab’) as part of an image name.

 

So I thought a rescan would help with:

 

mdimport /Volumes/LC3/Sites/_liv\*-RW-html-forsrch

 

Except for now not even one instance is found:

https://d.pr/free/i/xvqjSf

 

Another app does find all three instances:

https://d.pr/free/i/IFfVZj

 

 

What has gone wrong?

 

 

/

with best regards,

Omar K Neusser

Stockholm, Sweden

iMac 27'' i5
0 0
houdah
The "word" search works only if "mihrab" appears as a standalone word in the text.

Check that mdimport actually picks up the text content of your php and html files.

mdimport -t -d 3 /Volumes/LC3/Sites/path/to/a/file.html

mdimport -t -d 3 /Volumes/LC3/Sites/path/to/a/file.php

The ouptut from both commands should list the text of the files as "kMDItemTextContent".
Errors are shown at the top of the output.
Houdah Software s. à r. l.
https://www.houdah.com

HoudahGeo: One-stop photo geocoding
HoudahSpot: Advanced file search utility
Tembo: Easy and effective file search
0 0
OmarKN

Hi and good day,
My idea with mdimport was only to rescan/ reindex the folder, because not everything was found.

The word ”mihrab” is not in a verbose text, but part of some image names as so: 047h_mihrab-arc5-blue.png

>The "word" search works only if "mihrab" appears as a standalone word in the text.

So which search pattern would you recommend?

As it is now:

- Any Text contains all mihrab: No files found
- Text Content contains words:  No files found

with Limit 50 most recently created (they are 20 files).

Isn't that strange?

/

with best regards,

Omar KN

Stockholm, Sweden



iMac 27'' i5
0 0
houdah
It appears that the importer for HTML generates a plain text version of the document. I.e. without the HTML tags. Thus anything that is not actual text is not made available for indexing.
Houdah Software s. à r. l.
https://www.houdah.com

HoudahGeo: One-stop photo geocoding
HoudahSpot: Advanced file search utility
Tembo: Easy and effective file search
0 0
OmarKN

ok, no worries.

Thank you so far!

 

/

with best regards,

Omar K Neusser

Stockholm, Sweden

iMac 27'' i5
0 0