
marvin at rectangular
Apr 8, 2008, 8:17 AM
Post #2 of 2
(982 views)
Permalink
|
|
Re: Searching within the returned result set
[In reply to]
|
|
On Apr 8, 2008, at 12:10 AM, riyaadm [at] mweb wrote: > One question, is it possible to display the results of your query > then update your query string to be searched within that current > result set. I'm looking at QueryFilter and wonder if I'm on the > right track? > > What I'd like to do is: > 1. Search, display results > 2. Update Query string (advance search) to search only within > current result I suggest simply running a fresh query with the additional new constraints. That way you don't have to worry about maintaining state in your search app, with all the attendant problems of tracking users, timing out caches and managing memory, etc. QueryFilter is intended more for things like adding on a constraint of "category => 'books'" -- where the query is known and persistent. It's always nice to see APIs abused in unexpected ways, though. :) Marvin Humphrey Rectangular Research http://www.rectangular.com/ _______________________________________________ KinoSearch mailing list KinoSearch [at] rectangular http://www.rectangular.com/mailman/listinfo/kinosearch
|