Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Suggestion: Super Search Enhancement

by Limbic~Region (Chancellor)
on Mar 16, 2007 at 17:49 UTC ( #605184=monkdiscuss: print w/replies, xml ) Need Help??

It would be incredibly useful to me if there were an option in Super Search to list the root thread only (once) even if the match happened in one or more of the replies. This would roughly be synonymous to:
grep -l search_string *.txt
In other words, I do not care where in a thread my search string appears or how many times as long as I know the thread. This is because I end up opening the thread up in its own tab and read all the replies anyway.

In any case, if this is low hanging fruit and a devil has some round tuits lying around I would be most appreciative.

Cheers - L~R

Replies are listed 'Best First'.
Re: Suggestion: Super Search Enhancement
by Argel (Prior) on Mar 16, 2007 at 18:50 UTC
    ++ I do the same thing so would find this useful (possibly very useful as super search can return too much clutter).

    Update: Possibly provide a link to the root node and in parenthesis indicate the number of matches under that node.

Re: Suggestion: Super Search Enhancement
by rodion (Chaplain) on Mar 16, 2007 at 22:59 UTC
    I'm also one who usually goes to the node listed in super-search, only to click on the root node from there, so I can see the context. For me, having a "Show Root Node" option in super-search would be very handy.
Re: Suggestion: Super Search Enhancement
by brusimm (Pilgrim) on Mar 20, 2007 at 14:42 UTC
      No, it doesn't help but thanks for trying.

      The capability to handle your request already exists in Super Search. By matching a specific author (yourself) and excluding replies - you are able to search all root nodes authored by yourself.

      The feature I am asking for is to be able to search all nodes, including replies, but to have the results only include one entry per thread (the root node).

      Cheers - L~R

Re: Suggestion: Super Search Enhancement
by MaxKlokan (Monk) on Mar 23, 2007 at 13:41 UTC
    There is a radio button "Don't include replies" further down the Super Search page.

    Update: Sorry, I misunderstood your request. Please disregard my answer.

Re: Suggestion: Super Search Enhancement
by lostsoul (Sexton) on May 23, 2007 at 11:19 UTC
    You can use google for that. If you want for example to search in "Seekers of Perl Wisdom" you can try this: "has asked for the wisdom of the Perl Monks" se +arch_term
    or if you use the firefox needlesearch plugin or similar: you can use this url: +sked+for+the+wisdom+of+the+Perl+Monks%22+needlesearch&btn&meta=
    It's _a lot_ faster too. And you can view the results in Goolge's cache too - taking a litte load off perlmonks. :)
      I will admit my google fu is weak so I would appreciate a step by step walk through of how to do what I actually asked for in this thread. I ask, because your suggestion does not seem to meet my expectations.

      For instance, let's say I want a list of all threads that contain Data::Dump::Streamer. With Super Search, I can get a list of all nodes containing that search term but that is not what I want. I just want the root node listed regardless of how many times the search term appears in the thread or where. With, I only find 4 threads which is wrong.

      Please show me what I am doing wrong.

      Cheers - L~R

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: monkdiscuss [id://605184]
Front-paged by tye
[Tux]: Corion++ hippo++
[ovedpo15]: it isn't homework. its a module I use at work. The process to add additional module isn't worth it. p.s never heard a university course which teach perl
[marto]: there are many, to this day.
[ovedpo15]: @Corion Yes I use the regex you showed me. its very good regex. although now i need to know that substring unit that comma
marto mad corrections to one around 18 months ago
[ovedpo15]: my code checks the value after that comma, if it isn't valid it will remove it. so I would like to remove the substring after that comma meaning getting the string before comma.
[hippo]: Are you sure that Text::CSV_XS isn't already installed at your work? It's such a useful module that it might well be there.
[marto]: pointing out the advantages of cpan modules is well worth in, as both developer and $client/$company benefit greatly
[Tux]: $src =~ m{^(.*),(.*)$/ and $2 !~ $valid and $src = $1;
[Tux]: s,/,},

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2018-05-27 10:47 GMT
Find Nodes?
    Voting Booth?