LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-15-2018, 03:50 PM   #1
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161
File Search Indexing


What is a decent approach to search indexing servers from workstations?

At work I will be installing a full file server to replace an aging off-the-shelf NAS appliance. Users will connect through NFS and Samba from both Windows and Linux desktops. There are thousands of files on the old NAS and through 10 years, folder organization has grown out of control. I will be reorganizing the directory structure, but finding a file among thousands is a challenge. Hence, a desire to index the files.

From what I read, I can configure each individual desktop to index the file server mapping. Seems clunky and inefficient.

I looked at some indexing apps. I am not seeing how to centralize the indexing on the server such that the workstations use that index rather than a local index.

How are you gurus doing this?
 
Old 04-15-2018, 08:06 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Whilst we wait for a guru ...

I would simply use ssh to run locate on the server. Quick and efficient. But there may be all sorts of internal issues in a business. Especially with the Win users .... :shrug:
Else maybe after running the updatedb (on the server) push the entire list out to a webpage - let the user just search as normal from their browser.

All the above presumes everybody (internally) is authorised to see all the filenames.
 
Old 04-15-2018, 08:56 PM   #3
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Original Poster
Rep: Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161
Yeah -- running updatedb on the server does not help client workstations. Especially Windows workstations.

There are indexing systems such as solr and elasticsearch, but they seem designed for Big Stuff. And I have not found anything helpful how client workstations access those indexes other than a web browser.

I looked at Recoll, which can run on Windows as well as Linux, but I don't see the connection to get client workstations to use the server's index.
 
Old 04-15-2018, 09:15 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Quote:
Originally Posted by upnort View Post
Yeah -- running updatedb on the server does not help client workstations. Especially Windows workstations.
What's wrong with ssh - and maybe something like plink or it's ilk for Win ?.

Set up a common script name, no-one will know the difference.
 
Old 04-15-2018, 09:36 PM   #5
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Original Poster
Rep: Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161
This needs to be pointy-clicky. The non technical office users are not going to use SSH on a Windows system. They just want to find files.
 
Old 04-24-2018, 08:24 PM   #6
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Original Poster
Rep: Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161
Friendly bump.
 
Old 04-25-2018, 12:43 AM   #7
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,309
Blog Entries: 3

Rep: Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721
Recoll is one that can run locally. It will run on several operating systems but I'm not sure if you can use a shared index. It's most likely that each index must be run individually.

For web interfaced indexes, there used to be Swish-E and ht://dig but they are abandoned. There are several Lucene-based ones like Solr and Elasticsearch. However, those are both Java as is the Lucene engine underneath them.
 
Old 04-25-2018, 01:53 PM   #8
medoc
LQ Newbie
 
Registered: Dec 2010
Posts: 18

Rep: Reputation: 7
Recoll has a web UI (https://github.com/koniu/recoll-webui/) which can give access to a central index. It's not designed for managing access rights though, just for a common datastore. This may be a problem or not for your use case.

jf
 
Old 04-26-2018, 02:15 PM   #9
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Original Poster
Rep: Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161
Quote:
Recoll has a web UI (https://github.com/koniu/recoll-webui/) which can give access to a central index.
I will investigate. Thanks.

Quote:
Recoll is one that can run locally. It will run on several operating systems but I'm not sure if you can use a shared index. It's most likely that each index must be run individually.
Thanks. Browsing the docs shows that multiple indexes are supported. As both Linux and Windows see a network share as a local directory, I wonder if I can generate indexes on the server and then configure Recoll on the workstations to use that index. Looks plausible but I'll need to test.

Last edited by upnort; 04-26-2018 at 02:32 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Search server (with indexing capabilities) with the authenticable web interface??? loopdemack Linux - Software 0 05-04-2010 03:46 AM
recoll indexing error while indexing Mail/ [SOLVED] ajnabi Linux - Software 1 09-14-2009 12:44 AM
Intrepid: Beagle Desktop Search Doesn't Do Indexing Automatically dopla Ubuntu 0 02-17-2009 06:51 AM
how do i turn quick search (file indexing) back on ckent Linux - Software 3 08-31-2007 09:06 AM
Search Indexing Software Needed xanimal Linux - Software 5 02-15-2006 07:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration