File Search or Indexing Service?

Status
Not open for further replies.

victorhooi

Contributor
Joined
Mar 16, 2012
Messages
184
Hi,

Would it be possible to integrate a file search or file indexing service into Freenas somehow?

Currently, searching files on a Freenas volume is a pain - I can run locate from a shell, but that's hardly a good solution for users, and it only scrapes file names.

A proper integrated search service - Strigi, Tracker, Xapain - etc would be awesome.

I saw that somebody had made some efforts to get Xapian working on FreeNAS 0.7:

http://sourceforge.net/apps/phpbb/freenas/viewtopic.php?p=55687
https://sites.google.com/site/aganimkarmiel/home/free-time/xapian-omega-full-text-search-and-freenas

There's also info for FreeBSD and Xapian here:

http://viktorpetersson.com/2010/08/...ntranet-search-engine-with-xapian-on-freebsd/

Is there any chance a plugin could be made for FreeNAS 0.8 for that?

Cheers,
Victor
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
the pluin system run's in a jail, it can only see files within the root of it's jail and other folder locations you explicitly choose to share wit it. You would need to share all of your datafiles with the jail to search all of your files using a program in the jail.
 

victorhooi

Contributor
Joined
Mar 16, 2012
Messages
184
heya,

Hmm, I'm wondering if there's any interest on this?

Surely an indexing service on a NAS would be useful? :)

http://www.freshports.org/www/xapian-omega/

Are there any security implications from sharing all your files with a jail - assuming that program is secure and doesn't have holes?

Cheers,
Victor
 

evilandy

Dabbler
Joined
Sep 26, 2011
Messages
38
Sounds good. I could set up a jail on an SSD , add the storage (i/e/ dump everything in media or somewhere) and get it to index?
 

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
Rather than a jail, you might consider using locate. Read about it here.
 

evilandy

Dabbler
Joined
Sep 26, 2011
Messages
38
Thanks, I ended up using find which was brilliant. the path output made it easy to use mv to move everything found into a central folder.
 
Status
Not open for further replies.
Top