Nextcloud Fulltext Search
-
It would be great if the Fulltext Search App could be included in the Nextcloud package. The app allows for fulltext search of files and bookmarks via Elasticsearch or Solr.
Homepage: https://apps.nextcloud.com/apps/fulltextsearch / https://github.com/nextcloud/fulltextsearch
Instructions: https://github.com/nextcloud/fulltextsearch/wiki
-
Can I kindly bump this topic?
-
This post is deleted!
-
So this may be confusing.
TO install this app, it must be done from within NextCloud, not Cloudron. I just confirmed on my own instance. If you need help, let me know and I'll walk you through it. -
@spectrely said in Nextcloud Fulltext Search:
So this may be confusing.
TO install this app, it must be done from within NextCloud, not Cloudron. I just confirmed on my own instance. If you need help, let me know and I'll walk you through it.I know I need to install an app within nextcloud but there's also a "server part", see https://github.com/nextcloud/fulltextsearch/wiki/Basic-Installation#installation-of-elasticsearch--ingest-attachment-plugin-on-your-server
Installation of ElasticSearch + "Ingest Attachment Plugin" on your server
I thought this would have to happen within the Docker instance of nextcloud?
-
@necrevistonnezr oooooooh, I assume with that one, you'd need your own external server for that feature.. Let me know what you find!
-
@spectrely said in Nextcloud Fulltext Search:
@necrevistonnezr oooooooh, I assume with that one, you'd need your own external server for that feature.. Let me know what you find!
Well, in theory you needed an external server for the Nextcloud Collabora Office app but the cloudron guys made it available, anyway...
-
It seems there's a Docker image for the fulltext search backend engine on Nextcloud, now: https://github.com/nextcloud/fulltextsearch/wiki/Basic-Installation
-
Cloudron 6.0 now has Solr integration!
But even though https://github.com/nextcloud/fulltextsearch says:
Full text search
Full text search is the core app of a full-text search framework for your Nextcloud.
To have it operate, and get content indexed, some other apps are needed:- Some Providers Apps to extract content from your Nextcloud.
- A Platform App that communicate with a search platform (ie. Elastic Search, Solr, …) in order to index the content provided by the Providers.
Note: There is no limit to the number of platform-apps that can be installed, however only one can be selected from the admin interface
(I bolded Solr)
Currently Solr is not yet supported:
https://github.com/nextcloud/fulltextsearch/issues/334
Someone made a start a while back, but it doesn't appear they've done anything on it for the last couple of years now
https://github.com/rearden-logic-inc/fulltextsearch_solr
I wonder any @staff or @appdev's might be up for taking this on? It'd be awesome to be able to use Cloudron's new Solr addon within Nextcloud to do full text searches!
-
@jdaviescoates I think only the elastic one is maintained upstream. It's unlikey we (cloudron) will write the solr fts integration for nextcloud. That's really something we don't have any expertise for.
-
We've created an ElasticSearch app for Cloudron.
https://git.cloudron.io/vladimir.d/elasticsearch
Comments are welcome!
-
@vladimir-d said in Nextcloud Fulltext Search:
We've created an ElasticSearch app for Cloudron.
https://git.cloudron.io/vladimir.d/elasticsearch
Comments are welcome!
Woah, cool!
-
I guess https://forum.cloudron.io/topic/5297/supervisord-to-manage-running-processes-in-nextcloud-app is related to this
-
Yup, we have this working now. It's OKish but Nextcloud's search interface is kinda sh*t, so next task is going to be fixing that to make it actually useful and hopefully work similarly to Google Drive with an actual sortable results page.
Elasticsearch as an App from @vladimir-d is a significant win for other uses too.
-
Anecdotally, this fulltext search (using elastic search) seems to be as fast as the filename search, or even makes both of them faster.
The search results interface as a modal is still cramped and limited, but we will try to develop a full results page to show on hitting enter or clicking the search icon.
-
An interesting search string for anyone managing what multiple users do with these things is to search for
password
and see how many place plaintext passwords are stored in user's documents & spreadsheets!Similar for things like passport number, driving licence, social security, national insurance. It's a handy way to do a review of personal data being stored in files and who has access to what.