> ## Documentation Index
> Fetch the complete documentation index at: https://docs.textmine.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Exploring document data with Advanced Search

> Quickly locate and export document data in Legislate

<Note>
  This page was imported from Intercom and may describe older navigation or terminology. Source: [https://help.textmine.com/en/articles/9220936-exploring-document-data-with-advanced-search](https://help.textmine.com/en/articles/9220936-exploring-document-data-with-advanced-search)
</Note>

Legislate's Advanced search functionality allows you to quickly locate documents based on dynamic questions and aggregate queries.

This article will show you how!

## Advanced Search

Advanced search is located below the search bar and allows you to quickly filter your documents based on the data they contain. The filters are generated dynamically based on the underlying data in your documents which means that you'll only see filters which exist.

<img src="https://mintcdn.com/textmine/DJ5vfuRSFZBy9WHA/images/intercom/legislate/exploring-document-data-with-advanced-search/01-screenshot-2024-04-19-at-12-47-35.png?fit=max&auto=format&n=DJ5vfuRSFZBy9WHA&q=85&s=414362f53072c0a9e6d21badb4d483e0" alt="Screenshot" width="667" height="460" data-path="images/intercom/legislate/exploring-document-data-with-advanced-search/01-screenshot-2024-04-19-at-12-47-35.png" />

When selecting a filter, the list of documents and the other filters will update in real time.

<img src="https://mintcdn.com/textmine/DJ5vfuRSFZBy9WHA/images/intercom/legislate/exploring-document-data-with-advanced-search/02-screenshot-2024-04-19-at-12-50-47.png?fit=max&auto=format&n=DJ5vfuRSFZBy9WHA&q=85&s=0ea379c383158993877c9743ecc577ac" alt="Screenshot" width="1454" height="709" data-path="images/intercom/legislate/exploring-document-data-with-advanced-search/02-screenshot-2024-04-19-at-12-50-47.png" />

<img src="https://mintcdn.com/textmine/DJ5vfuRSFZBy9WHA/images/intercom/legislate/exploring-document-data-with-advanced-search/03-screenshot-2024-04-19-at-12-50-58.png?fit=max&auto=format&n=DJ5vfuRSFZBy9WHA&q=85&s=dbb8100cd8f854dd32db7a96b5538c27" alt="Screenshot" width="1477" height="674" data-path="images/intercom/legislate/exploring-document-data-with-advanced-search/03-screenshot-2024-04-19-at-12-50-58.png" />

Once you have selected the filters you are looking to apply, you can see the documents which match the criteria and export the data as a CSV.

<img src="https://mintcdn.com/textmine/DJ5vfuRSFZBy9WHA/images/intercom/legislate/exploring-document-data-with-advanced-search/04-screenshot-2024-04-19-at-12-52-12.png?fit=max&auto=format&n=DJ5vfuRSFZBy9WHA&q=85&s=043d6904ff9bef559e6821a0e99a4eac" alt="Screenshot" width="1229" height="685" data-path="images/intercom/legislate/exploring-document-data-with-advanced-search/04-screenshot-2024-04-19-at-12-52-12.png" />

The exported CSV will then contain the documents matching the search criteria and the corresponding fields.

<img src="https://mintcdn.com/textmine/DJ5vfuRSFZBy9WHA/images/intercom/legislate/exploring-document-data-with-advanced-search/05-screenshot-2024-04-19-at-12-52-51.png?fit=max&auto=format&n=DJ5vfuRSFZBy9WHA&q=85&s=c5f3a2c9f5be885953f6495c92a887c3" alt="Screenshot" width="1662" height="282" data-path="images/intercom/legislate/exploring-document-data-with-advanced-search/05-screenshot-2024-04-19-at-12-52-51.png" />

This process automated document audits which means that you can easily report on your documents to stakeholders without being distracted from your important day-to-day duties!
