in reply to Implementing a text filter on some dataset

My first inclination would be to reformat the data into something that could be read by DBD::AnyData (or just stuff it into a db), then convert your filter into SQL. The former looks pretty easy given your example. The latter is probably quite a bit trickier.

Without more information about how many filters (queries) you have, how complex and dynamic they are, how many times you're running them, etc, though, this may not be the best solution. I'm sure other monks will provide lots of other WTDI.

  • Comment on Re: Implementing a text filter on some dataset

Replies are listed 'Best First'.
Re^2: Implementing a text filter on some dataset
by legend (Sexton) on Feb 27, 2008 at 05:27 UTC
    Well, for now, I'll just get it working with a two level filter (Two for OR and Two for AND)... And thanks for the suggestion, will look into it now...