1. Packages
  2. Algolia Provider
  3. API Docs
  4. Index
algolia 0.6.0 published on Monday, Apr 14, 2025 by k-yomo

algolia.Index

Explore with Pulumi AI

algolia logo
algolia 0.6.0 published on Monday, Apr 14, 2025 by k-yomo

    A configuration for an index.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as algolia from "@pulumi/algolia";
    
    const primary = new algolia.Index("primary", {
        attributesConfig: {
            searchableAttributes: [
                "title",
                "category,tag",
                "unordered(description)",
            ],
            attributesForFacetings: ["category"],
            unretrievableAttributes: ["author_email"],
            attributesToRetrieves: [
                "title",
                "category",
                "tag",
                "description",
                "body",
            ],
        },
        rankingConfig: {
            rankings: [
                "words",
                "proximity",
            ],
        },
        facetingConfig: {
            maxValuesPerFacet: 50,
            sortFacetValuesBy: "alpha",
        },
        languagesConfig: {
            removeStopWordsFors: ["en"],
        },
    });
    const replica = new algolia.Index("replica", {primaryIndexName: primary.name});
    // Configure settings for this replica
    
    import pulumi
    import pulumi_algolia as algolia
    
    primary = algolia.Index("primary",
        attributes_config={
            "searchable_attributes": [
                "title",
                "category,tag",
                "unordered(description)",
            ],
            "attributes_for_facetings": ["category"],
            "unretrievable_attributes": ["author_email"],
            "attributes_to_retrieves": [
                "title",
                "category",
                "tag",
                "description",
                "body",
            ],
        },
        ranking_config={
            "rankings": [
                "words",
                "proximity",
            ],
        },
        faceting_config={
            "max_values_per_facet": 50,
            "sort_facet_values_by": "alpha",
        },
        languages_config={
            "remove_stop_words_fors": ["en"],
        })
    replica = algolia.Index("replica", primary_index_name=primary.name)
    # Configure settings for this replica
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/algolia/algolia"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		primary, err := algolia.NewIndex(ctx, "primary", &algolia.IndexArgs{
    			AttributesConfig: &algolia.IndexAttributesConfigArgs{
    				SearchableAttributes: pulumi.StringArray{
    					pulumi.String("title"),
    					pulumi.String("category,tag"),
    					pulumi.String("unordered(description)"),
    				},
    				AttributesForFacetings: pulumi.StringArray{
    					pulumi.String("category"),
    				},
    				UnretrievableAttributes: pulumi.StringArray{
    					pulumi.String("author_email"),
    				},
    				AttributesToRetrieves: pulumi.StringArray{
    					pulumi.String("title"),
    					pulumi.String("category"),
    					pulumi.String("tag"),
    					pulumi.String("description"),
    					pulumi.String("body"),
    				},
    			},
    			RankingConfig: &algolia.IndexRankingConfigArgs{
    				Rankings: pulumi.StringArray{
    					pulumi.String("words"),
    					pulumi.String("proximity"),
    				},
    			},
    			FacetingConfig: &algolia.IndexFacetingConfigArgs{
    				MaxValuesPerFacet: pulumi.Float64(50),
    				SortFacetValuesBy: pulumi.String("alpha"),
    			},
    			LanguagesConfig: &algolia.IndexLanguagesConfigArgs{
    				RemoveStopWordsFors: pulumi.StringArray{
    					pulumi.String("en"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = algolia.NewIndex(ctx, "replica", &algolia.IndexArgs{
    			PrimaryIndexName: primary.Name,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Algolia = Pulumi.Algolia;
    
    return await Deployment.RunAsync(() => 
    {
        var primary = new Algolia.Index("primary", new()
        {
            AttributesConfig = new Algolia.Inputs.IndexAttributesConfigArgs
            {
                SearchableAttributes = new[]
                {
                    "title",
                    "category,tag",
                    "unordered(description)",
                },
                AttributesForFacetings = new[]
                {
                    "category",
                },
                UnretrievableAttributes = new[]
                {
                    "author_email",
                },
                AttributesToRetrieves = new[]
                {
                    "title",
                    "category",
                    "tag",
                    "description",
                    "body",
                },
            },
            RankingConfig = new Algolia.Inputs.IndexRankingConfigArgs
            {
                Rankings = new[]
                {
                    "words",
                    "proximity",
                },
            },
            FacetingConfig = new Algolia.Inputs.IndexFacetingConfigArgs
            {
                MaxValuesPerFacet = 50,
                SortFacetValuesBy = "alpha",
            },
            LanguagesConfig = new Algolia.Inputs.IndexLanguagesConfigArgs
            {
                RemoveStopWordsFors = new[]
                {
                    "en",
                },
            },
        });
    
        var replica = new Algolia.Index("replica", new()
        {
            PrimaryIndexName = primary.Name,
        });
    
        // Configure settings for this replica
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.algolia.Index;
    import com.pulumi.algolia.IndexArgs;
    import com.pulumi.algolia.inputs.IndexAttributesConfigArgs;
    import com.pulumi.algolia.inputs.IndexRankingConfigArgs;
    import com.pulumi.algolia.inputs.IndexFacetingConfigArgs;
    import com.pulumi.algolia.inputs.IndexLanguagesConfigArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var primary = new Index("primary", IndexArgs.builder()
                .attributesConfig(IndexAttributesConfigArgs.builder()
                    .searchableAttributes(                
                        "title",
                        "category,tag",
                        "unordered(description)")
                    .attributesForFacetings("category")
                    .unretrievableAttributes("author_email")
                    .attributesToRetrieves(                
                        "title",
                        "category",
                        "tag",
                        "description",
                        "body")
                    .build())
                .rankingConfig(IndexRankingConfigArgs.builder()
                    .rankings(                
                        "words",
                        "proximity")
                    .build())
                .facetingConfig(IndexFacetingConfigArgs.builder()
                    .maxValuesPerFacet(50)
                    .sortFacetValuesBy("alpha")
                    .build())
                .languagesConfig(IndexLanguagesConfigArgs.builder()
                    .removeStopWordsFors("en")
                    .build())
                .build());
    
            var replica = new Index("replica", IndexArgs.builder()
                .primaryIndexName(primary.name())
                .build());
    
            // Configure settings for this replica
        }
    }
    
    resources:
      primary:
        type: algolia:Index
        properties:
          attributesConfig:
            searchableAttributes:
              - title
              - category,tag
              - unordered(description)
            attributesForFacetings:
              - category
            unretrievableAttributes:
              - author_email
            attributesToRetrieves:
              - title
              - category
              - tag
              - description
              - body
          rankingConfig:
            rankings:
              - words
              - proximity
          facetingConfig:
            maxValuesPerFacet: 50
            sortFacetValuesBy: alpha
          languagesConfig:
            removeStopWordsFors:
              - en
      replica:
        type: algolia:Index
        properties:
          primaryIndexName: ${primary.name}
    

    Create Index Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Index(name: string, args?: IndexArgs, opts?: CustomResourceOptions);
    @overload
    def Index(resource_name: str,
              args: Optional[IndexArgs] = None,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Index(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              advanced_config: Optional[IndexAdvancedConfigArgs] = None,
              attributes_config: Optional[IndexAttributesConfigArgs] = None,
              deletion_protection: Optional[bool] = None,
              enable_personalization: Optional[bool] = None,
              enable_rules: Optional[bool] = None,
              faceting_config: Optional[IndexFacetingConfigArgs] = None,
              highlight_and_snippet_config: Optional[IndexHighlightAndSnippetConfigArgs] = None,
              index_id: Optional[str] = None,
              languages_config: Optional[IndexLanguagesConfigArgs] = None,
              name: Optional[str] = None,
              pagination_config: Optional[IndexPaginationConfigArgs] = None,
              performance_config: Optional[IndexPerformanceConfigArgs] = None,
              primary_index_name: Optional[str] = None,
              query_strategy_config: Optional[IndexQueryStrategyConfigArgs] = None,
              ranking_config: Optional[IndexRankingConfigArgs] = None,
              timeouts: Optional[IndexTimeoutsArgs] = None,
              typos_config: Optional[IndexTyposConfigArgs] = None,
              virtual: Optional[bool] = None)
    func NewIndex(ctx *Context, name string, args *IndexArgs, opts ...ResourceOption) (*Index, error)
    public Index(string name, IndexArgs? args = null, CustomResourceOptions? opts = null)
    public Index(String name, IndexArgs args)
    public Index(String name, IndexArgs args, CustomResourceOptions options)
    
    type: algolia:Index
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args IndexArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args IndexArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args IndexArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IndexArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IndexArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var indexResource = new Algolia.Index("indexResource", new()
    {
        AdvancedConfig = new Algolia.Inputs.IndexAdvancedConfigArgs
        {
            AttributeCriteriaComputedByMinProximity = false,
            AttributeForDistinct = "string",
            Distinct = 0,
            MaxFacetHits = 0,
            MinProximity = 0,
            ReplaceSynonymsInHighlight = false,
            ResponseFields = new[]
            {
                "string",
            },
        },
        AttributesConfig = new Algolia.Inputs.IndexAttributesConfigArgs
        {
            AttributesForFacetings = new[]
            {
                "string",
            },
            AttributesToRetrieves = new[]
            {
                "string",
            },
            SearchableAttributes = new[]
            {
                "string",
            },
            UnretrievableAttributes = new[]
            {
                "string",
            },
        },
        DeletionProtection = false,
        EnablePersonalization = false,
        EnableRules = false,
        FacetingConfig = new Algolia.Inputs.IndexFacetingConfigArgs
        {
            MaxValuesPerFacet = 0,
            SortFacetValuesBy = "string",
        },
        HighlightAndSnippetConfig = new Algolia.Inputs.IndexHighlightAndSnippetConfigArgs
        {
            AttributesToHighlights = new[]
            {
                "string",
            },
            AttributesToSnippets = new[]
            {
                "string",
            },
            HighlightPostTag = "string",
            HighlightPreTag = "string",
            RestrictHighlightAndSnippetArrays = false,
            SnippetEllipsisText = "string",
        },
        IndexId = "string",
        LanguagesConfig = new Algolia.Inputs.IndexLanguagesConfigArgs
        {
            AttributesToTransliterates = new[]
            {
                "string",
            },
            CamelCaseAttributes = new[]
            {
                "string",
            },
            CustomNormalization = 
            {
                { "string", "string" },
            },
            DecompoundQuery = false,
            DecompoundedAttributes = new[]
            {
                new Algolia.Inputs.IndexLanguagesConfigDecompoundedAttributeArgs
                {
                    Attributes = new[]
                    {
                        "string",
                    },
                    Language = "string",
                },
            },
            IgnorePlurals = false,
            IgnorePluralsFors = new[]
            {
                "string",
            },
            IndexLanguages = new[]
            {
                "string",
            },
            KeepDiacriticsOnCharacters = "string",
            QueryLanguages = new[]
            {
                "string",
            },
            RemoveStopWords = false,
            RemoveStopWordsFors = new[]
            {
                "string",
            },
        },
        Name = "string",
        PaginationConfig = new Algolia.Inputs.IndexPaginationConfigArgs
        {
            HitsPerPage = 0,
            PaginationLimitedTo = 0,
        },
        PerformanceConfig = new Algolia.Inputs.IndexPerformanceConfigArgs
        {
            AllowCompressionOfIntegerArray = false,
            NumericAttributesForFilterings = new[]
            {
                "string",
            },
        },
        PrimaryIndexName = "string",
        QueryStrategyConfig = new Algolia.Inputs.IndexQueryStrategyConfigArgs
        {
            AdvancedSyntax = false,
            AdvancedSyntaxFeatures = new[]
            {
                "string",
            },
            AlternativesAsExacts = new[]
            {
                "string",
            },
            DisableExactOnAttributes = new[]
            {
                "string",
            },
            DisablePrefixOnAttributes = new[]
            {
                "string",
            },
            ExactOnSingleWordQuery = "string",
            OptionalWords = new[]
            {
                "string",
            },
            QueryType = "string",
            RemoveWordsIfNoResults = "string",
        },
        RankingConfig = new Algolia.Inputs.IndexRankingConfigArgs
        {
            CustomRankings = new[]
            {
                "string",
            },
            Rankings = new[]
            {
                "string",
            },
            RelevancyStrictness = 0,
        },
        Timeouts = new Algolia.Inputs.IndexTimeoutsArgs
        {
            Default = "string",
        },
        TyposConfig = new Algolia.Inputs.IndexTyposConfigArgs
        {
            AllowTyposOnNumericTokens = false,
            DisableTypoToleranceOnAttributes = new[]
            {
                "string",
            },
            DisableTypoToleranceOnWords = new[]
            {
                "string",
            },
            MinWordSizeFor1Typo = 0,
            MinWordSizeFor2Typos = 0,
            SeparatorsToIndex = "string",
            TypoTolerance = "string",
        },
    });
    
    example, err := algolia.NewIndex(ctx, "indexResource", &algolia.IndexArgs{
    	AdvancedConfig: &algolia.IndexAdvancedConfigArgs{
    		AttributeCriteriaComputedByMinProximity: pulumi.Bool(false),
    		AttributeForDistinct:                    pulumi.String("string"),
    		Distinct:                                pulumi.Float64(0),
    		MaxFacetHits:                            pulumi.Float64(0),
    		MinProximity:                            pulumi.Float64(0),
    		ReplaceSynonymsInHighlight:              pulumi.Bool(false),
    		ResponseFields: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	AttributesConfig: &algolia.IndexAttributesConfigArgs{
    		AttributesForFacetings: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		AttributesToRetrieves: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		SearchableAttributes: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		UnretrievableAttributes: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	DeletionProtection:    pulumi.Bool(false),
    	EnablePersonalization: pulumi.Bool(false),
    	EnableRules:           pulumi.Bool(false),
    	FacetingConfig: &algolia.IndexFacetingConfigArgs{
    		MaxValuesPerFacet: pulumi.Float64(0),
    		SortFacetValuesBy: pulumi.String("string"),
    	},
    	HighlightAndSnippetConfig: &algolia.IndexHighlightAndSnippetConfigArgs{
    		AttributesToHighlights: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		AttributesToSnippets: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		HighlightPostTag:                  pulumi.String("string"),
    		HighlightPreTag:                   pulumi.String("string"),
    		RestrictHighlightAndSnippetArrays: pulumi.Bool(false),
    		SnippetEllipsisText:               pulumi.String("string"),
    	},
    	IndexId: pulumi.String("string"),
    	LanguagesConfig: &algolia.IndexLanguagesConfigArgs{
    		AttributesToTransliterates: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		CamelCaseAttributes: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		CustomNormalization: pulumi.StringMap{
    			"string": pulumi.String("string"),
    		},
    		DecompoundQuery: pulumi.Bool(false),
    		DecompoundedAttributes: algolia.IndexLanguagesConfigDecompoundedAttributeArray{
    			&algolia.IndexLanguagesConfigDecompoundedAttributeArgs{
    				Attributes: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				Language: pulumi.String("string"),
    			},
    		},
    		IgnorePlurals: pulumi.Bool(false),
    		IgnorePluralsFors: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		IndexLanguages: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		KeepDiacriticsOnCharacters: pulumi.String("string"),
    		QueryLanguages: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		RemoveStopWords: pulumi.Bool(false),
    		RemoveStopWordsFors: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	Name: pulumi.String("string"),
    	PaginationConfig: &algolia.IndexPaginationConfigArgs{
    		HitsPerPage:         pulumi.Float64(0),
    		PaginationLimitedTo: pulumi.Float64(0),
    	},
    	PerformanceConfig: &algolia.IndexPerformanceConfigArgs{
    		AllowCompressionOfIntegerArray: pulumi.Bool(false),
    		NumericAttributesForFilterings: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	PrimaryIndexName: pulumi.String("string"),
    	QueryStrategyConfig: &algolia.IndexQueryStrategyConfigArgs{
    		AdvancedSyntax: pulumi.Bool(false),
    		AdvancedSyntaxFeatures: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		AlternativesAsExacts: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		DisableExactOnAttributes: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		DisablePrefixOnAttributes: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		ExactOnSingleWordQuery: pulumi.String("string"),
    		OptionalWords: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		QueryType:              pulumi.String("string"),
    		RemoveWordsIfNoResults: pulumi.String("string"),
    	},
    	RankingConfig: &algolia.IndexRankingConfigArgs{
    		CustomRankings: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Rankings: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		RelevancyStrictness: pulumi.Float64(0),
    	},
    	Timeouts: &algolia.IndexTimeoutsArgs{
    		Default: pulumi.String("string"),
    	},
    	TyposConfig: &algolia.IndexTyposConfigArgs{
    		AllowTyposOnNumericTokens: pulumi.Bool(false),
    		DisableTypoToleranceOnAttributes: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		DisableTypoToleranceOnWords: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		MinWordSizeFor1Typo:  pulumi.Float64(0),
    		MinWordSizeFor2Typos: pulumi.Float64(0),
    		SeparatorsToIndex:    pulumi.String("string"),
    		TypoTolerance:        pulumi.String("string"),
    	},
    })
    
    var indexResource = new Index("indexResource", IndexArgs.builder()
        .advancedConfig(IndexAdvancedConfigArgs.builder()
            .attributeCriteriaComputedByMinProximity(false)
            .attributeForDistinct("string")
            .distinct(0)
            .maxFacetHits(0)
            .minProximity(0)
            .replaceSynonymsInHighlight(false)
            .responseFields("string")
            .build())
        .attributesConfig(IndexAttributesConfigArgs.builder()
            .attributesForFacetings("string")
            .attributesToRetrieves("string")
            .searchableAttributes("string")
            .unretrievableAttributes("string")
            .build())
        .deletionProtection(false)
        .enablePersonalization(false)
        .enableRules(false)
        .facetingConfig(IndexFacetingConfigArgs.builder()
            .maxValuesPerFacet(0)
            .sortFacetValuesBy("string")
            .build())
        .highlightAndSnippetConfig(IndexHighlightAndSnippetConfigArgs.builder()
            .attributesToHighlights("string")
            .attributesToSnippets("string")
            .highlightPostTag("string")
            .highlightPreTag("string")
            .restrictHighlightAndSnippetArrays(false)
            .snippetEllipsisText("string")
            .build())
        .indexId("string")
        .languagesConfig(IndexLanguagesConfigArgs.builder()
            .attributesToTransliterates("string")
            .camelCaseAttributes("string")
            .customNormalization(Map.of("string", "string"))
            .decompoundQuery(false)
            .decompoundedAttributes(IndexLanguagesConfigDecompoundedAttributeArgs.builder()
                .attributes("string")
                .language("string")
                .build())
            .ignorePlurals(false)
            .ignorePluralsFors("string")
            .indexLanguages("string")
            .keepDiacriticsOnCharacters("string")
            .queryLanguages("string")
            .removeStopWords(false)
            .removeStopWordsFors("string")
            .build())
        .name("string")
        .paginationConfig(IndexPaginationConfigArgs.builder()
            .hitsPerPage(0)
            .paginationLimitedTo(0)
            .build())
        .performanceConfig(IndexPerformanceConfigArgs.builder()
            .allowCompressionOfIntegerArray(false)
            .numericAttributesForFilterings("string")
            .build())
        .primaryIndexName("string")
        .queryStrategyConfig(IndexQueryStrategyConfigArgs.builder()
            .advancedSyntax(false)
            .advancedSyntaxFeatures("string")
            .alternativesAsExacts("string")
            .disableExactOnAttributes("string")
            .disablePrefixOnAttributes("string")
            .exactOnSingleWordQuery("string")
            .optionalWords("string")
            .queryType("string")
            .removeWordsIfNoResults("string")
            .build())
        .rankingConfig(IndexRankingConfigArgs.builder()
            .customRankings("string")
            .rankings("string")
            .relevancyStrictness(0)
            .build())
        .timeouts(IndexTimeoutsArgs.builder()
            .default_("string")
            .build())
        .typosConfig(IndexTyposConfigArgs.builder()
            .allowTyposOnNumericTokens(false)
            .disableTypoToleranceOnAttributes("string")
            .disableTypoToleranceOnWords("string")
            .minWordSizeFor1Typo(0)
            .minWordSizeFor2Typos(0)
            .separatorsToIndex("string")
            .typoTolerance("string")
            .build())
        .build());
    
    index_resource = algolia.Index("indexResource",
        advanced_config={
            "attribute_criteria_computed_by_min_proximity": False,
            "attribute_for_distinct": "string",
            "distinct": 0,
            "max_facet_hits": 0,
            "min_proximity": 0,
            "replace_synonyms_in_highlight": False,
            "response_fields": ["string"],
        },
        attributes_config={
            "attributes_for_facetings": ["string"],
            "attributes_to_retrieves": ["string"],
            "searchable_attributes": ["string"],
            "unretrievable_attributes": ["string"],
        },
        deletion_protection=False,
        enable_personalization=False,
        enable_rules=False,
        faceting_config={
            "max_values_per_facet": 0,
            "sort_facet_values_by": "string",
        },
        highlight_and_snippet_config={
            "attributes_to_highlights": ["string"],
            "attributes_to_snippets": ["string"],
            "highlight_post_tag": "string",
            "highlight_pre_tag": "string",
            "restrict_highlight_and_snippet_arrays": False,
            "snippet_ellipsis_text": "string",
        },
        index_id="string",
        languages_config={
            "attributes_to_transliterates": ["string"],
            "camel_case_attributes": ["string"],
            "custom_normalization": {
                "string": "string",
            },
            "decompound_query": False,
            "decompounded_attributes": [{
                "attributes": ["string"],
                "language": "string",
            }],
            "ignore_plurals": False,
            "ignore_plurals_fors": ["string"],
            "index_languages": ["string"],
            "keep_diacritics_on_characters": "string",
            "query_languages": ["string"],
            "remove_stop_words": False,
            "remove_stop_words_fors": ["string"],
        },
        name="string",
        pagination_config={
            "hits_per_page": 0,
            "pagination_limited_to": 0,
        },
        performance_config={
            "allow_compression_of_integer_array": False,
            "numeric_attributes_for_filterings": ["string"],
        },
        primary_index_name="string",
        query_strategy_config={
            "advanced_syntax": False,
            "advanced_syntax_features": ["string"],
            "alternatives_as_exacts": ["string"],
            "disable_exact_on_attributes": ["string"],
            "disable_prefix_on_attributes": ["string"],
            "exact_on_single_word_query": "string",
            "optional_words": ["string"],
            "query_type": "string",
            "remove_words_if_no_results": "string",
        },
        ranking_config={
            "custom_rankings": ["string"],
            "rankings": ["string"],
            "relevancy_strictness": 0,
        },
        timeouts={
            "default": "string",
        },
        typos_config={
            "allow_typos_on_numeric_tokens": False,
            "disable_typo_tolerance_on_attributes": ["string"],
            "disable_typo_tolerance_on_words": ["string"],
            "min_word_size_for1_typo": 0,
            "min_word_size_for2_typos": 0,
            "separators_to_index": "string",
            "typo_tolerance": "string",
        })
    
    const indexResource = new algolia.Index("indexResource", {
        advancedConfig: {
            attributeCriteriaComputedByMinProximity: false,
            attributeForDistinct: "string",
            distinct: 0,
            maxFacetHits: 0,
            minProximity: 0,
            replaceSynonymsInHighlight: false,
            responseFields: ["string"],
        },
        attributesConfig: {
            attributesForFacetings: ["string"],
            attributesToRetrieves: ["string"],
            searchableAttributes: ["string"],
            unretrievableAttributes: ["string"],
        },
        deletionProtection: false,
        enablePersonalization: false,
        enableRules: false,
        facetingConfig: {
            maxValuesPerFacet: 0,
            sortFacetValuesBy: "string",
        },
        highlightAndSnippetConfig: {
            attributesToHighlights: ["string"],
            attributesToSnippets: ["string"],
            highlightPostTag: "string",
            highlightPreTag: "string",
            restrictHighlightAndSnippetArrays: false,
            snippetEllipsisText: "string",
        },
        indexId: "string",
        languagesConfig: {
            attributesToTransliterates: ["string"],
            camelCaseAttributes: ["string"],
            customNormalization: {
                string: "string",
            },
            decompoundQuery: false,
            decompoundedAttributes: [{
                attributes: ["string"],
                language: "string",
            }],
            ignorePlurals: false,
            ignorePluralsFors: ["string"],
            indexLanguages: ["string"],
            keepDiacriticsOnCharacters: "string",
            queryLanguages: ["string"],
            removeStopWords: false,
            removeStopWordsFors: ["string"],
        },
        name: "string",
        paginationConfig: {
            hitsPerPage: 0,
            paginationLimitedTo: 0,
        },
        performanceConfig: {
            allowCompressionOfIntegerArray: false,
            numericAttributesForFilterings: ["string"],
        },
        primaryIndexName: "string",
        queryStrategyConfig: {
            advancedSyntax: false,
            advancedSyntaxFeatures: ["string"],
            alternativesAsExacts: ["string"],
            disableExactOnAttributes: ["string"],
            disablePrefixOnAttributes: ["string"],
            exactOnSingleWordQuery: "string",
            optionalWords: ["string"],
            queryType: "string",
            removeWordsIfNoResults: "string",
        },
        rankingConfig: {
            customRankings: ["string"],
            rankings: ["string"],
            relevancyStrictness: 0,
        },
        timeouts: {
            "default": "string",
        },
        typosConfig: {
            allowTyposOnNumericTokens: false,
            disableTypoToleranceOnAttributes: ["string"],
            disableTypoToleranceOnWords: ["string"],
            minWordSizeFor1Typo: 0,
            minWordSizeFor2Typos: 0,
            separatorsToIndex: "string",
            typoTolerance: "string",
        },
    });
    
    type: algolia:Index
    properties:
        advancedConfig:
            attributeCriteriaComputedByMinProximity: false
            attributeForDistinct: string
            distinct: 0
            maxFacetHits: 0
            minProximity: 0
            replaceSynonymsInHighlight: false
            responseFields:
                - string
        attributesConfig:
            attributesForFacetings:
                - string
            attributesToRetrieves:
                - string
            searchableAttributes:
                - string
            unretrievableAttributes:
                - string
        deletionProtection: false
        enablePersonalization: false
        enableRules: false
        facetingConfig:
            maxValuesPerFacet: 0
            sortFacetValuesBy: string
        highlightAndSnippetConfig:
            attributesToHighlights:
                - string
            attributesToSnippets:
                - string
            highlightPostTag: string
            highlightPreTag: string
            restrictHighlightAndSnippetArrays: false
            snippetEllipsisText: string
        indexId: string
        languagesConfig:
            attributesToTransliterates:
                - string
            camelCaseAttributes:
                - string
            customNormalization:
                string: string
            decompoundQuery: false
            decompoundedAttributes:
                - attributes:
                    - string
                  language: string
            ignorePlurals: false
            ignorePluralsFors:
                - string
            indexLanguages:
                - string
            keepDiacriticsOnCharacters: string
            queryLanguages:
                - string
            removeStopWords: false
            removeStopWordsFors:
                - string
        name: string
        paginationConfig:
            hitsPerPage: 0
            paginationLimitedTo: 0
        performanceConfig:
            allowCompressionOfIntegerArray: false
            numericAttributesForFilterings:
                - string
        primaryIndexName: string
        queryStrategyConfig:
            advancedSyntax: false
            advancedSyntaxFeatures:
                - string
            alternativesAsExacts:
                - string
            disableExactOnAttributes:
                - string
            disablePrefixOnAttributes:
                - string
            exactOnSingleWordQuery: string
            optionalWords:
                - string
            queryType: string
            removeWordsIfNoResults: string
        rankingConfig:
            customRankings:
                - string
            rankings:
                - string
            relevancyStrictness: 0
        timeouts:
            default: string
        typosConfig:
            allowTyposOnNumericTokens: false
            disableTypoToleranceOnAttributes:
                - string
            disableTypoToleranceOnWords:
                - string
            minWordSizeFor1Typo: 0
            minWordSizeFor2Typos: 0
            separatorsToIndex: string
            typoTolerance: string
    

    Index Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Index resource accepts the following input properties:

    AdvancedConfig IndexAdvancedConfig
    The configuration for advanced features in index setting.
    AttributesConfig IndexAttributesConfig
    The configuration for attributes.
    DeletionProtection bool
    EnablePersonalization bool
    Whether to enable the Personalization feature.
    EnableRules bool
    Whether Rules should be globally enabled.
    FacetingConfig IndexFacetingConfig
    The configuration for faceting.
    HighlightAndSnippetConfig IndexHighlightAndSnippetConfig
    The configuration for highlight / snippet in index setting.
    IndexId string
    LanguagesConfig IndexLanguagesConfig
    The configuration for languages in index setting.
    Name string
    Name of the index / replica index. For creating virtual replica, use algolia.VirtualIndex resource instead.
    PaginationConfig IndexPaginationConfig
    The configuration for pagination in index setting.
    PerformanceConfig IndexPerformanceConfig
    The configuration for performance in index setting.
    PrimaryIndexName string
    The name of the existing primary index name. This field is used to create a replica index.
    QueryStrategyConfig IndexQueryStrategyConfig
    The configuration for query strategy in index setting.
    RankingConfig IndexRankingConfig
    The configuration for ranking.
    Timeouts IndexTimeouts
    TyposConfig IndexTyposConfig
    The configuration for typos in index setting.
    Virtual bool
    Deprecated: Use algolia.VirtualIndex resource instead. Whether the index is virtual index. If true, applying the params listed in the doc will be ignored.

    Deprecated: Deprecated

    AdvancedConfig IndexAdvancedConfigArgs
    The configuration for advanced features in index setting.
    AttributesConfig IndexAttributesConfigArgs
    The configuration for attributes.
    DeletionProtection bool
    EnablePersonalization bool
    Whether to enable the Personalization feature.
    EnableRules bool
    Whether Rules should be globally enabled.
    FacetingConfig IndexFacetingConfigArgs
    The configuration for faceting.
    HighlightAndSnippetConfig IndexHighlightAndSnippetConfigArgs
    The configuration for highlight / snippet in index setting.
    IndexId string
    LanguagesConfig IndexLanguagesConfigArgs
    The configuration for languages in index setting.
    Name string
    Name of the index / replica index. For creating virtual replica, use algolia.VirtualIndex resource instead.
    PaginationConfig IndexPaginationConfigArgs
    The configuration for pagination in index setting.
    PerformanceConfig IndexPerformanceConfigArgs
    The configuration for performance in index setting.
    PrimaryIndexName string
    The name of the existing primary index name. This field is used to create a replica index.
    QueryStrategyConfig IndexQueryStrategyConfigArgs
    The configuration for query strategy in index setting.
    RankingConfig IndexRankingConfigArgs
    The configuration for ranking.
    Timeouts IndexTimeoutsArgs
    TyposConfig IndexTyposConfigArgs
    The configuration for typos in index setting.
    Virtual bool
    Deprecated: Use algolia.VirtualIndex resource instead. Whether the index is virtual index. If true, applying the params listed in the doc will be ignored.

    Deprecated: Deprecated

    advancedConfig IndexAdvancedConfig
    The configuration for advanced features in index setting.
    attributesConfig IndexAttributesConfig
    The configuration for attributes.
    deletionProtection Boolean
    enablePersonalization Boolean
    Whether to enable the Personalization feature.
    enableRules Boolean
    Whether Rules should be globally enabled.
    facetingConfig IndexFacetingConfig
    The configuration for faceting.
    highlightAndSnippetConfig IndexHighlightAndSnippetConfig
    The configuration for highlight / snippet in index setting.
    indexId String
    languagesConfig IndexLanguagesConfig
    The configuration for languages in index setting.
    name String
    Name of the index / replica index. For creating virtual replica, use algolia.VirtualIndex resource instead.
    paginationConfig IndexPaginationConfig
    The configuration for pagination in index setting.
    performanceConfig IndexPerformanceConfig
    The configuration for performance in index setting.
    primaryIndexName String
    The name of the existing primary index name. This field is used to create a replica index.
    queryStrategyConfig IndexQueryStrategyConfig
    The configuration for query strategy in index setting.
    rankingConfig IndexRankingConfig
    The configuration for ranking.
    timeouts IndexTimeouts
    typosConfig IndexTyposConfig
    The configuration for typos in index setting.
    virtual Boolean
    Deprecated: Use algolia.VirtualIndex resource instead. Whether the index is virtual index. If true, applying the params listed in the doc will be ignored.

    Deprecated: Deprecated

    advancedConfig IndexAdvancedConfig
    The configuration for advanced features in index setting.
    attributesConfig IndexAttributesConfig
    The configuration for attributes.
    deletionProtection boolean
    enablePersonalization boolean
    Whether to enable the Personalization feature.
    enableRules boolean
    Whether Rules should be globally enabled.
    facetingConfig IndexFacetingConfig
    The configuration for faceting.
    highlightAndSnippetConfig IndexHighlightAndSnippetConfig
    The configuration for highlight / snippet in index setting.
    indexId string
    languagesConfig IndexLanguagesConfig
    The configuration for languages in index setting.
    name string
    Name of the index / replica index. For creating virtual replica, use algolia.VirtualIndex resource instead.
    paginationConfig IndexPaginationConfig
    The configuration for pagination in index setting.
    performanceConfig IndexPerformanceConfig
    The configuration for performance in index setting.
    primaryIndexName string
    The name of the existing primary index name. This field is used to create a replica index.
    queryStrategyConfig IndexQueryStrategyConfig
    The configuration for query strategy in index setting.
    rankingConfig IndexRankingConfig
    The configuration for ranking.
    timeouts IndexTimeouts
    typosConfig IndexTyposConfig
    The configuration for typos in index setting.
    virtual boolean
    Deprecated: Use algolia.VirtualIndex resource instead. Whether the index is virtual index. If true, applying the params listed in the doc will be ignored.

    Deprecated: Deprecated

    advanced_config IndexAdvancedConfigArgs
    The configuration for advanced features in index setting.
    attributes_config IndexAttributesConfigArgs
    The configuration for attributes.
    deletion_protection bool
    enable_personalization bool
    Whether to enable the Personalization feature.
    enable_rules bool
    Whether Rules should be globally enabled.
    faceting_config IndexFacetingConfigArgs
    The configuration for faceting.
    highlight_and_snippet_config IndexHighlightAndSnippetConfigArgs
    The configuration for highlight / snippet in index setting.
    index_id str
    languages_config IndexLanguagesConfigArgs
    The configuration for languages in index setting.
    name str
    Name of the index / replica index. For creating virtual replica, use algolia.VirtualIndex resource instead.
    pagination_config IndexPaginationConfigArgs
    The configuration for pagination in index setting.
    performance_config IndexPerformanceConfigArgs
    The configuration for performance in index setting.
    primary_index_name str
    The name of the existing primary index name. This field is used to create a replica index.
    query_strategy_config IndexQueryStrategyConfigArgs
    The configuration for query strategy in index setting.
    ranking_config IndexRankingConfigArgs
    The configuration for ranking.
    timeouts IndexTimeoutsArgs
    typos_config IndexTyposConfigArgs
    The configuration for typos in index setting.
    virtual bool
    Deprecated: Use algolia.VirtualIndex resource instead. Whether the index is virtual index. If true, applying the params listed in the doc will be ignored.

    Deprecated: Deprecated

    advancedConfig Property Map
    The configuration for advanced features in index setting.
    attributesConfig Property Map
    The configuration for attributes.
    deletionProtection Boolean
    enablePersonalization Boolean
    Whether to enable the Personalization feature.
    enableRules Boolean
    Whether Rules should be globally enabled.
    facetingConfig Property Map
    The configuration for faceting.
    highlightAndSnippetConfig Property Map
    The configuration for highlight / snippet in index setting.
    indexId String
    languagesConfig Property Map
    The configuration for languages in index setting.
    name String
    Name of the index / replica index. For creating virtual replica, use algolia.VirtualIndex resource instead.
    paginationConfig Property Map
    The configuration for pagination in index setting.
    performanceConfig Property Map
    The configuration for performance in index setting.
    primaryIndexName String
    The name of the existing primary index name. This field is used to create a replica index.
    queryStrategyConfig Property Map
    The configuration for query strategy in index setting.
    rankingConfig Property Map
    The configuration for ranking.
    timeouts Property Map
    typosConfig Property Map
    The configuration for typos in index setting.
    virtual Boolean
    Deprecated: Use algolia.VirtualIndex resource instead. Whether the index is virtual index. If true, applying the params listed in the doc will be ignored.

    Deprecated: Deprecated

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Index resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing Index Resource

    Get an existing Index resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: IndexState, opts?: CustomResourceOptions): Index
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            advanced_config: Optional[IndexAdvancedConfigArgs] = None,
            attributes_config: Optional[IndexAttributesConfigArgs] = None,
            deletion_protection: Optional[bool] = None,
            enable_personalization: Optional[bool] = None,
            enable_rules: Optional[bool] = None,
            faceting_config: Optional[IndexFacetingConfigArgs] = None,
            highlight_and_snippet_config: Optional[IndexHighlightAndSnippetConfigArgs] = None,
            index_id: Optional[str] = None,
            languages_config: Optional[IndexLanguagesConfigArgs] = None,
            name: Optional[str] = None,
            pagination_config: Optional[IndexPaginationConfigArgs] = None,
            performance_config: Optional[IndexPerformanceConfigArgs] = None,
            primary_index_name: Optional[str] = None,
            query_strategy_config: Optional[IndexQueryStrategyConfigArgs] = None,
            ranking_config: Optional[IndexRankingConfigArgs] = None,
            timeouts: Optional[IndexTimeoutsArgs] = None,
            typos_config: Optional[IndexTyposConfigArgs] = None,
            virtual: Optional[bool] = None) -> Index
    func GetIndex(ctx *Context, name string, id IDInput, state *IndexState, opts ...ResourceOption) (*Index, error)
    public static Index Get(string name, Input<string> id, IndexState? state, CustomResourceOptions? opts = null)
    public static Index get(String name, Output<String> id, IndexState state, CustomResourceOptions options)
    resources:  _:    type: algolia:Index    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AdvancedConfig IndexAdvancedConfig
    The configuration for advanced features in index setting.
    AttributesConfig IndexAttributesConfig
    The configuration for attributes.
    DeletionProtection bool
    EnablePersonalization bool
    Whether to enable the Personalization feature.
    EnableRules bool
    Whether Rules should be globally enabled.
    FacetingConfig IndexFacetingConfig
    The configuration for faceting.
    HighlightAndSnippetConfig IndexHighlightAndSnippetConfig
    The configuration for highlight / snippet in index setting.
    IndexId string
    LanguagesConfig IndexLanguagesConfig
    The configuration for languages in index setting.
    Name string
    Name of the index / replica index. For creating virtual replica, use algolia.VirtualIndex resource instead.
    PaginationConfig IndexPaginationConfig
    The configuration for pagination in index setting.
    PerformanceConfig IndexPerformanceConfig
    The configuration for performance in index setting.
    PrimaryIndexName string
    The name of the existing primary index name. This field is used to create a replica index.
    QueryStrategyConfig IndexQueryStrategyConfig
    The configuration for query strategy in index setting.
    RankingConfig IndexRankingConfig
    The configuration for ranking.
    Timeouts IndexTimeouts
    TyposConfig IndexTyposConfig
    The configuration for typos in index setting.
    Virtual bool
    Deprecated: Use algolia.VirtualIndex resource instead. Whether the index is virtual index. If true, applying the params listed in the doc will be ignored.

    Deprecated: Deprecated

    AdvancedConfig IndexAdvancedConfigArgs
    The configuration for advanced features in index setting.
    AttributesConfig IndexAttributesConfigArgs
    The configuration for attributes.
    DeletionProtection bool
    EnablePersonalization bool
    Whether to enable the Personalization feature.
    EnableRules bool
    Whether Rules should be globally enabled.
    FacetingConfig IndexFacetingConfigArgs
    The configuration for faceting.
    HighlightAndSnippetConfig IndexHighlightAndSnippetConfigArgs
    The configuration for highlight / snippet in index setting.
    IndexId string
    LanguagesConfig IndexLanguagesConfigArgs
    The configuration for languages in index setting.
    Name string
    Name of the index / replica index. For creating virtual replica, use algolia.VirtualIndex resource instead.
    PaginationConfig IndexPaginationConfigArgs
    The configuration for pagination in index setting.
    PerformanceConfig IndexPerformanceConfigArgs
    The configuration for performance in index setting.
    PrimaryIndexName string
    The name of the existing primary index name. This field is used to create a replica index.
    QueryStrategyConfig IndexQueryStrategyConfigArgs
    The configuration for query strategy in index setting.
    RankingConfig IndexRankingConfigArgs
    The configuration for ranking.
    Timeouts IndexTimeoutsArgs
    TyposConfig IndexTyposConfigArgs
    The configuration for typos in index setting.
    Virtual bool
    Deprecated: Use algolia.VirtualIndex resource instead. Whether the index is virtual index. If true, applying the params listed in the doc will be ignored.

    Deprecated: Deprecated

    advancedConfig IndexAdvancedConfig
    The configuration for advanced features in index setting.
    attributesConfig IndexAttributesConfig
    The configuration for attributes.
    deletionProtection Boolean
    enablePersonalization Boolean
    Whether to enable the Personalization feature.
    enableRules Boolean
    Whether Rules should be globally enabled.
    facetingConfig IndexFacetingConfig
    The configuration for faceting.
    highlightAndSnippetConfig IndexHighlightAndSnippetConfig
    The configuration for highlight / snippet in index setting.
    indexId String
    languagesConfig IndexLanguagesConfig
    The configuration for languages in index setting.
    name String
    Name of the index / replica index. For creating virtual replica, use algolia.VirtualIndex resource instead.
    paginationConfig IndexPaginationConfig
    The configuration for pagination in index setting.
    performanceConfig IndexPerformanceConfig
    The configuration for performance in index setting.
    primaryIndexName String
    The name of the existing primary index name. This field is used to create a replica index.
    queryStrategyConfig IndexQueryStrategyConfig
    The configuration for query strategy in index setting.
    rankingConfig IndexRankingConfig
    The configuration for ranking.
    timeouts IndexTimeouts
    typosConfig IndexTyposConfig
    The configuration for typos in index setting.
    virtual Boolean
    Deprecated: Use algolia.VirtualIndex resource instead. Whether the index is virtual index. If true, applying the params listed in the doc will be ignored.

    Deprecated: Deprecated

    advancedConfig IndexAdvancedConfig
    The configuration for advanced features in index setting.
    attributesConfig IndexAttributesConfig
    The configuration for attributes.
    deletionProtection boolean
    enablePersonalization boolean
    Whether to enable the Personalization feature.
    enableRules boolean
    Whether Rules should be globally enabled.
    facetingConfig IndexFacetingConfig
    The configuration for faceting.
    highlightAndSnippetConfig IndexHighlightAndSnippetConfig
    The configuration for highlight / snippet in index setting.
    indexId string
    languagesConfig IndexLanguagesConfig
    The configuration for languages in index setting.
    name string
    Name of the index / replica index. For creating virtual replica, use algolia.VirtualIndex resource instead.
    paginationConfig IndexPaginationConfig
    The configuration for pagination in index setting.
    performanceConfig IndexPerformanceConfig
    The configuration for performance in index setting.
    primaryIndexName string
    The name of the existing primary index name. This field is used to create a replica index.
    queryStrategyConfig IndexQueryStrategyConfig
    The configuration for query strategy in index setting.
    rankingConfig IndexRankingConfig
    The configuration for ranking.
    timeouts IndexTimeouts
    typosConfig IndexTyposConfig
    The configuration for typos in index setting.
    virtual boolean
    Deprecated: Use algolia.VirtualIndex resource instead. Whether the index is virtual index. If true, applying the params listed in the doc will be ignored.

    Deprecated: Deprecated

    advanced_config IndexAdvancedConfigArgs
    The configuration for advanced features in index setting.
    attributes_config IndexAttributesConfigArgs
    The configuration for attributes.
    deletion_protection bool
    enable_personalization bool
    Whether to enable the Personalization feature.
    enable_rules bool
    Whether Rules should be globally enabled.
    faceting_config IndexFacetingConfigArgs
    The configuration for faceting.
    highlight_and_snippet_config IndexHighlightAndSnippetConfigArgs
    The configuration for highlight / snippet in index setting.
    index_id str
    languages_config IndexLanguagesConfigArgs
    The configuration for languages in index setting.
    name str
    Name of the index / replica index. For creating virtual replica, use algolia.VirtualIndex resource instead.
    pagination_config IndexPaginationConfigArgs
    The configuration for pagination in index setting.
    performance_config IndexPerformanceConfigArgs
    The configuration for performance in index setting.
    primary_index_name str
    The name of the existing primary index name. This field is used to create a replica index.
    query_strategy_config IndexQueryStrategyConfigArgs
    The configuration for query strategy in index setting.
    ranking_config IndexRankingConfigArgs
    The configuration for ranking.
    timeouts IndexTimeoutsArgs
    typos_config IndexTyposConfigArgs
    The configuration for typos in index setting.
    virtual bool
    Deprecated: Use algolia.VirtualIndex resource instead. Whether the index is virtual index. If true, applying the params listed in the doc will be ignored.

    Deprecated: Deprecated

    advancedConfig Property Map
    The configuration for advanced features in index setting.
    attributesConfig Property Map
    The configuration for attributes.
    deletionProtection Boolean
    enablePersonalization Boolean
    Whether to enable the Personalization feature.
    enableRules Boolean
    Whether Rules should be globally enabled.
    facetingConfig Property Map
    The configuration for faceting.
    highlightAndSnippetConfig Property Map
    The configuration for highlight / snippet in index setting.
    indexId String
    languagesConfig Property Map
    The configuration for languages in index setting.
    name String
    Name of the index / replica index. For creating virtual replica, use algolia.VirtualIndex resource instead.
    paginationConfig Property Map
    The configuration for pagination in index setting.
    performanceConfig Property Map
    The configuration for performance in index setting.
    primaryIndexName String
    The name of the existing primary index name. This field is used to create a replica index.
    queryStrategyConfig Property Map
    The configuration for query strategy in index setting.
    rankingConfig Property Map
    The configuration for ranking.
    timeouts Property Map
    typosConfig Property Map
    The configuration for typos in index setting.
    virtual Boolean
    Deprecated: Use algolia.VirtualIndex resource instead. Whether the index is virtual index. If true, applying the params listed in the doc will be ignored.

    Deprecated: Deprecated

    Supporting Types

    IndexAdvancedConfig, IndexAdvancedConfigArgs

    AttributeCriteriaComputedByMinProximity bool
    When attribute is ranked above proximity in your ranking formula, proximity is used to select which searchable attribute is matched in the attribute ranking stage.
    AttributeForDistinct string
    Name of the de-duplication attribute to be used with the distinct feature.
    Distinct double
    Whether to enable de-duplication or grouping of results.

    • When set to 0, you disable de-duplication and grouping.
    • When set to 1, you enable de-duplication, in which only the most relevant result is returned for all records that have the same value in the distinct attribute. This is similar to the SQL distinct keyword. if distinct is set to 1 (de-duplication):
    • When set to N (where N > 1), you enable grouping, in which most N hits will be returned with the same value for the distinct attribute. then the N most relevant episodes for every show are kept, with similar consequences.
    MaxFacetHits double
    Maximum number of facet hits to return during a search for facet values.
    MinProximity double
    Precision of the proximity ranking criterion.
    ReplaceSynonymsInHighlight bool
    Whether to highlight and snippet the original word that matches the synonym or the synonym itself.
    ResponseFields List<string>
    The fields the response will contain. Applies to search and browse queries. This parameter is mainly intended to limit the response size. For example, in complex queries, echoing of request parameters in the response’s params field can be undesirable.
    AttributeCriteriaComputedByMinProximity bool
    When attribute is ranked above proximity in your ranking formula, proximity is used to select which searchable attribute is matched in the attribute ranking stage.
    AttributeForDistinct string
    Name of the de-duplication attribute to be used with the distinct feature.
    Distinct float64
    Whether to enable de-duplication or grouping of results.

    • When set to 0, you disable de-duplication and grouping.
    • When set to 1, you enable de-duplication, in which only the most relevant result is returned for all records that have the same value in the distinct attribute. This is similar to the SQL distinct keyword. if distinct is set to 1 (de-duplication):
    • When set to N (where N > 1), you enable grouping, in which most N hits will be returned with the same value for the distinct attribute. then the N most relevant episodes for every show are kept, with similar consequences.
    MaxFacetHits float64
    Maximum number of facet hits to return during a search for facet values.
    MinProximity float64
    Precision of the proximity ranking criterion.
    ReplaceSynonymsInHighlight bool
    Whether to highlight and snippet the original word that matches the synonym or the synonym itself.
    ResponseFields []string
    The fields the response will contain. Applies to search and browse queries. This parameter is mainly intended to limit the response size. For example, in complex queries, echoing of request parameters in the response’s params field can be undesirable.
    attributeCriteriaComputedByMinProximity Boolean
    When attribute is ranked above proximity in your ranking formula, proximity is used to select which searchable attribute is matched in the attribute ranking stage.
    attributeForDistinct String
    Name of the de-duplication attribute to be used with the distinct feature.
    distinct Double
    Whether to enable de-duplication or grouping of results.

    • When set to 0, you disable de-duplication and grouping.
    • When set to 1, you enable de-duplication, in which only the most relevant result is returned for all records that have the same value in the distinct attribute. This is similar to the SQL distinct keyword. if distinct is set to 1 (de-duplication):
    • When set to N (where N > 1), you enable grouping, in which most N hits will be returned with the same value for the distinct attribute. then the N most relevant episodes for every show are kept, with similar consequences.
    maxFacetHits Double
    Maximum number of facet hits to return during a search for facet values.
    minProximity Double
    Precision of the proximity ranking criterion.
    replaceSynonymsInHighlight Boolean
    Whether to highlight and snippet the original word that matches the synonym or the synonym itself.
    responseFields List<String>
    The fields the response will contain. Applies to search and browse queries. This parameter is mainly intended to limit the response size. For example, in complex queries, echoing of request parameters in the response’s params field can be undesirable.
    attributeCriteriaComputedByMinProximity boolean
    When attribute is ranked above proximity in your ranking formula, proximity is used to select which searchable attribute is matched in the attribute ranking stage.
    attributeForDistinct string
    Name of the de-duplication attribute to be used with the distinct feature.
    distinct number
    Whether to enable de-duplication or grouping of results.

    • When set to 0, you disable de-duplication and grouping.
    • When set to 1, you enable de-duplication, in which only the most relevant result is returned for all records that have the same value in the distinct attribute. This is similar to the SQL distinct keyword. if distinct is set to 1 (de-duplication):
    • When set to N (where N > 1), you enable grouping, in which most N hits will be returned with the same value for the distinct attribute. then the N most relevant episodes for every show are kept, with similar consequences.
    maxFacetHits number
    Maximum number of facet hits to return during a search for facet values.
    minProximity number
    Precision of the proximity ranking criterion.
    replaceSynonymsInHighlight boolean
    Whether to highlight and snippet the original word that matches the synonym or the synonym itself.
    responseFields string[]
    The fields the response will contain. Applies to search and browse queries. This parameter is mainly intended to limit the response size. For example, in complex queries, echoing of request parameters in the response’s params field can be undesirable.
    attribute_criteria_computed_by_min_proximity bool
    When attribute is ranked above proximity in your ranking formula, proximity is used to select which searchable attribute is matched in the attribute ranking stage.
    attribute_for_distinct str
    Name of the de-duplication attribute to be used with the distinct feature.
    distinct float
    Whether to enable de-duplication or grouping of results.

    • When set to 0, you disable de-duplication and grouping.
    • When set to 1, you enable de-duplication, in which only the most relevant result is returned for all records that have the same value in the distinct attribute. This is similar to the SQL distinct keyword. if distinct is set to 1 (de-duplication):
    • When set to N (where N > 1), you enable grouping, in which most N hits will be returned with the same value for the distinct attribute. then the N most relevant episodes for every show are kept, with similar consequences.
    max_facet_hits float
    Maximum number of facet hits to return during a search for facet values.
    min_proximity float
    Precision of the proximity ranking criterion.
    replace_synonyms_in_highlight bool
    Whether to highlight and snippet the original word that matches the synonym or the synonym itself.
    response_fields Sequence[str]
    The fields the response will contain. Applies to search and browse queries. This parameter is mainly intended to limit the response size. For example, in complex queries, echoing of request parameters in the response’s params field can be undesirable.
    attributeCriteriaComputedByMinProximity Boolean
    When attribute is ranked above proximity in your ranking formula, proximity is used to select which searchable attribute is matched in the attribute ranking stage.
    attributeForDistinct String
    Name of the de-duplication attribute to be used with the distinct feature.
    distinct Number
    Whether to enable de-duplication or grouping of results.

    • When set to 0, you disable de-duplication and grouping.
    • When set to 1, you enable de-duplication, in which only the most relevant result is returned for all records that have the same value in the distinct attribute. This is similar to the SQL distinct keyword. if distinct is set to 1 (de-duplication):
    • When set to N (where N > 1), you enable grouping, in which most N hits will be returned with the same value for the distinct attribute. then the N most relevant episodes for every show are kept, with similar consequences.
    maxFacetHits Number
    Maximum number of facet hits to return during a search for facet values.
    minProximity Number
    Precision of the proximity ranking criterion.
    replaceSynonymsInHighlight Boolean
    Whether to highlight and snippet the original word that matches the synonym or the synonym itself.
    responseFields List<String>
    The fields the response will contain. Applies to search and browse queries. This parameter is mainly intended to limit the response size. For example, in complex queries, echoing of request parameters in the response’s params field can be undesirable.

    IndexAttributesConfig, IndexAttributesConfigArgs

    AttributesForFacetings List<string>
    The complete list of attributes that will be used for faceting.
    AttributesToRetrieves List<string>
    List of attributes to be retrieved at query time.
    SearchableAttributes List<string>
    The complete list of attributes used for searching.
    UnretrievableAttributes List<string>
    List of attributes that cannot be retrieved at query time.
    AttributesForFacetings []string
    The complete list of attributes that will be used for faceting.
    AttributesToRetrieves []string
    List of attributes to be retrieved at query time.
    SearchableAttributes []string
    The complete list of attributes used for searching.
    UnretrievableAttributes []string
    List of attributes that cannot be retrieved at query time.
    attributesForFacetings List<String>
    The complete list of attributes that will be used for faceting.
    attributesToRetrieves List<String>
    List of attributes to be retrieved at query time.
    searchableAttributes List<String>
    The complete list of attributes used for searching.
    unretrievableAttributes List<String>
    List of attributes that cannot be retrieved at query time.
    attributesForFacetings string[]
    The complete list of attributes that will be used for faceting.
    attributesToRetrieves string[]
    List of attributes to be retrieved at query time.
    searchableAttributes string[]
    The complete list of attributes used for searching.
    unretrievableAttributes string[]
    List of attributes that cannot be retrieved at query time.
    attributes_for_facetings Sequence[str]
    The complete list of attributes that will be used for faceting.
    attributes_to_retrieves Sequence[str]
    List of attributes to be retrieved at query time.
    searchable_attributes Sequence[str]
    The complete list of attributes used for searching.
    unretrievable_attributes Sequence[str]
    List of attributes that cannot be retrieved at query time.
    attributesForFacetings List<String>
    The complete list of attributes that will be used for faceting.
    attributesToRetrieves List<String>
    List of attributes to be retrieved at query time.
    searchableAttributes List<String>
    The complete list of attributes used for searching.
    unretrievableAttributes List<String>
    List of attributes that cannot be retrieved at query time.

    IndexFacetingConfig, IndexFacetingConfigArgs

    MaxValuesPerFacet double
    Maximum number of facet values to return for each facet during a regular search.
    SortFacetValuesBy string
    Parameter to controls how the facet values are sorted within each faceted attribute.
    MaxValuesPerFacet float64
    Maximum number of facet values to return for each facet during a regular search.
    SortFacetValuesBy string
    Parameter to controls how the facet values are sorted within each faceted attribute.
    maxValuesPerFacet Double
    Maximum number of facet values to return for each facet during a regular search.
    sortFacetValuesBy String
    Parameter to controls how the facet values are sorted within each faceted attribute.
    maxValuesPerFacet number
    Maximum number of facet values to return for each facet during a regular search.
    sortFacetValuesBy string
    Parameter to controls how the facet values are sorted within each faceted attribute.
    max_values_per_facet float
    Maximum number of facet values to return for each facet during a regular search.
    sort_facet_values_by str
    Parameter to controls how the facet values are sorted within each faceted attribute.
    maxValuesPerFacet Number
    Maximum number of facet values to return for each facet during a regular search.
    sortFacetValuesBy String
    Parameter to controls how the facet values are sorted within each faceted attribute.

    IndexHighlightAndSnippetConfig, IndexHighlightAndSnippetConfigArgs

    AttributesToHighlights List<string>
    List of attributes to highlight.
    AttributesToSnippets List<string>
    List of attributes to snippet, with an optional maximum number of words to snippet.
    HighlightPostTag string
    The HTML string to insert after the highlighted parts in all highlight and snippet results.
    HighlightPreTag string
    The HTML string to insert before the highlighted parts in all highlight and snippet results.
    RestrictHighlightAndSnippetArrays bool
    Restrict highlighting and snippeting to items that matched the query.
    SnippetEllipsisText string
    String used as an ellipsis indicator when a snippet is truncated.
    AttributesToHighlights []string
    List of attributes to highlight.
    AttributesToSnippets []string
    List of attributes to snippet, with an optional maximum number of words to snippet.
    HighlightPostTag string
    The HTML string to insert after the highlighted parts in all highlight and snippet results.
    HighlightPreTag string
    The HTML string to insert before the highlighted parts in all highlight and snippet results.
    RestrictHighlightAndSnippetArrays bool
    Restrict highlighting and snippeting to items that matched the query.
    SnippetEllipsisText string
    String used as an ellipsis indicator when a snippet is truncated.
    attributesToHighlights List<String>
    List of attributes to highlight.
    attributesToSnippets List<String>
    List of attributes to snippet, with an optional maximum number of words to snippet.
    highlightPostTag String
    The HTML string to insert after the highlighted parts in all highlight and snippet results.
    highlightPreTag String
    The HTML string to insert before the highlighted parts in all highlight and snippet results.
    restrictHighlightAndSnippetArrays Boolean
    Restrict highlighting and snippeting to items that matched the query.
    snippetEllipsisText String
    String used as an ellipsis indicator when a snippet is truncated.
    attributesToHighlights string[]
    List of attributes to highlight.
    attributesToSnippets string[]
    List of attributes to snippet, with an optional maximum number of words to snippet.
    highlightPostTag string
    The HTML string to insert after the highlighted parts in all highlight and snippet results.
    highlightPreTag string
    The HTML string to insert before the highlighted parts in all highlight and snippet results.
    restrictHighlightAndSnippetArrays boolean
    Restrict highlighting and snippeting to items that matched the query.
    snippetEllipsisText string
    String used as an ellipsis indicator when a snippet is truncated.
    attributes_to_highlights Sequence[str]
    List of attributes to highlight.
    attributes_to_snippets Sequence[str]
    List of attributes to snippet, with an optional maximum number of words to snippet.
    highlight_post_tag str
    The HTML string to insert after the highlighted parts in all highlight and snippet results.
    highlight_pre_tag str
    The HTML string to insert before the highlighted parts in all highlight and snippet results.
    restrict_highlight_and_snippet_arrays bool
    Restrict highlighting and snippeting to items that matched the query.
    snippet_ellipsis_text str
    String used as an ellipsis indicator when a snippet is truncated.
    attributesToHighlights List<String>
    List of attributes to highlight.
    attributesToSnippets List<String>
    List of attributes to snippet, with an optional maximum number of words to snippet.
    highlightPostTag String
    The HTML string to insert after the highlighted parts in all highlight and snippet results.
    highlightPreTag String
    The HTML string to insert before the highlighted parts in all highlight and snippet results.
    restrictHighlightAndSnippetArrays Boolean
    Restrict highlighting and snippeting to items that matched the query.
    snippetEllipsisText String
    String used as an ellipsis indicator when a snippet is truncated.

    IndexLanguagesConfig, IndexLanguagesConfigArgs

    AttributesToTransliterates List<string>
    List of attributes to apply transliteration
    CamelCaseAttributes List<string>
    List of attributes on which to do a decomposition of camel case words.
    CustomNormalization Dictionary<string, string>
    Custom normalization which overrides the engine’s default normalization
    DecompoundQuery bool
    Whether to split compound words into their composing atoms in the query.
    DecompoundedAttributes List<IndexLanguagesConfigDecompoundedAttribute>
    List of attributes to apply word segmentation, also known as decompounding.
    IgnorePlurals bool
    Whether to treat singular, plurals, and other forms of declensions as matching terms.
    IgnorePluralsFors List<string>
    Whether to treat singular, plurals, and other forms of declensions as matching terms in target languages. List of supported languages are listed on http://nhttps//www.algolia.com/doc/api-reference/api-parameters/ignorePlurals/#usage-notes
    IndexLanguages List<string>
    List of languages at the index level for language-specific processing such as tokenization and normalization.
    KeepDiacriticsOnCharacters string
    List of characters that the engine shouldn’t automatically normalize.
    QueryLanguages List<string>
    List of languages to be used by language-specific settings and functionalities such as ignorePlurals, removeStopWords, and CJK word-detection.
    RemoveStopWords bool
    Whether to removes stop (common) words from the query before executing it.
    RemoveStopWordsFors List<string>
    List of languages to removes stop (common) words from the query before executing it.
    AttributesToTransliterates []string
    List of attributes to apply transliteration
    CamelCaseAttributes []string
    List of attributes on which to do a decomposition of camel case words.
    CustomNormalization map[string]string
    Custom normalization which overrides the engine’s default normalization
    DecompoundQuery bool
    Whether to split compound words into their composing atoms in the query.
    DecompoundedAttributes []IndexLanguagesConfigDecompoundedAttribute
    List of attributes to apply word segmentation, also known as decompounding.
    IgnorePlurals bool
    Whether to treat singular, plurals, and other forms of declensions as matching terms.
    IgnorePluralsFors []string
    Whether to treat singular, plurals, and other forms of declensions as matching terms in target languages. List of supported languages are listed on http://nhttps//www.algolia.com/doc/api-reference/api-parameters/ignorePlurals/#usage-notes
    IndexLanguages []string
    List of languages at the index level for language-specific processing such as tokenization and normalization.
    KeepDiacriticsOnCharacters string
    List of characters that the engine shouldn’t automatically normalize.
    QueryLanguages []string
    List of languages to be used by language-specific settings and functionalities such as ignorePlurals, removeStopWords, and CJK word-detection.
    RemoveStopWords bool
    Whether to removes stop (common) words from the query before executing it.
    RemoveStopWordsFors []string
    List of languages to removes stop (common) words from the query before executing it.
    attributesToTransliterates List<String>
    List of attributes to apply transliteration
    camelCaseAttributes List<String>
    List of attributes on which to do a decomposition of camel case words.
    customNormalization Map<String,String>
    Custom normalization which overrides the engine’s default normalization
    decompoundQuery Boolean
    Whether to split compound words into their composing atoms in the query.
    decompoundedAttributes List<IndexLanguagesConfigDecompoundedAttribute>
    List of attributes to apply word segmentation, also known as decompounding.
    ignorePlurals Boolean
    Whether to treat singular, plurals, and other forms of declensions as matching terms.
    ignorePluralsFors List<String>
    Whether to treat singular, plurals, and other forms of declensions as matching terms in target languages. List of supported languages are listed on http://nhttps//www.algolia.com/doc/api-reference/api-parameters/ignorePlurals/#usage-notes
    indexLanguages List<String>
    List of languages at the index level for language-specific processing such as tokenization and normalization.
    keepDiacriticsOnCharacters String
    List of characters that the engine shouldn’t automatically normalize.
    queryLanguages List<String>
    List of languages to be used by language-specific settings and functionalities such as ignorePlurals, removeStopWords, and CJK word-detection.
    removeStopWords Boolean
    Whether to removes stop (common) words from the query before executing it.
    removeStopWordsFors List<String>
    List of languages to removes stop (common) words from the query before executing it.
    attributesToTransliterates string[]
    List of attributes to apply transliteration
    camelCaseAttributes string[]
    List of attributes on which to do a decomposition of camel case words.
    customNormalization {[key: string]: string}
    Custom normalization which overrides the engine’s default normalization
    decompoundQuery boolean
    Whether to split compound words into their composing atoms in the query.
    decompoundedAttributes IndexLanguagesConfigDecompoundedAttribute[]
    List of attributes to apply word segmentation, also known as decompounding.
    ignorePlurals boolean
    Whether to treat singular, plurals, and other forms of declensions as matching terms.
    ignorePluralsFors string[]
    Whether to treat singular, plurals, and other forms of declensions as matching terms in target languages. List of supported languages are listed on http://nhttps//www.algolia.com/doc/api-reference/api-parameters/ignorePlurals/#usage-notes
    indexLanguages string[]
    List of languages at the index level for language-specific processing such as tokenization and normalization.
    keepDiacriticsOnCharacters string
    List of characters that the engine shouldn’t automatically normalize.
    queryLanguages string[]
    List of languages to be used by language-specific settings and functionalities such as ignorePlurals, removeStopWords, and CJK word-detection.
    removeStopWords boolean
    Whether to removes stop (common) words from the query before executing it.
    removeStopWordsFors string[]
    List of languages to removes stop (common) words from the query before executing it.
    attributes_to_transliterates Sequence[str]
    List of attributes to apply transliteration
    camel_case_attributes Sequence[str]
    List of attributes on which to do a decomposition of camel case words.
    custom_normalization Mapping[str, str]
    Custom normalization which overrides the engine’s default normalization
    decompound_query bool
    Whether to split compound words into their composing atoms in the query.
    decompounded_attributes Sequence[IndexLanguagesConfigDecompoundedAttribute]
    List of attributes to apply word segmentation, also known as decompounding.
    ignore_plurals bool
    Whether to treat singular, plurals, and other forms of declensions as matching terms.
    ignore_plurals_fors Sequence[str]
    Whether to treat singular, plurals, and other forms of declensions as matching terms in target languages. List of supported languages are listed on http://nhttps//www.algolia.com/doc/api-reference/api-parameters/ignorePlurals/#usage-notes
    index_languages Sequence[str]
    List of languages at the index level for language-specific processing such as tokenization and normalization.
    keep_diacritics_on_characters str
    List of characters that the engine shouldn’t automatically normalize.
    query_languages Sequence[str]
    List of languages to be used by language-specific settings and functionalities such as ignorePlurals, removeStopWords, and CJK word-detection.
    remove_stop_words bool
    Whether to removes stop (common) words from the query before executing it.
    remove_stop_words_fors Sequence[str]
    List of languages to removes stop (common) words from the query before executing it.
    attributesToTransliterates List<String>
    List of attributes to apply transliteration
    camelCaseAttributes List<String>
    List of attributes on which to do a decomposition of camel case words.
    customNormalization Map<String>
    Custom normalization which overrides the engine’s default normalization
    decompoundQuery Boolean
    Whether to split compound words into their composing atoms in the query.
    decompoundedAttributes List<Property Map>
    List of attributes to apply word segmentation, also known as decompounding.
    ignorePlurals Boolean
    Whether to treat singular, plurals, and other forms of declensions as matching terms.
    ignorePluralsFors List<String>
    Whether to treat singular, plurals, and other forms of declensions as matching terms in target languages. List of supported languages are listed on http://nhttps//www.algolia.com/doc/api-reference/api-parameters/ignorePlurals/#usage-notes
    indexLanguages List<String>
    List of languages at the index level for language-specific processing such as tokenization and normalization.
    keepDiacriticsOnCharacters String
    List of characters that the engine shouldn’t automatically normalize.
    queryLanguages List<String>
    List of languages to be used by language-specific settings and functionalities such as ignorePlurals, removeStopWords, and CJK word-detection.
    removeStopWords Boolean
    Whether to removes stop (common) words from the query before executing it.
    removeStopWordsFors List<String>
    List of languages to removes stop (common) words from the query before executing it.

    IndexLanguagesConfigDecompoundedAttribute, IndexLanguagesConfigDecompoundedAttributeArgs

    Attributes List<string>
    Language string
    Attributes []string
    Language string
    attributes List<String>
    language String
    attributes string[]
    language string
    attributes Sequence[str]
    language str
    attributes List<String>
    language String

    IndexPaginationConfig, IndexPaginationConfigArgs

    HitsPerPage double
    The number of hits per page.
    PaginationLimitedTo double
    The maximum number of hits accessible via pagination
    HitsPerPage float64
    The number of hits per page.
    PaginationLimitedTo float64
    The maximum number of hits accessible via pagination
    hitsPerPage Double
    The number of hits per page.
    paginationLimitedTo Double
    The maximum number of hits accessible via pagination
    hitsPerPage number
    The number of hits per page.
    paginationLimitedTo number
    The maximum number of hits accessible via pagination
    hits_per_page float
    The number of hits per page.
    pagination_limited_to float
    The maximum number of hits accessible via pagination
    hitsPerPage Number
    The number of hits per page.
    paginationLimitedTo Number
    The maximum number of hits accessible via pagination

    IndexPerformanceConfig, IndexPerformanceConfigArgs

    AllowCompressionOfIntegerArray bool
    Whether to enable compression of large integer arrays.
    NumericAttributesForFilterings List<string>
    List of numeric attributes that can be used as numerical filters.
    AllowCompressionOfIntegerArray bool
    Whether to enable compression of large integer arrays.
    NumericAttributesForFilterings []string
    List of numeric attributes that can be used as numerical filters.
    allowCompressionOfIntegerArray Boolean
    Whether to enable compression of large integer arrays.
    numericAttributesForFilterings List<String>
    List of numeric attributes that can be used as numerical filters.
    allowCompressionOfIntegerArray boolean
    Whether to enable compression of large integer arrays.
    numericAttributesForFilterings string[]
    List of numeric attributes that can be used as numerical filters.
    allow_compression_of_integer_array bool
    Whether to enable compression of large integer arrays.
    numeric_attributes_for_filterings Sequence[str]
    List of numeric attributes that can be used as numerical filters.
    allowCompressionOfIntegerArray Boolean
    Whether to enable compression of large integer arrays.
    numericAttributesForFilterings List<String>
    List of numeric attributes that can be used as numerical filters.

    IndexQueryStrategyConfig, IndexQueryStrategyConfigArgs

    AdvancedSyntax bool
    Whether to enable the advanced query syntax.
    AdvancedSyntaxFeatures List<string>
    Advanced syntax features to be activated when ‘advancedSyntax’ is enabled
    AlternativesAsExacts List<string>
    List of alternatives that should be considered an exact match by the exact ranking criterion.
    DisableExactOnAttributes List<string>
    List of attributes on which you want to disable the exact ranking criterion.
    DisablePrefixOnAttributes List<string>
    List of attributes on which you want to disable prefix matching.
    ExactOnSingleWordQuery string
    Controls how the exact ranking criterion is computed when the query contains only one word.
    OptionalWords List<string>
    A list of words that should be considered as optional when found in the query.
    QueryType string
    Query type to control if and how query words are interpreted as prefixes.
    RemoveWordsIfNoResults string
    Strategy to remove words from the query when it doesn’t match any hits.
    AdvancedSyntax bool
    Whether to enable the advanced query syntax.
    AdvancedSyntaxFeatures []string
    Advanced syntax features to be activated when ‘advancedSyntax’ is enabled
    AlternativesAsExacts []string
    List of alternatives that should be considered an exact match by the exact ranking criterion.
    DisableExactOnAttributes []string
    List of attributes on which you want to disable the exact ranking criterion.
    DisablePrefixOnAttributes []string
    List of attributes on which you want to disable prefix matching.
    ExactOnSingleWordQuery string
    Controls how the exact ranking criterion is computed when the query contains only one word.
    OptionalWords []string
    A list of words that should be considered as optional when found in the query.
    QueryType string
    Query type to control if and how query words are interpreted as prefixes.
    RemoveWordsIfNoResults string
    Strategy to remove words from the query when it doesn’t match any hits.
    advancedSyntax Boolean
    Whether to enable the advanced query syntax.
    advancedSyntaxFeatures List<String>
    Advanced syntax features to be activated when ‘advancedSyntax’ is enabled
    alternativesAsExacts List<String>
    List of alternatives that should be considered an exact match by the exact ranking criterion.
    disableExactOnAttributes List<String>
    List of attributes on which you want to disable the exact ranking criterion.
    disablePrefixOnAttributes List<String>
    List of attributes on which you want to disable prefix matching.
    exactOnSingleWordQuery String
    Controls how the exact ranking criterion is computed when the query contains only one word.
    optionalWords List<String>
    A list of words that should be considered as optional when found in the query.
    queryType String
    Query type to control if and how query words are interpreted as prefixes.
    removeWordsIfNoResults String
    Strategy to remove words from the query when it doesn’t match any hits.
    advancedSyntax boolean
    Whether to enable the advanced query syntax.
    advancedSyntaxFeatures string[]
    Advanced syntax features to be activated when ‘advancedSyntax’ is enabled
    alternativesAsExacts string[]
    List of alternatives that should be considered an exact match by the exact ranking criterion.
    disableExactOnAttributes string[]
    List of attributes on which you want to disable the exact ranking criterion.
    disablePrefixOnAttributes string[]
    List of attributes on which you want to disable prefix matching.
    exactOnSingleWordQuery string
    Controls how the exact ranking criterion is computed when the query contains only one word.
    optionalWords string[]
    A list of words that should be considered as optional when found in the query.
    queryType string
    Query type to control if and how query words are interpreted as prefixes.
    removeWordsIfNoResults string
    Strategy to remove words from the query when it doesn’t match any hits.
    advanced_syntax bool
    Whether to enable the advanced query syntax.
    advanced_syntax_features Sequence[str]
    Advanced syntax features to be activated when ‘advancedSyntax’ is enabled
    alternatives_as_exacts Sequence[str]
    List of alternatives that should be considered an exact match by the exact ranking criterion.
    disable_exact_on_attributes Sequence[str]
    List of attributes on which you want to disable the exact ranking criterion.
    disable_prefix_on_attributes Sequence[str]
    List of attributes on which you want to disable prefix matching.
    exact_on_single_word_query str
    Controls how the exact ranking criterion is computed when the query contains only one word.
    optional_words Sequence[str]
    A list of words that should be considered as optional when found in the query.
    query_type str
    Query type to control if and how query words are interpreted as prefixes.
    remove_words_if_no_results str
    Strategy to remove words from the query when it doesn’t match any hits.
    advancedSyntax Boolean
    Whether to enable the advanced query syntax.
    advancedSyntaxFeatures List<String>
    Advanced syntax features to be activated when ‘advancedSyntax’ is enabled
    alternativesAsExacts List<String>
    List of alternatives that should be considered an exact match by the exact ranking criterion.
    disableExactOnAttributes List<String>
    List of attributes on which you want to disable the exact ranking criterion.
    disablePrefixOnAttributes List<String>
    List of attributes on which you want to disable prefix matching.
    exactOnSingleWordQuery String
    Controls how the exact ranking criterion is computed when the query contains only one word.
    optionalWords List<String>
    A list of words that should be considered as optional when found in the query.
    queryType String
    Query type to control if and how query words are interpreted as prefixes.
    removeWordsIfNoResults String
    Strategy to remove words from the query when it doesn’t match any hits.

    IndexRankingConfig, IndexRankingConfigArgs

    CustomRankings List<string>
    List of attributes for custom ranking criterion.
    Rankings List<string>
    List of ranking criteria.
    RelevancyStrictness double
    Relevancy threshold below which less relevant results aren’t included in the results
    CustomRankings []string
    List of attributes for custom ranking criterion.
    Rankings []string
    List of ranking criteria.
    RelevancyStrictness float64
    Relevancy threshold below which less relevant results aren’t included in the results
    customRankings List<String>
    List of attributes for custom ranking criterion.
    rankings List<String>
    List of ranking criteria.
    relevancyStrictness Double
    Relevancy threshold below which less relevant results aren’t included in the results
    customRankings string[]
    List of attributes for custom ranking criterion.
    rankings string[]
    List of ranking criteria.
    relevancyStrictness number
    Relevancy threshold below which less relevant results aren’t included in the results
    custom_rankings Sequence[str]
    List of attributes for custom ranking criterion.
    rankings Sequence[str]
    List of ranking criteria.
    relevancy_strictness float
    Relevancy threshold below which less relevant results aren’t included in the results
    customRankings List<String>
    List of attributes for custom ranking criterion.
    rankings List<String>
    List of ranking criteria.
    relevancyStrictness Number
    Relevancy threshold below which less relevant results aren’t included in the results

    IndexTimeouts, IndexTimeoutsArgs

    Default string
    Default string
    default_ String
    default string
    default String

    IndexTyposConfig, IndexTyposConfigArgs

    AllowTyposOnNumericTokens bool
    Whether to allow typos on numbers (“numeric tokens”) in the query str
    DisableTypoToleranceOnAttributes List<string>
    List of attributes on which you want to disable typo tolerance.
    DisableTypoToleranceOnWords List<string>
    List of words on which typo tolerance will be disabled.
    MinWordSizeFor1Typo double
    Minimum number of characters a word in the query string must contain to accept matches with 1 typo.
    MinWordSizeFor2Typos double
    Minimum number of characters a word in the query string must contain to accept matches with 2 typos.
    SeparatorsToIndex string
    Separators (punctuation characters) to index. By default, separators are not indexed.
    TypoTolerance string
    Whether typo tolerance is enabled and how it is applied
    AllowTyposOnNumericTokens bool
    Whether to allow typos on numbers (“numeric tokens”) in the query str
    DisableTypoToleranceOnAttributes []string
    List of attributes on which you want to disable typo tolerance.
    DisableTypoToleranceOnWords []string
    List of words on which typo tolerance will be disabled.
    MinWordSizeFor1Typo float64
    Minimum number of characters a word in the query string must contain to accept matches with 1 typo.
    MinWordSizeFor2Typos float64
    Minimum number of characters a word in the query string must contain to accept matches with 2 typos.
    SeparatorsToIndex string
    Separators (punctuation characters) to index. By default, separators are not indexed.
    TypoTolerance string
    Whether typo tolerance is enabled and how it is applied
    allowTyposOnNumericTokens Boolean
    Whether to allow typos on numbers (“numeric tokens”) in the query str
    disableTypoToleranceOnAttributes List<String>
    List of attributes on which you want to disable typo tolerance.
    disableTypoToleranceOnWords List<String>
    List of words on which typo tolerance will be disabled.
    minWordSizeFor1Typo Double
    Minimum number of characters a word in the query string must contain to accept matches with 1 typo.
    minWordSizeFor2Typos Double
    Minimum number of characters a word in the query string must contain to accept matches with 2 typos.
    separatorsToIndex String
    Separators (punctuation characters) to index. By default, separators are not indexed.
    typoTolerance String
    Whether typo tolerance is enabled and how it is applied
    allowTyposOnNumericTokens boolean
    Whether to allow typos on numbers (“numeric tokens”) in the query str
    disableTypoToleranceOnAttributes string[]
    List of attributes on which you want to disable typo tolerance.
    disableTypoToleranceOnWords string[]
    List of words on which typo tolerance will be disabled.
    minWordSizeFor1Typo number
    Minimum number of characters a word in the query string must contain to accept matches with 1 typo.
    minWordSizeFor2Typos number
    Minimum number of characters a word in the query string must contain to accept matches with 2 typos.
    separatorsToIndex string
    Separators (punctuation characters) to index. By default, separators are not indexed.
    typoTolerance string
    Whether typo tolerance is enabled and how it is applied
    allow_typos_on_numeric_tokens bool
    Whether to allow typos on numbers (“numeric tokens”) in the query str
    disable_typo_tolerance_on_attributes Sequence[str]
    List of attributes on which you want to disable typo tolerance.
    disable_typo_tolerance_on_words Sequence[str]
    List of words on which typo tolerance will be disabled.
    min_word_size_for1_typo float
    Minimum number of characters a word in the query string must contain to accept matches with 1 typo.
    min_word_size_for2_typos float
    Minimum number of characters a word in the query string must contain to accept matches with 2 typos.
    separators_to_index str
    Separators (punctuation characters) to index. By default, separators are not indexed.
    typo_tolerance str
    Whether typo tolerance is enabled and how it is applied
    allowTyposOnNumericTokens Boolean
    Whether to allow typos on numbers (“numeric tokens”) in the query str
    disableTypoToleranceOnAttributes List<String>
    List of attributes on which you want to disable typo tolerance.
    disableTypoToleranceOnWords List<String>
    List of words on which typo tolerance will be disabled.
    minWordSizeFor1Typo Number
    Minimum number of characters a word in the query string must contain to accept matches with 1 typo.
    minWordSizeFor2Typos Number
    Minimum number of characters a word in the query string must contain to accept matches with 2 typos.
    separatorsToIndex String
    Separators (punctuation characters) to index. By default, separators are not indexed.
    typoTolerance String
    Whether typo tolerance is enabled and how it is applied

    Import

    $ pulumi import algolia:index/index:Index default {{index_name}}
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    algolia k-yomo/terraform-provider-algolia
    License
    Notes
    This Pulumi package is based on the algolia Terraform Provider.
    algolia logo
    algolia 0.6.0 published on Monday, Apr 14, 2025 by k-yomo