UpdateSemanticSearchIndex

This functionality requires LLM access »

UpdateSemanticSearchIndex[index,source]

updates the SemanticSearchIndex[] index with the data in source.

Details and Options

  • UpdateSemanticSearchIndex extends an existing SemanticSearchIndex with additional data, expanding the indexs storage and search capabilities.
  • Possible values for source are:
  • "string"a plain string
    File["path"]individual file
    URL["url"]the text representation of "url"
    CloudObject[]a cloud object
    LocalObject[]a local object
    ContentObject[]a content object
    {source1,source2,}list of sources
  • If index contains annotated sources, each new source should be annotated the same way.
  • Possible ways to specify annotations include:
  • {source1val1,}a list of sources and associated values
    {source1,}{val1,}a rule between sources and values
  • Accepted forms of annotation values vali include:
  • "string"string labels
    <|"tag1"v1,|>an association of tags and metadata values
  • MethodAutomaticmethod details
    ProgressReporting$ProgressReportingwhether to report the progress of the computation
  • Detailed options can be given using Method<|opt1val1|>. Possible values for opti are:
  • "ContextPadding"minimal overlap between chunks
    "MaximumItemLength"maximum length of a text chunk
    "MinimumItemLength"minimum length of a text chunk
    "SplitPattern"Automaticwhere to split long strings

Examples

open allclose all

Basic Examples  (2)

Create a semantic search index:

Update the index with one more source:

Update an index with multiple new sources:

Scope  (3)

Annotations  (3)

Update an index that has labels:

Update an index with tags in an Association:

Update an index with multiple tags in an Association:

Wolfram Research (2024), UpdateSemanticSearchIndex, Wolfram Language function, https://reference.wolfram.com/language/ref/UpdateSemanticSearchIndex.html (updated 2025).

Text

Wolfram Research (2024), UpdateSemanticSearchIndex, Wolfram Language function, https://reference.wolfram.com/language/ref/UpdateSemanticSearchIndex.html (updated 2025).

CMS

Wolfram Language. 2024. "UpdateSemanticSearchIndex." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2025. https://reference.wolfram.com/language/ref/UpdateSemanticSearchIndex.html.

APA

Wolfram Language. (2024). UpdateSemanticSearchIndex. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/UpdateSemanticSearchIndex.html

BibTeX

@misc{reference.wolfram_2024_updatesemanticsearchindex, author="Wolfram Research", title="{UpdateSemanticSearchIndex}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/UpdateSemanticSearchIndex.html}", note=[Accessed: 09-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_updatesemanticsearchindex, organization={Wolfram Research}, title={UpdateSemanticSearchIndex}, year={2025}, url={https://reference.wolfram.com/language/ref/UpdateSemanticSearchIndex.html}, note=[Accessed: 09-December-2024 ]}