Posted on: 03/27/09 04:41pm
By: mst3kroqs
It does not seem as if I can use the search API to search for all types of content created on a given date, or in a range of dates. It appears as if search.class.php requires a query string of some kind, and does not allow a wildcard specification.
How would it be possible to do this?
Re: Search Limitations
Posted on: 03/27/09 04:52pm
By: Dirk
Are you talking about the development version? Seems to work fine here on geeklog.net (i.e. on 1.5.2).
bye, Dirk
Re: Search Limitations
Posted on: 03/27/09 05:02pm
By: mst3kroqs
Quote by: DirkAre you talking about the development version? Seems to work fine here on geeklog.net (i.e. on 1.5.2).
bye, Dirk
OK, I guess I'm being dense today. (Why should this day be any different than any other?) :^)
How would you fill in the field values on the Advanced Search form to accomplish a search for all content items created on 21-Feb-2009? Or are you saying that there is way to accomplish this programatically?
Thanks!
Re: Search Limitations
Posted on: 03/27/09 05:07pm
By: Dirk
Nah, it's me being dense - I missed the "given date" bit.
But 2009-02-21 to 2009-02-22 only seems to give results for Feb 21. Not sure if that's what it was supposed to do, though :wink:
bye, Dirk
Re: Search Limitations
Posted on: 03/27/09 05:34pm
By: mst3kroqs
Quote by: DirkNah, it's me being dense - I missed the "given date" bit.
But 2009-02-21 to 2009-02-22 only seems to give results for Feb 21. Not sure if that's what it was supposed to do, though :wink:
bye, Dirk
AHA! So perhaps the validation for the date range construction is not allowing for datestart and dateend to be equal, thus signifying a single day. Tracker material perhaps. Thanks!