Clicky

rick260
if i enter

1989114 OR 1989115 OR 1989123 OR 1989133 OR 1989135 OR 1989138 OR 1989151 OR 1989161 OR 1989163 OR 1989191 OR 1989195 OR 1989205 OR 1989257

into the search field

houdahspot returns the following result

1989114
1989133
1989135
1989138
1989257
1989161

all the numbers are on the selected volume with the correct names but houdah missed several numbers??

i am still running tests using the trial version

R

0 0
houdah
I just gave it a try with the following input:

search:filename 1989114 OR 1989115 OR 1989123 OR 1989133 OR 1989135 OR 1989138 OR 1989151 OR 1989161 OR 1989163 OR 1989191 OR 1989195 OR 1989205 OR 1989257 

HoudahSpot found all 13 files I had created for the test.

Be sure to point HoudahSpot at the correct location. By default, it searches the home folder only
Check if there are any other criteria set in the Refine pane.
Try removing the Limit

Best,

Pierre Bernard
Houdah Software s.à r.l.

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
rick260
here is another instance.

searching for: 1992540

(my refinement is) "Kind is not Adobe PDF Document"

Location is correct.

Limit is set to "no limit".

the entire file name is "lewis county general 3x5.25 1992540"

houdahspot cannot find it?
0 0
houdah
Hi!

I have created an empty test file named “lewis county general 3x5.25 1992540”. HoudahSpot was able to find it.

Please check System Preferences > Spotlight > Privacy to make sure you don’t have the folder containing the file excluded from Spotlight indexing.


Please try the following to see if the metaddata Spotlight has for the file:

1. Open /Applications/Utilities/Terminal.app
2. Type or paste: "mdls ". Without the quotes, but with the trailing space
3. Drag the  “lewis county general 3x5.25 1992540” file from Finder to the Terminal window. This will append its path to above command
4. Hit Return

The Terminal will show metadata from the Spotlight index. Check for kMDItemDisplayName and kMDItemAlternateNames values. These are the names HoudahSpot can search.


Please try the following to trigger re-indexing of the file (or its containing folder):

1. Open /Applications/Utilities/Terminal.app
2. Type or paste: “mdimport ". Without the quotes, but with the trailing space
3. Drag the file or folder from Finder to the Terminal window. This will append its path to above command
4. Hit Return

Check if this makes the file appear in HoudahSpot.


Best,

Pierre Bernard
Houdah Software s.à r.l.

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
rick260
using terminal command "mdls " then dragging the file into terminal window and hitting return i received the following result:

kMDItemFSContentChangeDate = (null)

kMDItemFSCreationDate      = (null)

kMDItemFSCreatorCode       = ""

kMDItemFSFinderFlags       = (null)

kMDItemFSHasCustomIcon     = (null)

kMDItemFSInvisible         = 0

kMDItemFSIsExtensionHidden = (null)

kMDItemFSIsStationery      = (null)

kMDItemFSLabel             = (null)

kMDItemFSName              = (null)

kMDItemFSNodeCount         = (null)

kMDItemFSOwnerGroupID      = (null)

kMDItemFSOwnerUserID       = (null)

kMDItemFSSize              = (null)

kMDItemFSTypeCode          = ""

kMDItemLastUsedDate        = 2017-07-10 14:50:05 +0000

kMDItemUseCount            = 2

kMDItemUsedDates           = (

    "2017-07-10 04:00:00 +0000"

)

0 0
rick260
performed "mdimport " procedure and "mdls " again and received the following:

_kMDItemOwnerUserID            = 501

kMDItemAlternateNames          = (

    "/Volumes/Lowville/Special Sections/2017 Lewis County Fair/lewis county general 3x5.25 1992540"

)

kMDItemContentCreationDate     = 2017-07-10 12:40:52 +0000

kMDItemContentModificationDate = 2017-07-10 12:40:52 +0000

kMDItemContentType             = "com.multiad.creator.crtr"

kMDItemContentTypeTree         = (

    "com.multiad.creator.crtr",

    "public.data",

    "public.item"

)

kMDItemDisplayName             = "lewis county general 3x5.25 1992540"

kMDItemFSContentChangeDate     = 2017-07-10 12:40:52 +0000

kMDItemFSCreationDate          = 2017-07-10 12:40:52 +0000

kMDItemFSCreatorCode           = "Crtr"

kMDItemFSFinderFlags           = 0

kMDItemFSHasCustomIcon         = (null)

kMDItemFSInvisible             = 0

kMDItemFSIsExtensionHidden     = 0

kMDItemFSIsStationery          = (null)

kMDItemFSLabel                 = 0

kMDItemFSName                  = "lewis county general 3x5.25 1992540"

kMDItemFSNodeCount             = (null)

kMDItemFSOwnerGroupID          = 20

kMDItemFSOwnerUserID           = 501

kMDItemFSSize                  = 108870

kMDItemFSTypeCode              = "Crtr"

kMDItemKind                    = "Creator document"

kMDItemLastUsedDate            = 2017-07-10 14:50:05 +0000

kMDItemLogicalSize             = 108870

kMDItemPhysicalSize            = 110592

kMDItemUseCount                = 2

kMDItemUsedDates               = (

    "2017-07-10 04:00:00 +0000"

.........

so what is 
happening?

 
0 0
houdah
It seems the file was not indexed before when you first called mdls. This should not happen. Spotlight shoul automatically index files as they are added to the system.

You probably have a corrupted Spotlight index. Try rebuilding it:
 
1. Go to System Preferences > Spotlight > Privacy
2. Add your startup disk – not just individual folders – to the list
3. Wait a bit to be sure the old Spotlight index is deleted
4. Remove the startup disk from the Privacy list
5. Leave the computer running overnight to rebuild the index
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
rick260
" Add your startup disk – not just individual folders – to the list"

Drag my startup disk to the folder? is that correct?

or do you mean the mounted volume from which file in question
originated??

rick
0 0
houdah
You should add the disk to the Privacy list. Add the disk on which you are experiencing the problem.

Do you connect the drive to other computers? Did you use another computer to create the problematic file?
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
rick260
Do you connect the drive to other computers? - no

Did you use another computer to create the problematic file? - no

The file we have been discussing resides on an external volume.

I wasn't sure if you wanted me to perform Preferences > Spotlight > Privacy etc to THAT volume

or if you wanted to perform Preferences > Spotlight > Privacy etc to my drive/start up drive ..aka my computer hard drive.

thinking in terms of spotlight: i would index the external volume...that is why i am confused



0 0
houdah
For HoudahSpot to work, the drive needs to be indexed by Spotlight.

Adding the drive to the Privacy list deletes the index. Once you remove the drive from the Privacy list, the Mac will start building a new index. This takes time. That’s why I recommend you leave it running overnight.
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
rick260
understood.

so index the target volume...correct?

is there away to index a volume through terminal??
0 0
houdah
Yes, index the target volume.

You can use the mdutil command in Terminal to disable / enable indexing or to trigger reindexing a volume.
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
rick260
i was able to index the target volumes and performance did improve.

but how often do the volumes need to be re-indexed??

for example: i saved a file this morning and used houdahspot to search for the file and it was unable to find it??
0 0
houdah
You should not have to trigger re-indexing.

macOS should notice changes to files and have Spotlight re-index these automatically.

Is this a HFS+ formatted drive?

Try running Disk Utility to check if there any problems with the file system.
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
rick260
the target volume(s) are on a windows server and i connect to this server via SMB
0 0
houdah
That explains it. I don’t think macOS / Spotlight has a reliable way to watch the disk for changes.

I believe there a NAS drives that include software that manages Spotlight indexing. I believe the brand is Synology. I don’t know how they do it.

You may be able to set up a script that peridically call the mdimport command to re-index only the folders you are interested in. Regularly re-indexing the whole drive could be taxing on the network.
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