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.

[RFC] Improved search in eigen

See original GitHub issue

Status: Closed

Type: New Dependencies

Name: react-instantsearch-native github url npmjs url

Name: algoliasearch github url npmjs url

Description

In FX team we want to integrate algolia in order to provide a richer search experience within the mobile app - backed by the Algolia platform (You can find more info in the tech plan here).

Approaches

There are two approaches we can take in order to do that in eigen currently.

  1. Use algoliasearch api client directly from the eigen app together with their component library react-instantsearch-native (docs) that provides some react HOC’s and components to help us build the UI (they don’t have support for hooks YET)

    This would require us to install the following 3 dependencies in eigen:

    A small POC of this can be found in this draft PR

  2. Don’t query algolia directly but instead expose a GraphQL Interface from metaphysics which will proxy requests to Algolia. No dependency installation needed in eigen.

Additional context

The mobile feature will likely be an extension of what’s the app today, not a replacement. You’ll still be able to use the existing global search but can click in to a deeper search experience where you can filter by entity and apply filters.

slack discussion

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:5
  • Comments:10 (9 by maintainers)

github_iconTop GitHub Comments

12reactions
francoischalifourcommented, Oct 19, 2021

We released React InstantSearch Hooks as experimental today, let us know if you give it a try!

3reactions
anandaroopcommented, Aug 13, 2021

+1 to using Algolia clients to query directly, if possible, in order to see the greatest speed benefits from their platform

Would using Algolia to “outsource” our searches affect our recommendations? I mean are we using the data the user searched for in our recommendation engine somewhere and would removing that data affect our artwork recommendations?

Good point! Getting some extra context about how exactly our recommendations work and if they take search queries in mind and will get back at you soon.

In case you’re still looking for this info @gkartalis, the various ingredients in our homegrown recommender system are laid out here in Cinder (our Apache Spark system for off-line big data processing).

Search history is not factored in currently, so I see no risk there. And, in fact this may potentially unlock some recommendation options that are powered by Algolia

Read more comments on GitHub >

github_iconTop Results From Across the Web

[eigen] RFC: making a deterministic and reproducable product ...
Hey Gael et al, I was trying to understand the underlying implementation of the General Matrix Matrix and Matrix Vector products - I...
Read more >
RFC 5765: Security Issues and Solutions in Peer-to-Peer ...
Unstructured overlays are often relatively simple, but search operations in them, usually based on flooding, tend to be inefficient.
Read more >
Slicing and Indexing - Eigen
This page presents the numerous possibilities offered by operator() to index sub-set of rows and columns. This API has been introduced in Eigen...
Read more >
About upcoming limits on trusted certificates - Apple Support
In our ongoing efforts to improve web security for our users, Apple is reducing the maximum allowed lifetimes of TLS server certificates.
Read more >
Software Defect Prediction Based on Elman Neural Network ...
improved Cuckoo Search (CS) algorithm. e rest of this paper is organized as the following. e related work and background knowledge is ...
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