# Use a dynamic batch process to add multiple documents to the collection efficiently
with collection.batch.dynamic() as batch:
    for src_obj in legal_documents:
        # Add each document to the batch, specifying the "title" and "description" properties
        batch.add_object(
            properties={
                "title": src_obj["title"],
                "description": src_obj["description"],
            },
        )
```

Now, we'll need to define a searh query:

```python PYTHON
search_query = "eligibility requirements for filing bankruptcy"
```

This code snippet imports the `MetadataQuery` class from `weaviate.classes.query` to handle metadata in queries, iterates over the retrieved objects, and prints their details:

```python PYTHON