UpdateSemanticSearchIndex

This functionality requires an external account »

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
    {obj1,obj2,}list of objects
  • If index contains tags, sources should be tagged the same way. Possible values include:
  • {obj1val1,}a list of vectors and associated values
    {obj1,}{val1,}a rule between vectors and values
  • Accepted forms of vali include:
  • "string"string labels
    <|"tag1"v1,|>an association of tags and metadata values
  • CreateSemanticSearchIndex supports the following options:
  • 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 items
    "MaximumItemLength"maximum length of a text segment
    "MinimumItemLength"minimum length of a text segment
    "SplitPattern"Automaticwhere to split long strings

Examples

Basic Examples  (1)

Create a semantic search index:

Update the index with one more source:

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

Text

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

CMS

Wolfram Language. 2024. "UpdateSemanticSearchIndex." Wolfram Language & System Documentation Center. Wolfram Research. 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="2024", howpublished="\url{https://reference.wolfram.com/language/ref/UpdateSemanticSearchIndex.html}", note=[Accessed: 10-September-2024 ]}

BibLaTeX

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