Use IndexOption.DOCS_ONLY for boolean fields

Closes #2866