question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Make isFilterable (searchbox) in facets dynamically updating options

See original GitHub issue

A feature that would be great to have is a way to dynamically update options in facet based on the searchTerm in the search box of the facet. Especially when you have more than 250 different search options in the elastic.

Something like: <Facet field='type' label='Type' filterType='any' isFilterable={true} dynamic={true} /> or a new Facet <DynamicFacet field='type' label='Type />

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
JasonStoltzcommented, Sep 24, 2019

Hi @axelhildingson. I want to make sure I understand correctly. I’m going to rephrase your question, let me know if this sounds correct:

You have a facet that has over 250 different values. Currently, you are returning all of them on a single API request, which can be very large.

Because you have so many facet values, you are using “isFilterable” to help users find the correct facet value to select.

To avoid having the large response with 250 different values, you would like to perform the “isFilterable” search server side.

0reactions
botelastic[bot]commented, Feb 13, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Is this issue still important to you? If so, please leave a comment and let us know. As always, thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Implementing faceted search with dynamic faceting (code ...
Here in part 3, we look at the search process, from query to execution to response, and show how to generate facets dynamically....
Read more >
Use Dynamic Facets - Coveo Documentation
You create a custom function to sort dynamic facets embedded within the facetGroupA dynamic facet manager by descending number of selected values. const ......
Read more >
Dynamic Faceting using Query Rules - GitHub
Guide to implement Dynamic faceting using React InstantSearch and Query Rules ... In our query rules we made four possible dynamic facets: categories,...
Read more >
C# tutorial on using facets to aid navigation - Microsoft Learn
Learn how facets can be used to easily narrow a search. ... This tutorial has been updated to use the Azure.Search.
Read more >
How to configure Dynamic Facets in Adobe Search and ...
The dynamic facet is used to create new range selections automatically at the time of search. The facets are included dynamically based on ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found