code: @Override
      public void indexInner(ByteBuffer key, ColumnFamily columnFamily, long timestamp) {
          DeletionInfo deletionInfo = columnFamily.deletionInfo();
          DecoratedKey partitionKey = rowMapper.partitionKey(key);
  
          if (columnFamily.iterator().hasNext()) {
              List<CellName> clusteringKeys = rowMapper.clusteringKeys(columnFamily);
              Map<CellName, Row> rows = rows(partitionKey, clusteringKeys, timestamp);
              for (Map.Entry<CellName, Row> entry : rows.entrySet()) {
                  CellName clusteringKey = entry.getKey();
                  Row row = entry.getValue();
                  Document document = rowMapper.document(row);
                  Term term = rowMapper.term(partitionKey, clusteringKey);
                  luceneIndex.upsert(term, document); // Store document
              }
          } else if (deletionInfo != null) {
              Iterator<RangeTombstone> iterator = deletionInfo.rangeIterator();
              if (iterator.hasNext()) {
                  while (iterator.hasNext()) {
                      RangeTombstone rangeTombstone = iterator.next();
                      Query query = rowMapper.query(partitionKey, rangeTombstone);
                      luceneIndex.delete(query);
                  }
              } else {
                  Term term = rowMapper.term(partitionKey);
                  luceneIndex.delete(term);
              }
          }
      }
docs: {@inheritDoc}