Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: RFC: A module to evaluate keywords expressions on tag lists.

by vitoco (Friar)
on Sep 03, 2009 at 20:20 UTC ( #793291=note: print w/ replies, xml ) Need Help??


in reply to Re: RFC: A module to evaluate keywords expressions on tag lists.
in thread RFC: A module to evaluate keywords expressions on tag lists.

Is there that much you can do to keywords?

I think not, but this module provides a query parser, a regexp builder and some tests methods. Not only the query language is relevant. Also it is the way that a list of keywords is being stored if you want to use some specific options, then a method to clean up the list string is provided. So it's not only a Search thing. That's made me doubt.

I don't think that "Search::Query" is appropiate, for the same reason as above. May be "Regexp::Keywords"?

BTW, "Search::Query::Google" made me think on a module to retrieve some results from Google (as "Google::Search")... "Search::Keywords::Google" is not much better, but I got the idea and agree on that.

I also have a feeling the matching functionality shouldn't be too heavily integrated.

Could you explain this?


Comment on Re^2: RFC: A module to evaluate keywords expressions on tag lists.
Replies are listed 'Best First'.
Re^3: RFC: A module to evaluate keywords expressions on tag lists.
by ikegami (Pope) on Sep 03, 2009 at 20:29 UTC

    Could you explain this?

    If query building is separate from matching, then you'll be able to match against inputs other than a flat string.

    Specifically, only supporting flat strings prevents it from being extended to support "is:unread" or "title:foo"

    I'm not saying you should implement those features. I'm saying it would be great if the designed allowed someone to do so.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://793291]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (12)
As of 2015-07-29 18:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (267 votes), past polls