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

Cannot filter Content Item by ContentField (Text,Boolean,Number ...) in GraphQL #7047

Closed
RockNHawk opened this issue Sep 9, 2020 · 5 comments

Comments

@RockNHawk
Copy link

RockNHawk commented Sep 9, 2020

I have add some file into Content and enabled the Content Fields Indexing (SQL) module, sitll only have ContentItem's internal field's filter, so this module only work with SQl Query feature and session.Query<ContentItem's >().With<TextFieldIndex>()... API ?

image

@sebastienros
Copy link
Member

Maybe bindings are missing for the SQL indexes.

/cc @carlwoodhouse and @Skrypt if you know that it's actually missing

@sebastienros sebastienros added this to the 1.0.x milestone Sep 10, 2020
@carlwoodhouse
Copy link
Member

carlwoodhouse commented Sep 10, 2020 via email

@Skrypt
Copy link
Contributor

Skrypt commented Sep 14, 2020

When we built that SQL Indexing feature it was meant for using SQL Queries only as the GraphQL module was still in a non-merged PR if I remember well. Never coded the bindings for GraphQL.

So if I understand well it would need to allow to add extra fields from a custom index which match or doesn't match an actual OC Content Type field. I need to understand how we bind these in GraphQL.

@Piedone
Copy link
Member

Piedone commented May 14, 2024

Related, alternative for exposing SQL Queries instead: #16008.

@Piedone
Copy link
Member

Piedone commented May 18, 2024

This was duplicated by #12781 but since that has two corresponding PRs and some more context, I'm closing this one.

@Piedone Piedone closed this as not planned Won't fix, can't repro, duplicate, stale May 18, 2024
@MikeAlhayek MikeAlhayek modified the milestones: 2.x, 2.0 Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants