Commit Graph
19 Commits
Author SHA1 Message Date
Paul FaureandClaude Opus 5.5 b5f843e99b feat(search): add a --timeout flag to the index command (#13053)
* feat(search): add a --timeout flag to the index command

ocis search index called the search service with a hard-coded 10 minute
request timeout. The service walks the whole space inside that request, so
when the timeout expired the walk was cancelled (error walking the tree:
context canceled) and everything after that point stayed unindexed. A space
whose walk takes longer than ten minutes could never be fully indexed from
the command line.

The timeout is now a flag: --timeout takes a duration, default 10m so the
behaviour is unchanged out of the box; 0 waits indefinitely (go-micro treats
a zero RequestTimeout as an already-expired deadline, so a far-off one is
substituted).

Fixes #13052

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Paul Faure <paul@faure.ca>

* docs(search): say the index command needs the running search service

The index command is a gRPC client of the search service and never opens
the Bleve index, so it works with the default exclusive lock
(SEARCH_ENGINE_BLEVE_SCALE=false) but needs the service running.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WpoeSoKYEdgQcWjEzTVKpT
Signed-off-by: Paul Faure <paul@faure.ca>

---------

Signed-off-by: Paul Faure <paul@faure.ca>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-09 09:54:38 +02:00
Martinandkobergj 687b19081d Apply suggestions from code review
Co-authored-by: kobergj <jkoberg@owncloud.com>
2025-07-15 09:06:46 +02:00
Martin Mattel cd0b89ee27 [docs-only] Update the search service readme 2025-07-14 14:16:07 +02:00
Martin Mattel 9c57116981 text update 2025-06-16 17:35:35 +02:00
Martin Mattel cdd4fbe1a4 [docs-only] Update the search service README 2025-06-16 17:31:46 +02:00
Viktor Scharf eb5a9ceade Merge pull request #9442 from owncloud/full-deployment
✨ [docs-only] feat: create ocis_full compose deployment
2024-06-28 12:50:56 +02:00
Michael Barz fd3178c4b3 docs: cleanup docs 2024-06-27 14:34:34 +02:00
jkoberg 01cdc153a5 docu(search): update index spaces command docu
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-06-27 14:22:01 +02:00
Martin 4b86bd0921 [docs-only] Update search README.md (#7655)
References: #7553 (enhancement: improve content extraction stop word cleaning)

Making the term `stop word` and the use of the envvar more clear.
2023-11-03 14:46:02 +01:00
Florian SchadeandMartin cdd2100b4b enhancement: improve content extraction stop word cleaning (#7553)
* enhancement: improve content extraction stop word cleaning

* fix: cleanup documentation

Co-authored-by: Martin <github@diemattels.at>

* fix: failing tika stop word unit tests

---------

Co-authored-by: Martin <github@diemattels.at>
2023-10-23 13:40:37 +02:00
Florian Schade 844783b6f9 [full-ci] - use KQL as default search query language (#7212)
* enhancement: use kql as default search query language

* enhancement: add support for unicode search queries

* fix: escape bleve field query whitespace

* fix: search related acceptance tests

* enhancement: remove legacy search query language

* enhancement: add support for kql dateTime restriction node types

* chore: bump web to v8.0.0-alpha.2

* fix: failing search api test

* enhancement: search bleve query compiler use DateRangeQuery as DateTimeNode counterpart

* enhancement: support for colon operators in dateTime kql queries
2023-09-07 11:13:33 +02:00
Andre DuffeckandMartin c0665975b3 Do not try to fulltext-index large files. (#6395)
* Do not try to extract the content of large files.

Both tika and ocis do not handle large files/archives very well.

* Apply suggestions from code review

Co-authored-by: Martin <github@diemattels.at>

---------

Co-authored-by: Martin <github@diemattels.at>
2023-05-27 19:03:58 +02:00
kobergjandMartin 382a2800f8 Update services/search/README.md
Co-authored-by: Martin <github@diemattels.at>
2023-05-24 13:58:40 +02:00
jkoberg 50ef698fda add fulltextsearch capability
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-05-24 13:58:37 +02:00
Martin da49a5cd71 Update services/search/README.md 2023-05-15 14:20:16 +02:00
Martin d3cd43861c [docs-only ]Update search README.md
Add a note that tika containers are only available for the amd64 platform.
2023-05-15 14:20:16 +02:00
mmattel 456387c69f [docs-only] Add Tika container link to search for dev purposes 2023-05-12 09:31:21 +02:00
mmattel b2504035e0 fix readme service names 2023-04-12 18:40:41 +02:00
mmattel 8dda0c6728 create readme.md for seach 2023-02-07 09:51:37 +01:00