Skip to content
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.

Ambar cannot search using tags that were manually added via API #288

Closed
cogicero opened this issue Aug 5, 2020 · 1 comment
Closed

Ambar cannot search using tags that were manually added via API #288

cogicero opened this issue Aug 5, 2020 · 1 comment
Labels

Comments

@cogicero
Copy link

cogicero commented Aug 5, 2020

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
Copy link

stale bot commented 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.

@stale stale bot added the wontfix label Aug 22, 2020
@stale stale bot closed this as completed Aug 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant