Server: Search API

Created on 30 Jul 2016  路  16Comments  路  Source: nextcloud/server

Hey guys, for android I would like to implement a real search. Is there already a API for this? It needs to take a search string and returns a list of files available for the user that match the query.

enhancement

Most helpful comment

Maybe we can talk about this at the conference? :)

All 16 comments

So at the moment there doesn't seem an official API to be existent. Thoughts on that, cc @schiessle @MorrisJobke?

Maybe we can talk about this at the conference? :)

Maybe we can talk about this at the conference? :)

@tobiasKaminsky Could you put it on your conference list?

Actually I had have it already on the android todo list: https://github.com/nextcloud/android/issues/179 ;)

Hopefully, this will become something that can be extended beyond files, too. For example, in the web UI if you open the contacts app and search, you don't just get a list of files from the files app. I understand that right now, the android app only handles files, so just a list of files makes sense now, but it would be useful to be able to search all of your Nextcloud from the app.

@LukasReschke are we seeing this in the near future?

@LukasReschke are we seeing this in the near future?

Not on the roadmap but contributions are always welcome 馃槈

frankly not sure how to implement it but can you guide me.. do i need to make a plugin? or how do i go out.. i just want it to allow searching in all possible directories for the file/folder name..

@mario @marinofaggiana this is the ticket for the search API (it still is in planning, so there is no API spec yet)

@karlitschek @LukasReschke Who works on the search API on the server side?

@MorrisJobke it should be @icewind1991 :)

Urgent, please 馃憤

The WIP PR for the server is here: https://github.com/nextcloud/server/pull/3360

The WIP PR for the server is here: #3360

@marinofaggiana There you can also find the documentation and an example.

PR:

  • main #3360
  • favourite search #3772
  • fix ordering #3824

Pending issues:

  • [x] #3815
Was this page helpful?
0 / 5 - 0 ratings

Related issues

Django-BOfH picture Django-BOfH  路  3Comments

MorrisJobke picture MorrisJobke  路  3Comments

MariusBluem picture MariusBluem  路  3Comments

mama21mama picture mama21mama  路  3Comments

ChristophWurst picture ChristophWurst  路  3Comments