[GH-ISSUE #288] Ambar cannot search using tags that were manually added via API #273

Closed
opened 2026-02-27 15:55:54 +03:00 by kerem · 1 comment
Owner

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.

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.
kerem 2026-02-27 15:55:54 +03:00
  • closed this issue
  • added the
    wontfix
    label
Author
Owner

@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.

<!-- gh-comment-id:678679663 --> @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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ambar#273
No description provided.