feat(search): gator fields in oo_docs_text + field filters (#86) #87

Open
Yftyr wants to merge 1 commits from feat/gator-fields-search#86 into main
Collaborator

Implements Option D increment 1 (library). See issue #86.

  • gator keyword fields on TextDoc + oo_docs_text mapping
  • ESTextIndex.UpsertFields (bulk update, doc_as_upsert)
  • SearchQuery Seller/Number/Status filters; SearchHit.Fields
  • unit tests

Follow-ups: gator→ES sync, oo search flags, Documents plugin.

Implements Option D increment 1 (library). See issue #86. - gator keyword fields on TextDoc + oo_docs_text mapping - ESTextIndex.UpsertFields (bulk update, doc_as_upsert) - SearchQuery Seller/Number/Status filters; SearchHit.Fields - unit tests Follow-ups: gator→ES sync, oo search flags, Documents plugin.
Yftyr added 1 commit 2026-10-07 09:20:35 +01:00
feat(search): gator fields in oo_docs_text + field filters (#86)
Release / GoReleaser (push) Skipped
Tests / Secret scan (gitleaks) (push) Skipped
Tests / Test (Go 1.25) (push) Skipped
Tests / Test (Go stable) (push) Skipped
Tests / Test (Go stable) (pull_request) Failing after 3s
Tests / Secret scan (gitleaks) (pull_request) Successful in 4s
Tests / Test (Go 1.25) (pull_request) Successful in 1m30s
3f7505892f
- TextDoc carries gator keyword fields (doc_sha, number, seller, total, typ,
  issued_at, created_at, status, url); content is now omitempty so a partial
  doc can be written.
- oo_docs_text mapping extended with the keyword fields.
- ESTextIndex.UpsertFields: bulk update + doc_as_upsert, merging gator fields
  into an existing text doc without clobbering title/content.
- SearchQuery gains Seller/Number/Status term filters; SearchHit.Fields exposes
  the gator values. Pure builders unit-tested.
Some required checks failed
Release / GoReleaser (push) Skipped
Tests / Secret scan (gitleaks) (push) Skipped
Tests / Test (Go 1.25) (push) Skipped
Tests / Test (Go stable) (push) Skipped
Tests / Test (Go stable) (pull_request) Failing after 3s
Tests / Secret scan (gitleaks) (pull_request) Successful in 4s
Tests / Test (Go 1.25) (pull_request) Successful in 1m30s
You are not authorized to merge this pull request.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feat/gator-fields-search#86:feat/gator-fields-search#86
git checkout feat/gator-fields-search#86
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: eSlider/go-onlyoffice#87