composite

fun composite(parts: List<IndexTerm>, options: IndexOptions): IndexTerm?

The composite term keying parts together, or null if it cannot be spelled.

null when the tuple would exceed IndexOptions.maxTermBytes — the same bound the writer applied to the same bytes, so a tuple the index dropped is one a query declines to look up rather than one it takes a false negative from. The parts are in the index's declared field order, which is a property of the file rather than of the query; the planner reorders.