code: public int index(boolean force) {
  		int count = 0;
  		if (force || !isIndexed()) {
  			getOrCreateExtension();
  			TableIndex tableIndex = getOrCreateTableIndex();
  			createOrClearGeometryIndices();
  			geoPackage.unindexGeometryIndexTable();
  			count = indexTable(tableIndex);
  			geoPackage.indexGeometryIndexTable();
  		}
  		return count;
  	}
docs: Index the feature table
  
  @param force
  true to force re-indexing
  @return count