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.

RefinementList extended widget - 'X' is not a retrieved facet.

See original GitHub issue

Hi, I’am trying to extend RefinementList widget as documented here : https://www.algolia.com/doc/api-reference/widgets/refinement-list/angular/#full-example. I getting Error: X is not a retrieved facet. , Although it works properly with the built-in widget. So <ais-refinement-list attribute="X"></ais-refinement-list> -> Works

But the following does not work.

 ngOnInit(): void {
    this.createWidget(connectRefinementList, {
      // instance options
      attribute: 'X',
      
    });
    super.ngOnInit();
  }

Be noted that I Added X for Attributes for faceting in my dashboard and make it searchable.

My package.json :

...
"@angular/core": "^9.0.0",
"algoliasearch": "^3.35.1",
"angular-instantsearch": "^2.3.0",
"instantsearch.css": "^7.4.2",
"instantsearch.js": "^4.7.0",
"@types/algoliasearch": "^3.34.10",
...

What’s wrong in my code?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:17 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
waseem-isaac-BBNcommented, Jul 26, 2020

It fixed after using the latest version of instantsearch.js@^4.7.0 😃)

1reaction
Haroenvcommented, Jul 20, 2020

Is that an actual error, or just a warning @waseem-isaac-BBN? If it’s a warning, and the app actually works, that’s a known issue for these versions, which has been fixed in later versions and you can safely ignore

Read more comments on GitHub >

github_iconTop Results From Across the Web

facets not updating when params added to searcher - Open Q&A
Hi, I have a UIViewController (RefineListingViewController) that contains 2 RefinementCollectionView widgets. Both widgets are bound to their own ...
Read more >
Displaying all the facets using InstantSearch - Stack Overflow
I tried using the Laravel-scout-settings . Downloaded the settings and tried adding maxFacetsHits : 30 , when I pushed them back, no changes ......
Read more >
Algolia - Making a negative filter widget for InstantSearch
6 open source libraries. 11 API clients. 1 hour to build. Start now, it's free for 15 days on www.algolia.comThe topic of this...
Read more >
instantsearch.js - UNPKG
If no refinement value\n * is provided, test if the refinementList ... attribute](https://www.algolia.com/doc/rest-api/search#param-facets) sent to algolia.
Read more >
InstantSearch.js facet exclusion refinement list widget
(0.46x) ... This example shows how to build a facet exclusion refinement list ... extension 'vscode.typescript-language-features' failed: Could not find ...
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