Searching on a single point in time would be extremely limiting because it
has millisecond precision. So range queries would be the only real way to
search the DatePointField.
I've used this construct many times on the DatePointField:
[2000-05-01T00:00:01Z TO 2019-06-02T00:00:01Z]
Joel Bernstei
I need to store date ranges in the index. While DatePointField can be
queried using date ranges, the actual value can only be a single date -
it can't represent a range of dates as far as I know.
On 12/12/2019 12:11, Joel Bernstein wrote:
So something like this should work:
[2000-05-01T00:00:
So something like this should work:
[2000-05-01T00:00:01Z TO 2019-06-02T00:00:01Z]
Joel Bernstein
http://joelsolr.blogspot.com/
On Thu, Dec 12, 2019 at 7:08 AM Joel Bernstein wrote:
> With the DatePointField you can still do the range query, but I believe
> you'll need to specify the full ISO
With the DatePointField you can still do the range query, but I believe
you'll need to specify the full ISO date string: 2000-05-01T01:01:01Z
Joel Bernstein
http://joelsolr.blogspot.com/
On Thu, Dec 12, 2019 at 6:46 AM Mel Mason
wrote:
> Unfortunately I need a date range field, e.g [2000-05-01
Unfortunately I need a date range field, e.g [2000-05-01 TO 2019-06-02].
DatePointFields can't represent that as far as I know.
On 12/12/2019 11:40, Joel Bernstein wrote:
There is a field type in the schema called pdate:
This should work for you.
The timeseries Streaming Expression uses the
There is a field type in the schema called pdate:
This should work for you.
The timeseries Streaming Expression uses the JSON facet API for range
faceting and works really well.
Joel Bernstein
http://joelsolr.blogspot.com/
On Thu, Dec 12, 2019 at 6:28 AM Mel Mason
wrote:
> Hi,
>
> I'm t
Currently, it is not supported yet. Related JIRA -
https://issues.apache.org/jira/browse/SOLR-10567
Regards,
Munendra S N
On Thu, Dec 12, 2019 at 4:58 PM Mel Mason
wrote:
> Hi,
>
> I'm trying to have a range facet on a field of type solr.DateRangeField.
> As far as I can tell, this isn't poss
Hi,
I'm trying to have a range facet on a field of type solr.DateRangeField.
As far as I can tell, this isn't possible with JSONFacet, only with the
old facet system - a quick google turns up several other people with the
same problem. When using JSONFacet I get problems with this line of
cod