Algolia Documentation
website·Indexed 59 days ago
https://www.algolia.com/docDeveloper guides and API references for building search and AI experiences. Includes documentation on managing data, configuring searchable attributes, custom ranking, faceting, filtering, and implementing geo-search capabilities.
What's inside Algolia
- Query Suggestions provide a list of popular search terms to users as they type, reducing typing effort and preventing searches that return no results. They are typically implemented in autocomplete menus, but can also be used to provide suggestions before a user starts typing or as a fallback when a search returns no results. Algolia stores these suggestions in a dedicated index that is rebuilt daily based on search analytics, external data, or facet combinations.
Overview of Searcher in InstantSearch Android
TheSearcherinterface manages search sessions and processesSearchRequestobjects. Algolia provides three primary out-of-the-box implementations:HitsSearcherfor searching a single index,FacetSearcherfor searching facet values, andMultiSearcherfor federated search or query suggestions across multiple indices.Overview of Algolia Ingestion for Magento 2
Algolia Ingestion is an optional companion module for the Algolia AI Search & Discovery extension (v3.19+). Instead of writing directly to indices, it routes indexing operations through Algolia's Ingestion Platform. This unlocks three primary capabilities:
- Pre-indexing transformations: Use JavaScript in the Algolia dashboard to reshape records before they are indexed.
- Up-to-date Collections: Backend hooks for Collections only run on the Ingestion path; direct indexing does not support automatic Collection updates.
- Observability: Every indexing operation is logged in the Ingestion runs and events views for inspection.
Overview of Algolia Recommend models
Algolia Recommend uses supervised machine learning models trained on product data and user interactions to suggest items. It employs two primary algorithm types:
- Collaborative Filtering: Analyzes user events (interactions between
userTokenandobjectID) from the last 30 to 90 days to find items that are similar or frequently bought together. - Content-based Filtering: Analyzes key item attributes (like titles or descriptions) to find similarities, which is particularly useful for items with low interaction data (cold start).
Models are re-trained once every day automatically.
- Collaborative Filtering: Analyzes user events (interactions between
Overview of AI Agent Memory in Agent Studio
AI agents use memory to retain and recall information across multiple conversations with the same user. This prevents lost context, repetitive interactions, and impersonal experiences. Memory operates in two stages: automatic retrieval at the start of a conversation and active management during the conversation using specific memory tools.Overview of Algolia A/B Testing
Algolia A/B testing allows developers to create two alternative search experiences with unique settings, deploy them live, and determine which performs better based on user behavior. It combines relevance tuning with analytics to make data-driven decisions about index configurations, query parameters, and settings.Overview of Algolia Ask AI
Ask AI is a conversational AI assistant (chatbot) that enhances keyword search by using an Algolia index to provide context-aware answers grounded in your existing support articles, developer documentation, and blogs. It is LLM-agnostic, allowing you to connect your own LLM provider and API keys to maintain control over costs and behavior. While integrated into DocSearch, it can also be used with custom UIs.Overview of setting up Algolia Recommend
Setting up Algolia Recommend involves three primary phases: preparing your data (indexing and event collection), selecting and training the machine learning models in the Algolia dashboard, and integrating the recommendations into your user interface.Overview of User Authentication in Agent Studio
User authentication allows Agent Studio to associate conversations and memory with specific users. By providing a secure user token, you can restrict access so users only read their own data and provide personalized experiences in multi-user applications. Without a secure JWT, Agent Studio cannot identify users or scope data per user.Overview of External Source Groups
External source groups allow developers to inject specific items into search results based on external logic (e.g., Retail Media Platforms, bidding systems, or ML recommendation engines). Unlike search-based groups, external sources provide precise control over which exact items appear, while Algolia manages the placement, optional re-ranking, and merging with organic results.Overview of Algolia Merchandising
Merchandising in Algolia allows you to promote specific products or categories to improve conversion rates, highlight best products, or follow trends. This is achieved through rules that influence the ranking of individual records or entire categories. Rules can be configured in the Algolia dashboard using two methods:
- Visual Editor: A no-code interface for creating rules and setting search results for specific queries via drag-and-drop.
- Manual Editor: A more powerful interface where rules are defined as JSON.
Overview of autocomplete-core
Theautocomplete-corepackage provides the foundational primitives required to build an autocomplete experience. It is primarily intended for developers who are building a custom renderer. For most standard search integrations, using the higher-level Autocomplete library or the experimental Autocomplete widget in InstantSearch (available for both JS and React) is recommended.