Willy Kloucek
68a6f43538
fix version info
2022-06-13 10:43:52 +02:00
André Duffeck
211ac39a61
Fix keeping the index in sync when directories contain special chars
2022-05-23 15:28:45 +02:00
André Duffeck
dc47c5bda3
Make sure to catch all children when doing recursive updates
2022-05-19 08:31:38 +02:00
Willy Kloucek
7d87927459
add descriptions to the debug config
2022-05-18 09:57:41 +02:00
Michael Barz
6a7fc50449
Merge pull request #3803 from wkloucek/un-compose-commons
...
remove composition of Commons
2022-05-16 12:13:44 +02:00
Willy Kloucek
3ce2c2123d
remove composition of Commons
2022-05-16 11:34:05 +02:00
Willy Kloucek
29d6f5968d
fix the grpc server address env
2022-05-16 08:33:59 +02:00
André Duffeck
4a36ba7811
Allow using lowercase fields
2022-05-12 13:42:46 +02:00
André Duffeck
c6c718eb41
Allow for searching by metadata like "Size:<100"
2022-05-12 13:42:46 +02:00
André Duffeck
89d2939fab
Add test for filename search using digits, cleanup tests
2022-05-12 13:42:46 +02:00
André Duffeck
49da927f25
Fix search for files with spaces
2022-05-12 13:42:46 +02:00
André Duffeck
22f5e471bd
Change the index query string to contain the field name
...
This increases flexibility when searching the index
2022-05-12 13:42:46 +02:00
André Duffeck
ae68d5d522
Improve logging
2022-05-12 13:42:46 +02:00
André Duffeck
08e242f164
Remove superfluous comments
2022-05-12 13:42:46 +02:00
André Duffeck
4e378be020
Improve signature of index.Move
2022-05-12 13:42:46 +02:00
André Duffeck
ba249c17e7
Do not try to continue when machine auth fails. DRY up code
2022-05-11 10:49:34 +02:00
André Duffeck
766a20b867
improve variable name
2022-05-11 10:49:18 +02:00
André Duffeck
9cf778d650
Fix build
2022-05-11 09:32:35 +02:00
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