isMetadataOnly refers to an index that is only applicable to create for a location that does metadata storage
()
| 258 | |
| 259 | // isMetadataOnly refers to an index that is only applicable to create for a location that does metadata storage |
| 260 | func (i *SGIndex) isMetadataOnly() bool { |
| 261 | return i.flags&IdxFlagMetadataOnly != 0 |
| 262 | } |
| 263 | |
| 264 | // isPrincipalOnly refers to an index that is only applicable for querying principal docs. |
| 265 | func (i *SGIndex) isPrincipalOnly() bool { |