def embed_documents(self, texts: List[str]) -> List[List[float]]:
        """Return simple embeddings. Embeddings encode each text as its index."""
        return [
            [float(1.0)] * (self.dimensionality - 1) + [float(i)]
            for i in range(len(texts))
        ]
Return simple embeddings. Embeddings encode each text as its index.
test_elasticsearch/test_server/test_vectorstore/__init__.py