: 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
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
: 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
>
>
> 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.
>
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.
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.
>
-time-only-Ranges-tp688831p689373.html
Sent from the Solr - User mailing list archive at Nabble.com.
, 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
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
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.
10 matches
Mail list logo