lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emir Arnautović <emir.arnauto...@sematext.com>
Subject Re: solr query
Date Wed, 14 Mar 2018 09:26:32 GMT
Hi Albert,
It does - you can use NOW/MONTH and NOW/YEAR to get the start of month/year. Here is reference
to date math: https://lucene.apache.org/solr/guide/6_6/working-with-dates.html#WorkingwithDates-DateMathSyntax
<https://lucene.apache.org/solr/guide/6_6/working-with-dates.html#WorkingwithDates-DateMathSyntax>

HTH,
Emir
--
Monitoring - Log Management - Alerting - Anomaly Detection
Solr & Elasticsearch Consulting Support Training - http://sematext.com/



> On 14 Mar 2018, at 04:21, Albert Lee <albertlee8901@gmail.com> wrote:
> 
> Dear Solr,
> I want to whether solr support query by this year or this month?
> If can, how to do that. 
> Thanks.
> 
> Regards,
> Albert 
> 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message