({{, (RefLink[ContentLocationFunction, paclet:ref/ContentLocationFunction]) 
is an option to (RefLink[CreateSearchIndex, paclet:ref/CreateSearchIndex]) and related functions that specifies how to determine locations to be used for hyperlinks and related constructs in the resulting index.}})

OpenersNotesSection(Spacer1)Details

(RefLink[ContentLocationFunction, paclet:ref/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.

(RefLink[ContentLocationFunction, paclet:ref/ContentLocationFunction])-><|"ReferenceLocation"->(Subscript[f, r]),"SnippetSource"->(Subscript[f, s])|> allows different functions to be used to determine locations to point to and to extract snippets from.

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[CreateSearchIndex, paclet:ref/CreateSearchIndex])  ▪  (RefLink[ContentObject, paclet:ref/ContentObject])  ▪  (RefLink[Path, paclet:ref/Path])  ▪  (RefLink[Snippet, paclet:ref/Snippet])}})}})