UpdateSearchIndex

UpdateSearchIndex[obj]

updates the given search index object.

UpdateSearchIndex["name"]

updates the search index with the specified name in the SearchIndices[] list.

Details

Examples

open allclose all

Basic Examples  (1)

Create a SearchIndexObject for a single file:

Search for a string:

Modify the file and update the index:

The file now contains both strings:

Properties & Relations  (1)

Create an index with a single file:

The string "two" is not present:

Add a document to the index:

The string "two" is present in the new document:

Remove the first document from the index:

The index still contains the other documents:

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

Text

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

CMS

Wolfram Language. 2015. "UpdateSearchIndex." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/UpdateSearchIndex.html.

APA

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

BibTeX

@misc{reference.wolfram_2024_updatesearchindex, author="Wolfram Research", title="{UpdateSearchIndex}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/UpdateSearchIndex.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_updatesearchindex, organization={Wolfram Research}, title={UpdateSearchIndex}, year={2015}, url={https://reference.wolfram.com/language/ref/UpdateSearchIndex.html}, note=[Accessed: 21-November-2024 ]}