UpdateSemanticSearchIndex
✖
UpdateSemanticSearchIndex
updates the SemanticSearchIndex[…] index with the data in source.
updates the SemanticSearchIndex[…] index with the collection of sources sourcei.
associates the new source sourcei to the value vali.
Details and Options


- UpdateSemanticSearchIndex extends an existing SemanticSearchIndex with additional data, expanding the index’s storage and search capabilities.
- Valid index specifications are:
-
"name" a string matching a named semantic search index SemanticSearchIndex[…] a valid SemanticSearchIndex object - 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 - UpdateSemanticSearchIndex supports the following options:
-
Method Automatic method details ProgressReporting $ProgressReporting whether 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" Automatic where to split long strings - The automatic "SplitPattern" tries to split a source text in paragraphs, newlines and words to create chunks between "MinimumItemLength" and "MaximumItemLength".
Examples
open allclose allBasic Examples (2)Summary of the most common use cases
Create a semantic search index:

https://wolfram.com/xid/0connrexqaaufnmn4fg9-o5ft19

Update the index with one more source:

https://wolfram.com/xid/0connrexqaaufnmn4fg9-3eppub

Update an index with multiple new sources:

https://wolfram.com/xid/0connrexqaaufnmn4fg9-4x7h36


https://wolfram.com/xid/0connrexqaaufnmn4fg9-r5jl81

Scope (6)Survey of the scope of standard use cases
Data Sources (3)
Update an index with a string:

https://wolfram.com/xid/0connrexqaaufnmn4fg9-qn6i3m


https://wolfram.com/xid/0connrexqaaufnmn4fg9-9al1lu


https://wolfram.com/xid/0connrexqaaufnmn4fg9-m9tuwv


https://wolfram.com/xid/0connrexqaaufnmn4fg9-8dvu5t


https://wolfram.com/xid/0connrexqaaufnmn4fg9-1jzyk8


https://wolfram.com/xid/0connrexqaaufnmn4fg9-j3isr9

Annotations (3)
Update an index that has labels:

https://wolfram.com/xid/0connrexqaaufnmn4fg9-2qhzis


https://wolfram.com/xid/0connrexqaaufnmn4fg9-c0tf7n

Update an index with tags in an Association:

https://wolfram.com/xid/0connrexqaaufnmn4fg9-0k306n


https://wolfram.com/xid/0connrexqaaufnmn4fg9-o6voac

Update an index with multiple tags in an Association:

https://wolfram.com/xid/0connrexqaaufnmn4fg9-0vv75v


https://wolfram.com/xid/0connrexqaaufnmn4fg9-pxyq4n

Applications (1)Sample problems that can be solved with this function
Properties & Relations (1)Properties of the function, and connections to other functions
The feature extractor used by UpdateSemanticSearchIndex is inherited from the index:

https://wolfram.com/xid/0connrexqaaufnmn4fg9-4joa1v
Retrieve the feature extractor:

https://wolfram.com/xid/0connrexqaaufnmn4fg9-587j9i

Possible Issues (1)Common pitfalls and unexpected behavior

https://wolfram.com/xid/0connrexqaaufnmn4fg9-bhnnmr

Attempting to update the index using a source without labels will fail:

https://wolfram.com/xid/0connrexqaaufnmn4fg9-pcm1rl


New indices must include the relevant metadata:

https://wolfram.com/xid/0connrexqaaufnmn4fg9-rtx74d

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).
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.
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
Wolfram Language. (2024). UpdateSemanticSearchIndex. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/UpdateSemanticSearchIndex.html
BibTeX
@misc{reference.wolfram_2025_updatesemanticsearchindex, author="Wolfram Research", title="{UpdateSemanticSearchIndex}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/UpdateSemanticSearchIndex.html}", note=[Accessed: 25-March-2025
]}
BibLaTeX
@online{reference.wolfram_2025_updatesemanticsearchindex, organization={Wolfram Research}, title={UpdateSemanticSearchIndex}, year={2025}, url={https://reference.wolfram.com/language/ref/UpdateSemanticSearchIndex.html}, note=[Accessed: 25-March-2025
]}