mirror of
https://github.com/RD17/ambar.git
synced 2026-04-25 15:35:49 +03:00
[GH-ISSUE #288] Ambar cannot search using tags that were manually added via API #273
Labels
No labels
$$ Paid Support
bug
bug
enhancement
help wanted
invalid
pull-request
question
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ambar#273
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cogicero on GitHub (Aug 5, 2020).
Original GitHub issue: https://github.com/RD17/ambar/issues/288
It appears impossible to search by a tag when it was manually added to Ambar via POST. Scenario:
(1) Ambar ingests a document and indexes it
(2) I make a POST call to https://{website.com}/api/tags/{%FILE_SHA256%}/manual/{%TAG_NAME%} to add a tag using the sha256 hash ({%FILE_SHA256%}) of the document. The mahnually added tag is {%TAGNAME%}
(3) Now I search Ambar using https://{website.com}/api/search?query=tags:{%TAGNAME%} but I get 0 hits. This is very puzzling behavior because when I make a GET call to https://{website.com}/api/tags my manually added tag is shown right there.
However if I search by any of the automatically added tags e.g. ocr and ui-upload, I get results. I am pretty sure the installation was done properly since I paid the developer for the Docker image and the installation. Any hints on how to tackle this, please? I am kind of stuck with this software now.
@stale[bot] commented on GitHub (Aug 22, 2020):
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.