How expensive is the filter by property for a string operation?

Description

I’m syncing in a user’s emails but sometimes the user may add the same entire email list twice. As a counter measure, I can do this to check if the email with this title exists:

query_result = tenant_collection.query.fetch_objects(
			filters=Filter.by_property("title").equal(email_title) & Filter.by_property("recordType").equal("email"),
			include_vector=True,
			limit=top_k
		)

However, this could be done on thousands of emails sequentially. Is this an expensive operation?

I’m using the hosted Weaviate serverless instance.

Server Setup Information

  • Weaviate Server Version: Serverless
  • Deployment Method:
  • Multi Node? Number of Running Nodes:
  • Client Language and Version:
  • Multitenancy?: Yes

Any additional Information