[ckan-dev] Dateset Search Date Filter
Prahadeesh S
prahad at gmail.com
Thu Jun 6 19:03:53 UTC 2013
Hi,
I am writing some custom search filters for our system. I am on CKAN 2.0
Is there anyway to filter the results based on date range.
We have a custom date field based on which dataset needs to be filtered.
Solr format of [ D1 TO D2] is throwing error. Looking closely into the
query string passed to Solr, param value is going in as String i.e. "[D1 TO
D2]" rather than [D1 to D2].
fq += ' %s:"%s"' % (param, value)
Whether my finding is correct or am I doing something wrong here?
Thanks
Prahadeesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130606/10c5c3f5/attachment.html>
More information about the ckan-dev
mailing list