Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Getting Complete Listing Of [Super Search] Results

by ambrus (Abbot)
on Jul 20, 2004 at 16:20 UTC ( [id://375991]=note: print w/replies, xml ) Need Help??


in reply to Getting Complete Listing Of [Super Search] Results

I don't think this would be a good idea.

  1. How do you think that could be implemented? Would the previous store results (potentially a lot) be stored at the server and automatically discarded after some time? Or would it be reposted every time you click on next? Or else would Super-Search redo the search from the start every time? I think all of these are bad solutions, maybe there is a better way?

  2. Also I guess that it would increase the load Super-Search puts on the server, as many people would just keep clicking Next until the whole database is searched and only look at the results after that; so, if you understand what I mean, it would cancel the effect of Super-Search interrupting itself periodically.

  • Comment on Re: Getting Complete Listing Of [Super Search] Results

Replies are listed 'Best First'.
Re^2: Getting Complete Listing Of [Super Search] Results
by BrowserUk (Patriarch) on Jul 20, 2004 at 17:23 UTC

    INAE, but could you not persist the connection, sleeping in between batches and wrapping each batch in a table.

    Does a mostly sleeping, persistant connection unduly tax Apache?

    Don't most (many, all) browsers render a table as soon as it's complete?

    The format of the links wouldn't have to change. Just put <table><tr><td> at the top of each batch and close it at the bottom, before sleeping for a few seconds then looping back to do the next batch.

    ...heading back to Barcelona.


    Examine what is said, not who speaks.
    "Efficiency is intelligent laziness." -David Dunham
    "Think for yourself!" - Abigail
    "Memory, processor, disk in that order on the hardware side. Algorithm, algoritm, algorithm on the code side." - tachyon
Re^2: Getting Complete Listing Of [Super Search] Results
by Limbic~Region (Chancellor) on Jul 20, 2004 at 16:41 UTC
    ambrus,
    How do you think that could be implemented?
    Given that I am not a devil - I have no idea how it would happen under the covers. I also wasn't too biased on the outside interface. You do bring up a good point:

    as many people would just keep clicking Next until the whole database is searched
    Again, I do not care how the functionality is acheived - even if it is nothing more than "add these node ids to my scratch pad/personal nodelet". I Just have found myself searching multiple times after discovering something I thought was not-important was later important.

    So - if there is a way to achieve this functionality without the potential resource abuse - I would like to see it added.

    Cheers - L~R

Re^2: Getting Complete Listing Of [Super Search] Results
by naChoZ (Curate) on Jul 22, 2004 at 13:14 UTC

    as many people would just keep clicking Next until the whole database is searched and only look at the results after that

    I don't think that would be an issue. If the the default was for the articles to be unchecked and there was no select all mechanism, then you'd have to manually check all the ones you wanted to keep visible during your search.

    --
    "A long habit of not thinking a thing wrong, gives it a superficial appearance of being right." -- Thomas Paine
    naChoZ

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (2)
As of 2024-04-26 03:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found