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

Possible regression where facets are showing (0) for valid data. #498

Open
kaladay opened this issue Jan 11, 2023 · 1 comment · Fixed by #521
Open

Possible regression where facets are showing (0) for valid data. #498

kaladay opened this issue Jan 11, 2023 · 1 comment · Fixed by #521
Assignees

Comments

@kaladay
Copy link
Contributor

kaladay commented Jan 11, 2023

The response payload looks something like:

{
  meta => {
    action => undef,
    id => undef,
    message => "Your request was successful",
    status => "SUCCESS"
  },
  payload => {
    DiscoveryContext => {
      ascending => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ),
      defaultOperand => "",
      facetFilters => [
        {
          counts => {
            "Block-printed papers" => 0,
            "Bouquet marbled papers" => 0,
            "Bouquet marbled paperscurl marbled paperBouquet marbled papers" => 0,
            "Brushed paste papers" => 0,
...

This problem could be reduced if we actually check the counts on the UI side.

We really should figure out if this is a bug or not with SOLR and whether or not those values being returned are correct or not.

This could also be a problem with running a local instance of SOLR via docker.

@jcreel
Copy link
Member

jcreel commented Jan 26, 2023

Try using Solr attribute for min-count

@jcreel jcreel changed the title Possible regression where facets are show (0) for valid data. Possible regression where facets are showing (0) for valid data. Jan 30, 2023
@kaladay kaladay self-assigned this Jan 30, 2023
@kaladay kaladay linked a pull request Jan 30, 2023 that will close this issue
6 tasks
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

Successfully merging a pull request may close this issue.

2 participants