Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search no longer working on production for documents created within UI #845

Open
bwbaker1 opened this issue Mar 27, 2024 · 5 comments
Open
Labels
bug Something isn't working

Comments

@bwbaker1
Copy link
Collaborator

Description

Search is no longer working for documents created within the user interface on production. The metadata fields for uploaded PDFs still works.
All the search capabilities seem to still be working on staging.

cc @wrynearson

@wrynearson wrynearson added the bug Something isn't working label Apr 3, 2024
@wrynearson
Copy link
Member

wrynearson commented Apr 3, 2024

@sunu would you have any time to help us diagnose this bug? I'm seeing various errors in the console:

image

@sunu
Copy link
Collaborator

sunu commented Apr 3, 2024

@wrynearson Looks like the server is returning 503 errors. I'll need help from @leothomas or someone with MCP access to debug.

@leothomas
Copy link
Collaborator

I believe we have fixed the issue by re-indexing the ATBDs in OpenSearch using the /v2/atbds/rebuild-index endpoint.

image

ref

(Note: to do so we used an Authorization Token from the prod console, as the /v2/users/auth endpoint doesn't seem to work with 2FA).

It seems that the ATBDs should be automatically indexed upon publication - however this doesn't seem to have occurred in the case of the above documents since they were not appearing in the search results before re-indexing. This should be further investigated/debugged.

@wrynearson the errors that noticed in the console are related to a different endpoint (/v2/bootstrap) and are not occurring on my end - let me know if they continue to appear on your machine.

@leothomas
Copy link
Collaborator

kudos to @sunu

@bwbaker1
Copy link
Collaborator Author

bwbaker1 commented Apr 5, 2024

Thanks @sunu @leothomas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants