You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by chem leakhina <ch...@gmail.com> on 2009/06/17 04:40:27 UTC

what date format to pass for search in Solr?

Hi
Does anyone know what date format pass to search in Solr?
Could you give me any examples for search with Date in solr?

Regards,
Leahina

Re: what date format to pass for search in Solr?

Posted by Michael Ludwig <ml...@as-guides.com>.
chem leakhina schrieb:
> Does anyone know what date format pass to search in Solr?

A restricted subset of the W3C datetime format. See:

http://wiki.apache.org/solr/IndexingDates

> Could you give me any examples for search with Date in solr?

Examples can be very easily found searching for something like "solr
date range query". For example, see:

http://www.nabble.com/Date-Range-Query-%2B-Fields-to16108517.html

Michael Ludwig