returns a list with all the known instances of SemanticSearchIndex.
SemanticSearchIndices[patt]
returns a list of indices with the name matching the pattern patt.
SemanticSearchIndices
returns a list with all the known instances of SemanticSearchIndex.
SemanticSearchIndices[patt]
returns a list of indices with the name matching the pattern patt.
Details
- SemanticSearchIndices is used to retrieve previously defined instances of SemanticSearchIndex.
Examples
open all close allBasic Examples (2)
Scope (4)
SemanticSearchIndices[]Filter the indices using a string pattern:
SemanticSearchIndices["test*"]Filter the indices using a string expression:
SemanticSearchIndices[__ ~~ Except[DigitCharacter]]Filter the indices using a regular expression:
SemanticSearchIndices[RegularExpression[".*_[0-9]+"]]Applications (2)
Table[CreateSemanticSearchIndex[StringRiffle[RandomWord[20]], "test"], 5]List all indices that match the base name:
SemanticSearchIndices["test*"]Delete all objects with that name:
DeleteObject /@ SemanticSearchIndices["test*"]Indexing of the name is now reset:
CreateSemanticSearchIndex[StringRiffle[RandomWord[20]], "test"]Attempting to delete an index that does not exist will result in a failure:
DeleteObject[SemanticSearchIndex["test"]]Use SemanticSearchIndices to check for and remove any existing instances without failing if there are none:
DeleteObject[SemanticSearchIndices["test"]]Related Guides
History
Text
Wolfram Research (2024), SemanticSearchIndices, Wolfram Language function, https://reference.wolfram.com/language/ref/SemanticSearchIndices.html.
CMS
Wolfram Language. 2024. "SemanticSearchIndices." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SemanticSearchIndices.html.
APA
Wolfram Language. (2024). SemanticSearchIndices. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SemanticSearchIndices.html
BibTeX
@misc{reference.wolfram_2026_semanticsearchindices, author="Wolfram Research", title="{SemanticSearchIndices}", year="2024", howpublished="\url{https://reference.wolfram.com/language/ref/SemanticSearchIndices.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_semanticsearchindices, organization={Wolfram Research}, title={SemanticSearchIndices}, year={2024}, url={https://reference.wolfram.com/language/ref/SemanticSearchIndices.html}, note=[Accessed: 13-June-2026]}