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

Proposal: Allow to set facet on fields #11

Open
itsam opened this issue Nov 26, 2023 · 0 comments
Open

Proposal: Allow to set facet on fields #11

itsam opened this issue Nov 26, 2023 · 0 comments

Comments

@itsam
Copy link

itsam commented Nov 26, 2023

Would be nice idea if for any of the selected fields in the module's configuration to have a flag (checkbox) next to it that when is selected to set this field as facet as well.

I believe it's straightforward and allows to create more advanced interfaces using typesense's javascript

For example

{"name": "dcterms_creator", "type": "string[]", "facet": true, "infix": true }   

I would say the most time consuming is on the UI rather than setting the "schema" to include "facet":true
At the moment I am doing this by PATCHing my collection but it's not optimal and have to re-patch in every re-index

Let me know what you think.
Thank you in advance

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