nextcloud / fulltextsearch

🔍 Core of the full-text search framework for Nextcloud
GNU Affero General Public License v3.0
212 stars 51 forks source link

Extend search API to include a file's tag #716

Open sailr7 opened 2 years ago

sailr7 commented 2 years ago

I had built an Advanced Search application for Nextcloud, in order to enable some very specific file searching that can be quite useful (see some of the examples). I am undergoing a major overhaul to improve the performance of this application and have it show in the search bar instead of in a custom file table. I will then apply to provide it on the App Store.

One aspect of the Advanced Search application is the ability to limit the search to only a file's title or tag. Currently the Full Text Search API enables specifying a search in filename, but cannot specify a file's tag.

Is it feasible to extend the Full Text Search's API to include specifying the tag? That would then make it much easier to layer the Advanced Search application on top of it.

sailr7 commented 2 years ago

@ArtificialOwl you seem to be the most active on this repo, so just wondering your thoughts on this modification

flasker commented 2 years ago

This will be very useful.

sailr7 commented 2 years ago

@juliushaertl I'm not sure if you're the right person to reach out to on this, but the fulltext repo doesn't seem to have much activity on it. My partner @nithinsr is confirming that elasticsearch indexes tags, but once confirming we believe our approach to extend fulltext search API to include tags is feasible. I'd just like to confirm from Nextcloud's end that conceptually something like this would likely be acceptable to the Nextcloud team before we initiate development.

juliushaertl commented 2 years ago

I'm not that involved in fultextsearch, but either @ArtificialOwl or maybe @PVince81 should probably be able to help clarify that. :)