RE: Query time only Ranges

2010-04-05 Thread Chris Hostetter
: Actually I needed time upto seconds granularity, so did you mean I : should index the field after conversion into seconds it doesnt' relaly matter what granularity you need -- the point is if you need to query for things based on time of day, independent of hte actual date, then the best way

RE: Query time only Ranges

2010-04-01 Thread Ankit Bhatnagar
Subject: Re: Query time only Ranges : I am working on use case - wherein i need to Query to just time ranges : without date component. : : search for docs with between 4pm - 6pm if you only need to store the hour of the day, and query on the hour of the day, then i would just use a numeric

Re: Query time only Ranges

2010-03-31 Thread Chris Hostetter
: I am working on use case - wherein i need to Query to just time ranges : without date component. : : search for docs with between 4pm - 6pm if you only need to store the hour of the day, and query on the hour of the day, then i would just use a numeric integer field containing the hour of t

Re: Query time only Ranges

2010-03-31 Thread Shashi Kant
> > > Ankit > > > -- > View this message in context: > http://n3.nabble.com/Query-time-only-Ranges-tp688831p689413.html > Sent from the Solr - User mailing list archive at Nabble.com. >

Re: Query time only Ranges

2010-03-31 Thread abhatna...@vantage.com
Hi Sashi, Could you elaborate point no .1 in the light of case where in a field should have just time? Ankit -- View this message in context: http://n3.nabble.com/Query-time-only-Ranges-tp688831p689413.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Query time only Ranges

2010-03-31 Thread Shashi Kant
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. >

Re: Query time only Ranges

2010-03-31 Thread abhatna...@vantage.com
-time-only-Ranges-tp688831p689373.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Query time only Ranges

2010-03-31 Thread Silent Surfer
, 2010 12:36:22 PM Subject: Re: Query time only Ranges Hi Ankit, Try the following approach. create a query like - [01/01/1900T16:00:00Z/HOUR TO 01/01/1900T18:00:00Z/HOUR ] Solr will automatically will take care of Rounding off to the HOUR specified. For eg: the query - [01/01/1900T16:43:42Z/HOUR TO

Re: Query time only Ranges

2010-03-31 Thread Silent Surfer
to [01/01/1900T16:00:00Z/HOUR TO 01/01/1900T18:00:00Z/HOUR ] Regards, sS - Original Message From: "abhatna...@vantage.com" To: solr-user@lucene.apache.org Sent: Wed, March 31, 2010 9:56:38 AM Subject: Query time only Ranges Hi All, I am working on use case - wherein i nee

Query time only Ranges

2010-03-31 Thread abhatna...@vantage.com
create a custom field for Time only Please suggest me which will be a good approach or any other approach if possible Ankit -- View this message in context: http://n3.nabble.com/Query-time-only-Ranges-tp688831p688831.html Sent from the Solr - User mailing list archive at Nabble.com.