IndexIsDeleted reports whether the document at id is tombstoned.
(idx *Index, id uint32)
| 20 | |
| 21 | // IndexIsDeleted reports whether the document at id is tombstoned. |
| 22 | func IndexIsDeleted(idx *Index, id uint32) bool { |
| 23 | return idx.deleted[id] |
| 24 | } |
| 25 | |
| 26 | // IndexByGramLen returns the number of entries in the trigram index. |
| 27 | func IndexByGramLen(idx *Index) int { |
no outgoing calls
no test coverage detected