Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

make start from indexing work

eleef3ab6769e991
diff --git a/weed/filer/arangodb/arangodb_store.go b/weed/filer/arangodb/arangodb_store.go
index dc4fbad84e..f105761056 100644
--- a/weed/filer/arangodb/arangodb_store.go
+++ b/weed/filer/arangodb/arangodb_store.go
@@ -263,16 +263,18 @@ remove d in files`, map[string]interface{}{"dir": dir})
return nil
}
+//TODO: use fulltext index
func (store *ArangodbStore) ListDirectoryPrefixedEntries(ctx context.Context, dirPath util.FullPath, startFileName string, includeStartFile bool, limit int64, prefix string, eachEntryFunc filer.ListEachEntryFunc) (lastFileName string, err error) {
return lastFileName, filer.ErrUnsupportedListDirectoryPrefixed
}
func (store *ArangodbStore) ListDirectoryEntries(ctx context.Context, dirPath util.FullPath, startFileName string, includeStartFile bool, limit int64, eachEntryFunc filer.ListEachEntryFunc) (lastFileName string, err error) {
eq := ""
- if !includeStartFile {
- eq = "filter d.name != \"" + startFileName + "\""
+ if includeStartFile {
+ eq = "filter d.name >= \"" + startFileName + "\""
+ } else {
+ eq = "filter d.name > \"" + startFileName + "\""
}
- fmt.Println(dirPath, startFileName, includeStartFile)
query := fmt.Sprintf(`
for d in files
filter d.directory == "%s"