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

fix: ensures support for additional Facet types (beyond 'terms') #250

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jbottigliero
Copy link
Member

@jbottigliero jbottigliero commented Nov 11, 2024

See #251

@jbottigliero jbottigliero force-pushed the fix-facets-date_histogram branch 2 times, most recently from 1a220ea to 607cc7c Compare November 11, 2024 22:54
@jbottigliero jbottigliero force-pushed the fix-facets-date_histogram branch from 607cc7c to bb3b9b7 Compare November 11, 2024 22:55
import { defaultsDeep, get as _get } from "lodash";
import { ThemeSettings } from "@/theme";

import type { ResultListingComponentOptions } from "@/components/ResultListing";
import type { ResultComponentOptions } from "@/components/Result";
import { NavigationOptions } from "@/components/Navigation";

import type { GFacet } from "@globus/sdk/services/search/service/query";
Copy link
Member Author

@jbottigliero jbottigliero Nov 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOTE TO SELF:

This isn't going to work based on the current type in the SDK... which I think is slightly off based on:

  • size should be optional when type: "terms"
  • name is optional and is only required if there is a conflict in field_name

Aside from that, it's not clear we're actually processing the generated GFilter properly given the configured GFacet.

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 this pull request may close these issues.

1 participant