Ext X: search options
Extension tag X (ASCII X) holds search options: the analyzer and a positions trailer marked 0x50. The positions setting decides whether full-text payloads carry term positions.
The body is:
varint nidx ‖ nidx × entry [‖ 0x50 ‖ nidx × positions u8]entry = 0 | 1 ‖ opt name ‖ opt stopwords ‖ opt synonyms ‖ varint nboost ‖ nboost × f64 LEopt = 0 | 1 ‖ varint len ‖ utf8There is one entry per index in definition order; an entry of 0 means the index has no search options. nboost is 0 or the index column count, at most 8, and each weight must be finite and in (0, 1000]. The trailer is present only when some index records a positions setting: 0 unset, 1 off, 2 on.