Allow embedded indexing

Remove index schema and refactor embedded index registration

delete unused class

change search field naming