knoxpo / dart_algolia

[Unofficial] Algolia is a pure dart SDK, wrapped around Algolia REST API for easy implementation for your Flutter or Dart projects.
Other
117 stars 112 forks source link

setEnablePersonalization not supported? #101

Open Patrick386 opened 2 years ago

Patrick386 commented 2 years ago

I just found that there is a personalization option. However, as a result of testing, I got a message saying that it is not supported yet.

I have firebase collections where multiple users have registered products. Example: products

The personal console page should display only the products for which the individual has registered.

Is this possible to make it by set Enable Personalization option?

Is it necessary to do additional settings when creating an Algolia Index through Cloud Function?

   AlgoliaQuery query = _collectionIndex
        .setEnablePersonalization(enabled: true)
        .setUserToken('4aUQMrVSSUM5RuOKjiamvBuEN6i2') // <<< firebase user id
        .query(text);
스크린샷 2022-09-17 오후 8 06 42