Skip to content

Proof of concept of a Global Searchbar with real-time, search-as-you-type feature, powered by Typesense.

License

Notifications You must be signed in to change notification settings

fenix-hub/godot-engine-global-search

Repository files navigation

Godot Engine Global Search

demo

A proof of concept Global Search Node with search-as-you-type functionality, powered by Typesense.
This repository contains a showcase project based on the public Typesense OpenLibrary dataset that can be found 👉 here.
This project includes the following custom Control Nodes:

  • HeaderSearchBar HeaderSearchBar, which can be used as a Call to Action in order to get the user input (consisting in a click or typing the / character) to spawn/activate a Search scene.
  • SearchBarContainer SearchBarContainer, a plug'n'play search bar containing the logic to call whatever search engine's REST APIs and map a result to a generic object, in order to list the result outside of the container itself.
  • SearchResultListContainer SearchResultListContainer, a scrollable container that will show a list of result as clickable elements. Results are categorized through the category_attribute property which represents the attribute that each result should have, and that will be used to group each element based on the user-defined categories.
  • SearchResultCategoryContainer SearchResultCategoryContainer, an node containing a list of result for a single category.
  • SearchResultContainer SearchResultContainer, an node containing a single search result as a clickable object.
  • SearchStatsWidget SearchStatsWidget, a plug'n'play widget showing some stats about each search, including number of results, query used for the search, and the search time.
  • GlobalSearchContainer GlobalSearchContainer, a plug'n'play scene containing all the nodes previously described.

About

Proof of concept of a Global Searchbar with real-time, search-as-you-type feature, powered by Typesense.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published