Skip to content

How to correctly form query with dateFiled option #4197

Answered by mlissner
amit-lf asked this question in Q&A
Discussion options

You must be logged in to vote

I think this is a bit out of sync because of our transition from Solr to Elastic search, sorry.

A simple solution is to use the filed_after and filed_before parameters. Something like:

https://www.courtlistener.com/?q=%22tenant%20landlord%20dispute%22&type=o&order_by=score%20desc&stat_Precedential=on&filed_after=07%2F09%2F2024&filed_before=07%2F10%2F2024

If you need to do a different field and want to use the query box, then I think the distinction is that one (Solr, I think) uses ISO-8601 with the time, and the other (elastic) uses ISO-8601 without the time.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@mlissner
Comment options

@amit-lf
Comment options

@mlissner
Comment options

Answer selected by amit-lf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants