These very simple demonstration examples show you how the two types of buffer geometry work.
BufferGeometryNonIndexed
BufferGeometryIndexed
from the Collection of examples from discourse.threejs.org
You can also find more examples of buffer geometry there.
This example works with color.
HighlightCubeFaceOnHover
This is where positions and indices are set.
RemoveTriangles