I suggest approaching it thus:

1. Create a datetime offset from a baseline date (say Jan 1, 1900,
00:00:00) and store the date diff in secs from that date-time.
2. Use numeric range query. I find this approach works faster and
would also give you the granularity you want.




On Wed, Mar 31, 2010 at 4:40 PM, abhatna...@vantage.com
<abhatna...@vantage.com> wrote:
>
> One issue though – first I need precision upto seconds.
>
> Also does anybody knows that performance issue involved with this
> granularity.
>
> How about the approach of breaking date time field into fields like hours,
> mins, secs
>
>
>
> Ankit
> --
> View this message in context: 
> http://n3.nabble.com/Query-time-only-Ranges-tp688831p689373.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to