# Date filter

You may choose to filter your search results based on the publication date of the document. SureChEMBL allows you to specify a range of dates for this filter.

Note: *See* [*Solr query field names and examples*](https://chembl.gitbook.io/surechembl/text-search/solr-query-field-names-and-examples) *for an extended explanation of writing date filtering using Solr.*

Note2: *The use of truncation is not supported within date filtering.*

#### Example

<figure><img src="https://1396459327-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fty0JOfWwPnEbs5wW271w%2Fuploads%2F9vqF4ki4LJ0LByUj2Ncp%2Fimage.png?alt=media&#x26;token=cc57c11b-fa85-4859-a2ba-82a0f23e684c" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://chembl.gitbook.io/surechembl/text-search/date-filter.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
