Elasticsearch search engine (import from json)

This commit is contained in:
Simon
2018-06-11 22:35:49 -04:00
parent fcfd7d4acc
commit 72495275b0
9 changed files with 190 additions and 23 deletions

View File

@@ -61,7 +61,7 @@ class FtpDirectory(RemoteDirectory):
results.append(File(
name=file_name,
mtime=stat.st_mtime,
mtime=stat.st_mtime, # TODO: check
size=-1 if is_dir else stat.st_size,
is_dir=is_dir,
path=path