yes it work :)
very thank
--
View this message in context:
http://lucene.472066.n3.nabble.com/date-range-in-solr-3-1-tp3527498p3539771.html
Sent from the Solr - User mailing list archive at Nabble.com.
I think you're asking for something like:
fq=date:[NOW/DAY-5DAYS TO NOW/DAY+1DAY]?
Best
Erick
On Wed, Nov 23, 2011 at 6:29 AM, do3do3 wrote:
> what i got is the number of this period but i want to get this result only,
> what is the query to can get that like
> fq=source:"news"
>
>
> --
> View t
what i got is the number of this period but i want to get this result only,
what is the query to can get that like
fq=source:"news"
--
View this message in context:
http://lucene.472066.n3.nabble.com/date-range-in-solr-3-1-tp3527498p3530424.html
Sent from the Solr - User mailing list archive at
i works now
great thanks for you :)
--
View this message in context:
http://lucene.472066.n3.nabble.com/date-range-in-solr-3-1-tp3527498p3530038.html
Sent from the Solr - User mailing list archive at Nabble.com.
Hi,
Long shot: Try f.date.facet.range.gap=%2B1DAY instead, in case your "+" was
interpreted as space by your browser...
--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com
Solr Training - www.solrtraining.com
On 22. nov. 2011, at 12:57, do3do3 wrote:
> i try to use range
i try to use range faceting in solr 3.1 using facet.range=date,
f.date.facet.range.gap=+1DAY, f.date.facet.range.start=NOW/DAY-5DAYS, and
f.date.facet.range.end=NOW/DAY
and i get this exception
Exception during facet.range of date org.apache.solr.common.SolrException:
Can't add gap 1DAYS to value