[owncloud-devel] Mapping file ids to FileInfo/storage
Jörn Friedrich Dreyer
jfd at owncloud.com
Thu Nov 27 20:09:00 GMT 2014
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)
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
Jörn Friedrich Dreyer (jfd at owncloud.com)
Senior Software Engineer
Your Data, Your Cloud, Your Way!
ownCloud GmbH, GF: Markus Rex, Holger Dyroff, Frank Karlitschek
Schloßäckerstrasse 26a, 90443 Nürnberg, HRB 28050 (AG Nürnberg)
More information about the Devel