Do not send useless data to ES (#2919)
Do not send useless data to ES (#2919)

`comment` and `target` were always empty for object index,
`size` was always 0 for package index.
quiltdata/quilt,quiltdata/quilt,quiltdata/quilt,quiltdata/quilt,quiltdata/quilt