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 filter based on collection returns nothing #72

Open
Pooya-Oladazimi opened this issue Oct 17, 2024 · 1 comment
Open

Search filter based on collection returns nothing #72

Pooya-Oladazimi opened this issue Oct 17, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Pooya-Oladazimi
Copy link
Member

Describe the bug
search filter based on a collection returns nothing although the result exists.

To Reproduce
call: /api/search?q=assay&start=0&groupField=iri&rows=20&schema=collection&classification=NFDI4CHEM

equivalent in ols3: https://service.tib.eu/ts4tib/api/search?q=assay&start=0&groupField=iri&rows=20&schema=collection&classification=NFDI4CHEM

Additional context
Besides the empty result issue, facet data looks funny:
Screenshot from 2024-10-17 13-38-05

@Pooya-Oladazimi Pooya-Oladazimi added the bug Something isn't working label Oct 17, 2024
@giraygi
Copy link
Collaborator

giraygi commented Oct 22, 2024

The call in the description work in prod1 but not in prod2
When I change the call as api/search?q=assay&schemas=collection&classifications=NFDI4CHEM it returns results both in prod1 and prod2. I will investigate why the variable names needs to change.

@giraygi giraygi self-assigned this Oct 22, 2024
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

2 participants