Should urlSync allows attribute names mapping?
See original GitHub issueWith the URL mapping from #922, is it possible to map hierarchical facets to a different name?
For example, here is my configuration and the query string it generates:
Current:
mapping: {
'q': 'query',
'p': 'page',
'hPP': 'hits',
'hFR': 'filter',
},
?query=&page=0&filter[facets.facets.fits.make][0]=Ford&is_v=1
Desired:
Without changing the structure of the record inside my index, could I configure it so it’s like this?
?query=&page=0&filter[make][0]=Ford&is_v=1
Or, better yet:
?query=&page=0&make[0]=Ford&is_v=1
Issue Analytics
- State:
- Created 8 years ago
- Reactions:3
- Comments:6 (4 by maintainers)
Top Results From Across the Web
How i can rename the attribute name in my URL - Open Q&A
i want to rename category.lvl0 to category in the URL Thank you!!!
Read more >Features, Highlights and the Advanced Attribute Mapping
With UserSync 2.0, we made mapping IdP attributes easier and more powerful. We added built-in IdP specific transformation presets and common transformations can...
Read more >10 Assembling Database Web Services - Oracle Help Center
A query or a PL/SQL function returning REF CURSOR will be mapped into three methods, name Beans , name XMLRowSet , and name...
Read more >Sync Gleam Custom Fields With Email Providers
When you open the Custom Field Mapping modal we will check what fields exist, ... Viral Share URL: Sync the users Viral Share...
Read more >instantsearch.js - UNPKG
Each facet must be properly\n * defined in the `facets` attribute.\n *\n * The key is the name of the facet, and the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Haroenv sounds like what I’m looking for indeed. I guess a simpler configuration would’ve been appreciated (in the vein of the current
urlSync
), but I noticed that I’ll be able to update the title as well so that sounds exactly like what I need (by looking at this demo). This is the very last thing I need to do to fully replace our current (local) system by algolia’s 🎉PS: unfortunately I wasn’t able to play with it as this PR is based of 2.3.3 which apparently is broken with my setup.
great news! feel free to leave a code snippet or fiddle so we can play around and figure out what broke your implementation too, or open a new issue for that