Name

slice and dictionary ids — valid values for slice and dictionary ids

Slice and dictionary ids

Both the slice id and the dictionary id (sliceid and dictid for brevity) express some typographical attributes of the text, the only difference is that sliceid is a mnemonic name while dictid is a numeric id. Due to back-compatibility considerations searchbox often emits both of them but you can use one of your choice. However if you use both of them and they don't match searchbox behaviour is undefined.

The values

The following table gives you the names of the mnemonic sliceid and as well as a brief description of their purpose. As dictids are used only for backward compatibility their possible values are undocumented and should not be relied upon.

sliceiddescription
authorThe document author
keywordClassification keywords for the document
abstractDocument abstract
invisibleText that viewers for the document don't usually show.
marginalNormMarginal[a]normal text
marginalEmphMarginal[a], emphasized text
marginalLinkMarginal[a] hyperlink text
marginaHeaderMarginal[a] heading text
centralNormCentral[b], normal text
centralEmphCentral[b], emphasized text
centralLinkCentral[b] hyperlink text
centralHeaderCentral[b] heading text
titleDocument title
custom0[c]
custom1[c]
custom2[c]
custom3[c]
custom4[c]
custom5[c]
custom6[c]
custom7[c]
custom8[c]
custom9[c]
customA[c]
customB[c]
customC[c]
customD[c]
customE[c]
customF[c]

[a] Marginal text is text searchbox considered less prominent due to its typographical attributes.

[b] Central text is text searchbox considered more prominent due to its typographical attributes.

[c] searchbox builtin parsers never place any text in this slice: it is reserved for use by plugins.