Στις 18/12/2017 15:09, ο Michael Kuhlmann έγραψε:
Am 16.12.2017 um 19:39 schrieb Georgios Petasis:
Even if the DateRangeField field can store a range of dates, doesn't
Solr understand that I have used single timestamps?
No. It could theoretically, but sorting just isn't implemented in
Dear Erick,
Thanks for the idea, it doesn't work. It raises an exception that the
value is missing the double() method.
Best,
George
Στις 18/12/2017 21:19, ο Erick Erickson έγραψε:
You _might_ (and I haven't tried this) be able to use sorting by
funtion with min/max for a date range field,
You _might_ (and I haven't tried this) be able to use sorting by
funtion with min/max for a date range field, see: "Sort by Function"
here: https://lucene.apache.org/solr/guide/6_6/function-queries.html.
On Mon, Dec 18, 2017 at 5:09 AM, Michael Kuhlmann wrote:
> Am 16.12.2017 um
Am 16.12.2017 um 19:39 schrieb Georgios Petasis:
> Even if the DateRangeField field can store a range of dates, doesn't
> Solr understand that I have used single timestamps?
No. It could theoretically, but sorting just isn't implemented in
DateRangeField.
> I have even stored the dates.
> My
Στις 15/12/2017 20:05, ο Shawn Heisey έγραψε:
On 12/15/2017 2:53 AM, Georgios Petasis wrote:
I have a field of type "date_range" defined as:
The problem is that sorting on this field does not work (despite the
fact that I put dates in there). Instead I get an error prompting to
perform
Στις 15/12/2017 20:05, ο Shawn Heisey έγραψε:
On 12/15/2017 2:53 AM, Georgios Petasis wrote:
I have a field of type "date_range" defined as:
The problem is that sorting on this field does not work (despite the
fact that I put dates in there). Instead I get an error prompting to
perform
On 12/15/2017 2:53 AM, Georgios Petasis wrote:
> I have a field of type "date_range" defined as:
>
> multiValued="false" indexed="true" stored="true"/>
>
> The problem is that sorting on this field does not work (despite the
> fact that I put dates in there). Instead I get an error prompting to
>
Hi Georgios,
DateRangeField is a kind of SpatialField which is not sortable at all.
For sorting, use a DatePointField instead. It's not deprecated; the
deprecated class is TrieDateField.
Best,
Michael
Am 15.12.2017 um 10:53 schrieb Georgios Petasis:
> Hi all,
>
> I have a field of type
Hi all,
I have a field of type "date_range" defined as:
multiValued="false" indexed="true" stored="true"/>
The problem is that sorting on this field does not work (despite the
fact that I put dates in there). Instead I get an error prompting to
perform sorting through a query.
How can I