langchain/docstore/in_memory.py/InMemoryDocstore/search
class InMemoryDocstore:    def search(self, search: str) -> Union[str, Document]:
        """Search via direct lookup."""
        if search not in self._dict:
            return f"ID {search} not found."
        else:
            return self._dict[search]