opensearch-project / OpenSearch

🔎 Open source distributed and RESTful search engine.
https://opensearch.org/docs/latest/opensearch/index/
Apache License 2.0
9.41k stars 1.72k forks source link

Create instasearch.js adaptor #2072

Open windbeneathyourwings opened 2 years ago

windbeneathyourwings commented 2 years ago

Hello,

I think it would be pretty cool to be able to use Agnolia Instasearch.js with Open Search. The only low cost alternative that exist at the moment is typesense. The typesense adaptor could be used as reference to create the open search adaptor.

Agnolia Instasearch

https://www.algolia.com/doc/

Typesense adaptor

https://github.com/typesense/typesense-instantsearch-adapter

CEHENKLE commented 2 years ago

Hey @windbeneathyourwings ! Thanks for the note. Is this something you'd be interested in contributing? It does sound like a cool idea.

windbeneathyourwings commented 2 years ago

Hello @CEHENKLE

I'm considering it because I would like to provide it as part of my own project which exclusively uses open search for search. Its just a matter of prioritizing it considering I work on all this stuff outside of work.

https://github.com/ng-druid/platform

I would like to be able to offer the capabilities of building search forms by simply dragging and dropping instasearch components into the below content editor.

https://uhf0kayrs4.execute-api.us-east-1.amazonaws.com/dev-test-virtual-list-flex-v1/character/1011334/manage

The only way to achieve this is either supporting typesense or building an adaptor for open search. I would prefer to enhance open search capabilities since I really like open search.

I was just wondering if someone else might have built this already. I suppose not. Therefore, I am very much considering it.

At work we are also possibly migrating to open search and it would be nice to be able to use instasearch.js if we do in the future for building search capabilities like replacing our existing search explorers with instasearch ui.

I think this could be a really good development opportunity for senior college sc student or someone looking to get the foot in the door in programming / web dev. However, if no one is interested I will probably end up building it.

ahopp commented 2 years ago

@windbeneathyourwings I haven't seen anyone working on anything similar yet.

My understanding is that you'd want to build an adapter so you'd be able to use Instantsearch (and potentially related React, Vue and Angular tools) with data indexed in OpenSearch (as opposed to a Typesense search server). Is that correct?

windbeneathyourwings commented 2 years ago

@ahopp

Yes, create an adaptor like the type sense one but for open search.

minalsha commented 2 years ago

@windbeneathyourwings are you still working on contributing to this issue? Thanks

windbeneathyourwings commented 2 years ago

@minalsha Yes, I still plan on building an open search adaptor unless someone takes it on before able to prioritize. Outside my day job I'm laser focused on building the sustainable cloud. However, this is something I'm highly interested in adding to druid core since it already uses aws open search.

cfrancoi commented 5 months ago

Hi ! i think this project for ES / OS with a instant search adapter : searchkit do the work if some people can confirm.

ahopp commented 5 months ago

Looks like some of it is covered, e.g.,

Searchkit provides a Search UI for Elasticsearch or Opensearch. With Searchkit, you can use Instantsearch components like Searchbox, refinement filters and results (and many more!) to build a search experience.

But it might be worthwhile from some validation since it still explicitly calls out an ES specification (e.g., Searchkit Node API proxies Elasticsearch requests from the browser and the use of Elasticsearch Query DSL for advanced queries) despite usability with OpenSearch (specifically, Opensearch 2.4 or higher).