How exactly would Qsirch help Spotlight find files?

Questions about using NAS on Mac OS.
Austro-Diesel
New here
Posts: 7
Joined: Mon Feb 18, 2019 1:38 am

Re: How exactly would Qsirch help Spotlight find files?

Post by Austro-Diesel » Sun Mar 08, 2020 11:24 pm

Spotlight definitely doesn't work with QSirch indizes. I tried everything possible, different network protocols, different MacOS versions, reinstalling QSirch ... TS-431X2 (8 GB) and TS-832X (8 GB) ... searching from the Finder results in a recursive "manual" search through all folders which needs some time on well filled volumes.

Use AFP connection instead of SMB and the MacOS apps FindAnyFile or EasyFind to search very fast for filenames and folders, but not for contents. These utilities use the filesystem index which is part of the AFP system which still works fine. As SMB doesn't offer this service both utilities fall back to recursive search like the MacOS Finder.

Searching for file contents is only possible by QSirch.

torch1
Getting the hang of things
Posts: 92
Joined: Thu Jul 04, 2019 4:53 am

Re: How exactly would Qsirch help Spotlight find files?

Post by torch1 » Mon Mar 09, 2020 3:50 am

If Qsirch is built on ElasticSearch, then it will not be supported until Samba 4.12 (QNAP 4.4.1 is built with Samba 4.7
https://lists.samba.org/archive/samba-t ... 34857.html

chrisonnas
Starting out
Posts: 25
Joined: Sat Jan 05, 2019 5:27 pm

Re: How exactly would Qsirch help Spotlight find files?

Post by chrisonnas » Mon Mar 16, 2020 6:39 am

Austro-Diesel wrote:
Sun Mar 08, 2020 11:24 pm
Use AFP connection instead of SMB and the MacOS apps FindAnyFile or EasyFind to search very fast for filenames and folders, but not for contents. These utilities use the filesystem index which is part of the AFP system which still works fine.
Yes, this is a great workaround. I guess this doesnt even use Qsirch either! thanks

joeydping
First post
Posts: 1
Joined: Wed Mar 29, 2017 5:50 pm

Re: How exactly would Qsirch help Spotlight find files?

Post by joeydping » Sun Jun 21, 2020 10:43 pm

Is this problem resolved already? Does Qsirch work with Spotlight now?

chrisonnas
Starting out
Posts: 25
Joined: Sat Jan 05, 2019 5:27 pm

Re: How exactly would Qsirch help Spotlight find files?

Post by chrisonnas » Mon Jun 22, 2020 2:47 am

joeydping wrote:
Sun Jun 21, 2020 10:43 pm
Is this problem resolved already? Does Qsirch work with Spotlight now?
Nope. Searching from the Finder comes up blank for all searches. Not even working for filenames.

I have added "EasyFind" to the Finder ToolBar, but I have to remember to click it and search in the app, rather than use the Finder search box.

chrisonnas
Starting out
Posts: 25
Joined: Sat Jan 05, 2019 5:27 pm

Re: How exactly would Qsirch help Spotlight find files?

Post by chrisonnas » Mon Jun 22, 2020 4:38 am

Following up on this post, I did further investigations to see what is happening on my Mac. Following suggestions at https://care.qumulo.com/hc/en-us/articl ... and-Qumulo I ran:

Code: Select all

#ls -la /private/var/db/Spotlight-V100/Volumes/ 
one of the results of that search is a folder called afp...[user]@QNAP.local(AFP)._afpovp.local%2[share-name]

This shows that Spotlight IS indexing the shared drive. This is confirmed by running

Code: Select all

sudo mdutil -s /Volumes/volume_name
and running the following command results in lots of wifi activity as my laptop has mdworker scanning the files to build the spotlight index:

Code: Select all

sudo mdutil -E -i off /Volumes/volume_name && sudo mdutil -i on /Volumes/volume_name
Despite all this network activity, and the presence of a spotlight index in that hidden folder, the Finder STILL FINDS NOTHING. Not even a file name present in the folder I am currently looking at. Its totally broken.

chrisonnas
Starting out
Posts: 25
Joined: Sat Jan 05, 2019 5:27 pm

Re: How exactly would Qsirch help Spotlight find files?

Post by chrisonnas » Mon Jun 22, 2020 5:12 am

More searching - it turns out that AFP (apple file shareing) on QNAP is provided by netatalk, which supports Spotlight as of version 3.1, but it needs support from other software (dbus and Gnome tracker) which is missing from the NAS OS. Checking afpd -v on the QNAP confirms that spotlight is NOT supported:

Code: Select all

# afpd -V
afpd 3.1.9.q1 - Apple Filing Protocol (AFP) daemon of Netatalk

This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version. Please see the file COPYING for further information and details.

afpd has been compiled with support for these features:

          AFP versions:	2.2 3.0 3.1 3.2 3.3 3.4 
         CNID backends:	cdb dbd last tdb 
      Zeroconf support:	No
  TCP wrappers support:	No
         Quota support:	Yes
   Admin group support:	Yes
    Valid shell checks:	Yes
      cracklib support:	No
            EA support:	ad | sys
           ACL support:	Yes
          LDAP support:	Yes
         D-Bus support:	No
     Spotlight support:	No
         DTrace probes:	No

              afp.conf:	/usr/local/etc/afp.conf
           extmap.conf:	/usr/local/etc/extmap.conf
       state directory:	/var/netatalk/
    afp_signature.conf:	/var/netatalk/afp_signature.conf
      afp_voluuid.conf:	/var/netatalk/afp_voluuid.conf
       UAM search path:	/root/daily_build/64_40/4.4.2/Model/TS-X51/build/RootFS/usr/local/etc/netatalk/uams//
  Server messages path:	/var/netatalk/msg/

Awen2000
New here
Posts: 4
Joined: Fri Sep 21, 2018 1:10 am

Re: How exactly would Qsirch help Spotlight find files?

Post by Awen2000 » Sat Jul 25, 2020 9:46 pm

I feel like Qsirch is working with my Finder now. Cause Finder really finds file name in seconds. I got 40K files in total 600G on the nas. But after all these with Qnap, I've decided to go Synology. Setting up Spotlight indexing on a Synology nas is within a minute and start to working as the indexing done.

I just have both a Qnap and a Synology nas. The Qnap one is running backup tasks only now. It was my first nas and did all the tasks. But Qnap just waste my time with their really poor response to customer. I don't like to spend more time with it.

chrisonnas
Starting out
Posts: 25
Joined: Sat Jan 05, 2019 5:27 pm

Re: How exactly would Qsirch help Spotlight find files?

Post by chrisonnas » Sun Jul 26, 2020 3:45 pm

How did you get it working then?

chrisonnas
Starting out
Posts: 25
Joined: Sat Jan 05, 2019 5:27 pm

Re: How exactly would Qsirch help Spotlight find files?

Post by chrisonnas » Sun Jul 26, 2020 4:58 pm

seems like someone got it working:
viewtopic.php?f=361&t=153194&p=751871&h ... ht#p751871

shame our threads didnt find each other!

Post Reply

Return to “Mac OS”