Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

by vitoco (Pilgrim)
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.
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 meditating upon the Monastery: (7)
As of 2014-07-24 23:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (167 votes), past polls