🔏
Azure Serverless Quickstart
  • Introduction
  • Initial Setup
    • Workstation Installs
    • Codebase
      • Directory Structure
      • User Interface Project
        • Configuring StoryBook
        • Configure Tailwind
        • Configure Craco
        • -Architectural Decision Log
      • Data Access Project
        • DDD
      • Untitled
      • Full Stack Debugging
      • Creating GitHub Project
    • Infrastructure
      • Configure Session Behavior
      • Create AAD Tenant
      • Resource Group
      • Create AAD B2C Instance
        • Identity Experience Framework
        • Configure Session Behavior
      • Storage Account & CDN
        • CDN Rules
        • Configure Azure BLOB Storage
      • App Insights
        • Create AppInsight Account
        • Apollo GraphQL App Insights Configuration
      • CosmosDB
      • Twilio SendGrid
      • KeyVault
      • Function
      • Function App Settings
      • Front Door
      • DevOps
      • Optional Items
        • Azure Data Factory
      • Azure Event Hub
    • CICD and Source Control
      • Azure DevOps
      • SonarCloud
        • Incorporate into Yaml
      • Chromatic
      • User Interface YAML
      • CICD for Data Access
        • Create Pipeline
        • Data Access YAML
  • Application Structure
    • Connect Apollo
      • Apollo Overview
      • Create Apollo Component
    • MongoDB Integration
      • Mappings
      • Directory Structure
      • Apollo Connection
      • Models
      • Queries Mutations and Subscriptions
      • Caching Reponses
    • Integrating GraphQL Tools
      • GraphQL Code Generator
    • Feature Flags
      • Flag Structure & Storage
      • Website Integration
      • Apollo Integration
      • Tips and Techniques
      • Alternative Approaches
    • React Router
    • Adding Authentication
      • Create AAD Applications
      • Configure AAD For External Identities
      • Adding MSAL And React
      • Add MSAL to the build
      • Add MSAL to ApolloClient
      • Add MSAL to ApolloServer
    • Ant Design
    • Jest Tests
  • Azure Active Directory Business-to-Consumer (AD B2C)
    • Introduction
    • How to navigate through AD B2C documentation
    • Localization
    • Abbreviations
    • Azure AD B2C Extension
  • Cognitive Search
  • Cost Analysis
  • Technical Architecture
    • Identity and Access Control
  • Adding Functionality
    • Google Analytics
      • Create Analytics
    • DAPR
      • DAPR setup
      • DAPR Services (ignore for now)
        • Identity
  • Patterns and Practices
    • Idempotent Messages
    • Pathways
    • DDD
      • Initial Setup
        • Aggregate Root
        • Entity
        • Value Object
      • Field Types
        • Primitive Types
        • Non-Primitive Types
          • Types.DocumentArray
          • PopulatedDoc
          • Custom Types
      • Example Walkthrough
  • Open Items
    • Issue Tracking
  • Helpful Resources
  • DDD
    • Page 1
  • Experimental
    • StaticWebApp
    • Azure Maps
Powered by GitBook
On this page
  • What is Cognitive Search?
  • Index definition
  • Important Classes
  • Consuming Cognitive Search

Was this helpful?

Cognitive Search

Useful Vocabulary For Cognitive Search

PreviousAzure AD B2C ExtensionNextCost Analysis

Last updated 2 years ago

Was this helpful?

Documentation:

What is Cognitive Search?

It is a search as a service that gives a developer an API to add a search experience through a user defined index

Index definition

A user defined Object that lets cognitive search know what to return based on certain fields

Fields Include:

  • Searchable - Allows a field to be searched

  • Facetable - Allows a field to be counted

  • Retrievable - Cannot be searched, but the field name will be returned

  • Filterable - Indicates whether to enable the field to be referenced in $filter queries

  • Sortable - Indicates whether to enable the field to be referenced in $orderby expressions

Important Classes

SearchClient

  • Searching your indexed documents using rich queries and powerful data shaping

  • Autocompleting partially typed search terms based on documents in the index

  • Suggesting the most likely matching text in documents as a user types

  • Adding, Updating or Deleting Documents documents from an index

SearchIndexClient

  • Create, delete, update, or configure a search index

  • Declare custom synonym maps to expand or rewrite queries

SearchIndexerClient

  • Start indexers to automatically crawl data sources

  • Define AI powered Skillsets to transform and enrich your data

Consuming Cognitive Search

  • Create an index for a document using SearchIndexClient.

  • Get/Search a document from an index using SearchClient

  • Add documents into an index: based on the index definition, the library will look for the documents in the data source to add it to the index.

https://docs.microsoft.com/en-us/javascript/api/overview/azure/search-documents-readme?view=azure-node-latest