Re: Solrj facet.date

2016-11-04 Thread Furkan KAMACI
Hi Shawn, You are right, ClientUtils.escapeQueryChars() breaks the functionality. My expectation was that: Solrj has addDateRangeFacet However there is not a direct method for facet.date query. Kind Regards, Furkan KAMACI On Fri, Nov 4, 2016 at 7:04 PM, Shawn Heisey

Re: Solrj facet.date

2016-11-04 Thread Shawn Heisey
On 11/4/2016 10:22 AM, Furkan KAMACI wrote: > I send a query to Solr to get information about each day of current week > via this way: > > =*:* > =type:dps > =0 > =true > =date > =NOW/DAY-6DAYS > =NOW/DAY%2B1DAY > =%2B1DAY > > I want to make that query over Solrj. This code would do it: /*

Solrj facet.date

2016-11-04 Thread Furkan KAMACI
Hi, I send a query to Solr to get information about each day of current week via this way: =*:* =type:dps =0 =true =date =NOW/DAY-6DAYS =NOW/DAY%2B1DAY =%2B1DAY I want to make that query over Solrj. This facet.date definition at source code (5.5.3): public static final String FACET_DATE =