[owncloud-devel] Mapping file ids to FileInfo/storage
pvince81 at owncloud.com
Fri Nov 28 12:01:24 GMT 2014
I decided to use another approach and add a method "searchByTags" on the
storages so we get a chance to use actual DB JOINS for the search:
On 11/27/2014 09:09 PM, Jörn Friedrich Dreyer wrote:
> On 27.11.2014 18:56, Vincent Petry wrote:
>> I'm working on the tags/favorites app here
>> https://github.com/owncloud/metadata/pull/2 and was wondering how I can
>> efficiently map file ids to FileInfo.
>> I noticed that the search_lucene app also only indexes file ids, but yet
>> it returns the correct file paths, even for shared folders.
>> Is there an efficient way to resolve FileInfo from fileid ? (I didn't
>> find that part in the search_lucene app)
> and then
> the problem is that \OC::$server->getUserFolder(); is slow. As in
> Maybe robin knows of a better way...
>> This here
>> is definitely the WRONG way.
>> Devel mailing list
>> Devel at owncloud.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 181 bytes
Desc: OpenPGP digital signature
More information about the Devel