views:

17

answers:

0

Greetings Overflowers,

I'm wondering if there is a way to query some kind of a database and only fetch a certain window in the full result set without having to actually go through them all.

For example, if I query my database and I want only results number 100 to 200, would the database fetch all the results (say 0 to 1000) that match my query and later on filter them to exclude any thing outside my specified window frame ?

Actually, I'm working on a full text search problem (not really relational db stuff).

So how about Google and other search engines, do they get full result then filter or do they have direct access to only the needed window frame ?

Thank you all !