well, you're asking a lot. What are you going to search? do you have an array of urls or a database storing them? is the info cached or are you going to spider it on demand (probably very slow)? what does checking a box mean? where _________ (the condition). does it mean "where this word is present?"
I'm sorry I can't help more but these are the questions anyone here or any other forum would ask you.
Sam Fullman