André Duffeck
f7e8e48a1d
Change filename search to be case-insensitive
2022-05-10 15:49:34 +02:00
André Duffeck
e91318458d
Fix keeping the index in sync when subdirectories are moved
2022-05-10 10:36:40 +02:00
André Duffeck
c474665753
Extract events test into a separate file
2022-05-10 10:36:40 +02:00
André Duffeck
00fbb3c6f2
Do not abort search if one space fails
...
Also make sure to log all errors.
2022-05-10 10:36:40 +02:00
André Duffeck
2c604bacbb
Consider the mountpoint share when searching grants
2022-05-10 10:36:40 +02:00
Michael Barz
f6e2f46ebb
Exit when encountering config parsing errors
2022-05-09 11:49:15 +02:00
Michael Barz
189987bcbd
Bump major version to v2
2022-05-04 14:49:59 +02:00
Andre Duffeck
d540c4405d
[full-ci] Fix searching shares ( #3668 )
...
* Be more robust when limiting the search to a directory in the space
* Add more debug logs
* Fix searching in shares
* Delay indexing by a second so that everything has time to settle
Indexing immediately when the event arrives sometimes causes issues
trying to stat the changed resource.
* Pick up the machine auth secret from the default config
* Adapt to the resourceid refactoring in reva
* Fix unit tests
2022-05-04 13:15:28 +02:00
Willy Kloucek
b65936fe99
strip ocis- from command name for all standalone services
2022-05-03 17:08:23 +02:00
Willy Kloucek
fd44da4629
storage-users config docs
2022-05-03 15:12:35 +02:00
André Duffeck
fd4ec56b3e
Cleanup
2022-05-02 18:43:03 +02:00
André Duffeck
a1b34a62a7
Also index new directories
2022-05-02 18:42:47 +02:00
Jörn Friedrich Dreyer
c720d18de8
update config to init changes
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2022-05-02 14:19:08 +00:00
André Duffeck
0fdd23c2c6
Fix search config after master merge
2022-04-29 13:05:49 +02:00
André Duffeck
18d0fa2416
Move the children as well when a directory is moved
2022-04-29 12:47:34 +02:00
André Duffeck
be15d63747
Add items back to the index recursively when the parent is restored
2022-04-29 10:31:02 +02:00
André Duffeck
15c60df064
Return up to 200 search results
2022-04-29 09:16:28 +02:00
André Duffeck
6bd67c0f27
Mark items as deleted (recursively) but still keep them around
2022-04-29 09:02:57 +02:00
André Duffeck
68c5e2366c
Store the parent id in the index to allow for handling directories
2022-04-28 10:10:01 +02:00
André Duffeck
e5338dff55
Trigger updates on all relevant events
2022-04-28 08:51:18 +02:00
André Duffeck
0b0efd6799
Remove items from the index when they were deleted
2022-04-28 08:43:14 +02:00
André Duffeck
4dd89aa804
Adapt to renamed field
2022-04-28 08:39:12 +02:00
André Duffeck
656ef9d6ae
Add a IndexSpace method to the search provider
...
IndexSpace recursively traverses a given space and (re-)index all files
it finds.
2022-04-27 09:55:32 +02:00
André Duffeck
827885abad
Add a DocCount() method to the index client
2022-04-27 09:48:26 +02:00
André Duffeck
d5084eea84
Add command for (re-)indexing existing spaces
2022-04-27 09:30:08 +02:00
André Duffeck
1a84afc401
Persist the search index on disk
2022-04-25 16:00:25 +02:00
André Duffeck
51cf27d767
Add etag, mtime and mimetype to the search index and response
2022-04-25 11:23:30 +02:00
André Duffeck
b14bded1d3
Limit the search to the relevant fields
2022-04-22 17:54:42 +02:00
André Duffeck
ca29517527
Use proper natsjs plugin
2022-04-22 14:33:24 +02:00
André Duffeck
3ec212c0cb
Properly pass on the token in the context to the search provider
2022-04-22 12:59:09 +02:00
André Duffeck
5598fc04ec
Listen to nats and trigger the indexing of uploaded files
2022-04-22 12:59:09 +02:00
Jörn Friedrich Dreyer
37f64eb0e8
Merge branch 'master' into search
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2022-04-14 11:56:26 +00:00