indexer optimization and bugfix tei import with multiple values
performance optimizations