Skip to main content
edited tags
Link
Kevin Montrose
  • 18.7k
  • 6
  • 35
  • 62
added 1 characters in body
Source Link
Nikita Rybak
  • 1.3k
  • 10
  • 11

If you search for questions posted on time 1296897085 or later (by specifying sort=creation and min=1296897085), it may still return questions posted before that date:

http://api.stackoverflow.com/1.0/search?tagged=java;algorithm&sort=creation&min=1296897085&pagesize=2

In this case, it returns a question posted one second before (1296897084). But the gap can be more: e.g. specifying min date as 1296897100 still gives that question, but 1296898100 does not.

So, min seems to be 'inexact' restriction.

This is not a stopper bug, as I can filter returned questions manually, but I thoughthought it's still worth reporting.

If you search for questions posted on time 1296897085 or later (by specifying sort=creation and min=1296897085), it may still return questions posted before that date:

http://api.stackoverflow.com/1.0/search?tagged=java;algorithm&sort=creation&min=1296897085&pagesize=2

In this case, it returns a question posted one second before (1296897084). But the gap can be more: e.g. specifying min date as 1296897100 still gives that question, but 1296898100 does not.

So, min seems to be 'inexact' restriction.

This is not a stopper bug, as I can filter returned questions manually, but I though it's still worth reporting.

If you search for questions posted on time 1296897085 or later (by specifying sort=creation and min=1296897085), it may still return questions posted before that date:

http://api.stackoverflow.com/1.0/search?tagged=java;algorithm&sort=creation&min=1296897085&pagesize=2

In this case, it returns a question posted one second before (1296897084). But the gap can be more: e.g. specifying min date as 1296897100 still gives that question, but 1296898100 does not.

So, min seems to be 'inexact' restriction.

This is not a stopper bug, as I can filter returned questions manually, but I thought it's still worth reporting.

Source Link
Nikita Rybak
  • 1.3k
  • 10
  • 11

API 'search' method with 'min' parameter

If you search for questions posted on time 1296897085 or later (by specifying sort=creation and min=1296897085), it may still return questions posted before that date:

http://api.stackoverflow.com/1.0/search?tagged=java;algorithm&sort=creation&min=1296897085&pagesize=2

In this case, it returns a question posted one second before (1296897084). But the gap can be more: e.g. specifying min date as 1296897100 still gives that question, but 1296898100 does not.

So, min seems to be 'inexact' restriction.

This is not a stopper bug, as I can filter returned questions manually, but I though it's still worth reporting.