is an option to CreateSearchIndex and related functions that specifies how to determine locations to be used for hyperlinks and related constructs in the resulting index.


ContentLocationFunction
is an option to CreateSearchIndex and related functions that specifies how to determine locations to be used for hyperlinks and related constructs in the resulting index.
Details

- ContentLocationFunction->f specifies that hyperlinks etc. should point to the location obtained by applying f to the association that stores the content in each content object.
- ContentLocationFunction-><|"ReferenceLocation"->fr,"SnippetSource"->fs|> allows different functions to be used to determine locations to point to and to extract snippets from.
See Also
History
Text
Wolfram Research (2016), ContentLocationFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/ContentLocationFunction.html.
CMS
Wolfram Language. 2016. "ContentLocationFunction." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ContentLocationFunction.html.
APA
Wolfram Language. (2016). ContentLocationFunction. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ContentLocationFunction.html
BibTeX
@misc{reference.wolfram_2025_contentlocationfunction, author="Wolfram Research", title="{ContentLocationFunction}", year="2016", howpublished="\url{https://reference.wolfram.com/language/ref/ContentLocationFunction.html}", note=[Accessed: 11-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_contentlocationfunction, organization={Wolfram Research}, title={ContentLocationFunction}, year={2016}, url={https://reference.wolfram.com/language/ref/ContentLocationFunction.html}, note=[Accessed: 11-August-2025]}