Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 10:13 pm EDT

Geeklog Forums

Search Limitations


Status: offline

mst3kroqs

Forum User
Regular Poster
Registered: 10/18/05
Posts: 78
Location:Cary, NC USA
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?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Are you talking about the development version? Seems to work fine here on geeklog.net (i.e. on 1.5.2).

bye, Dirk
 Quote

Status: offline

mst3kroqs

Forum User
Regular Poster
Registered: 10/18/05
Posts: 78
Location:Cary, NC USA
Quote 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



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!
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
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
 Quote

Status: offline

mst3kroqs

Forum User
Regular Poster
Registered: 10/18/05
Posts: 78
Location:Cary, NC USA
Quote 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



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!
 Quote

All times are EDT. The time is now 10:13 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content