Index is a simple search index.
It does not store values, only the value's ID provided by the consumer of this package.
The IDs of all matching values are returned as the result of a search.
Insert stores the relationship with the given ID and strings (queries).
It also requires a confidence to be associated with the relationship, which is used to order results.