[owncloud-devel] OCA.Search: JS-based search results
devin at nacredata.com
Mon Apr 25 14:06:28 GMT 2016
FWIW I have a pull request open on the search leucine repo which updates the result display to be compatible with OC 9, though the main focus of the work is allowing search across all shared files not just those.
I am waiting for some experienced OC developers to take a look at that code, and I am also planning to move forward with finding a workable patch for some of the Cron issues which have been noted.
I am developing on behalf of a nonprofit which does not have a large excess of resources, but very much wants the search lucene module to be maintained and usable as it is a key function for their use of on cloud.
contact info: http://nacredata.com/devin
> On Apr 25, 2016, at 09:57, Victor Dubiniuk <dubiniuk at owncloud.com> wrote:
> IIRC it is not maintained for some time.
> You can have a look on how it as done by @butonic a long time ago in search_lucene:
>> On 04/25/2016 11:05 AM, Georg Ehrke wrote:
>> I’m currently working on the search capabilities of the calendar app.
>> OCA.Search provides three kinds of functions an app can register: filters, renderers, handlers
>> A filter is called when the search input changes and the app is supposed to filter its current view based on the query.
>> As far as I can tell from the code filters are not supposed to generate a list of search results and the result of the filter function is simply ignored.
>> Renderers and handlers both require some server side code, so it’s not suitable in my use case.
>> If not, what to do about it?
>> Overwriting OCA.Search.search(…) won’t work, because showResults and addResults are private functions.
>> Just implement my own OCA.Search?
>> One thing I noted during investigating this issue:
>> Our developer documentation is really lacking information about public JS APIs.
>> Now I’m familiar with ownCloud’s code base, but new app developers are really left behind here. :/
>> Devel mailing list
>> Devel at owncloud.org
> Devel mailing list
> Devel at owncloud.org
More information about the Devel