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

On Nth paged result, faceted request return 0 results #14

Open
diberry opened this issue Jan 12, 2025 · 0 comments
Open

On Nth paged result, faceted request return 0 results #14

diberry opened this issue Jan 12, 2025 · 0 comments

Comments

@diberry
Copy link
Collaborator

diberry commented Jan 12, 2025

Repro:

  1. URL: http://localhost:5173/search?q=White%20Cat
  2. Go to 5th page of 7 pages of results
image
  1. Select en-GB (4) facet and result summary says for items but they don't display
image payload is
{"q":"White Cat","top":8,"skip":32,"filters":[{"field":"language_code","value":"en-GB"}]}

Response is

{
    "count": 4,
    "results": [],
    "facets": {
        "language_code": [
            {
                "value": "en-GB",
                "count": 4
            }
        ],
        "authors": [
            {
                "value": " Anthony Heald",
                "count": 1
            },
            {
                "value": " Keith David",
                "count": 1
            },
            {
                "value": "Babe Walker",
                "count": 1
            },
            {
                "value": "James Patterson",
                "count": 1
            },
            {
                "value": "Michael Moore",
                "count": 1
            },
            {
                "value": "Nevada Barr",
                "count": 1
            }
        ]
    }
}

I think a faceted request for search shouldn't have the top/skip.

@HeidiSteen I think this is as simple as all faceted requests ignore top & page. Thoughts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant