Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3485874
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T10:57:38+00:00 2026-05-18T10:57:38+00:00

Before anything, this is not necessarily a question.. But I really want to know

  • 0

Before anything, this is not necessarily a question.. But I really want to know your opinion about the performance and possible problems of this “mode” of search.

I need to create a really complex search on multiple tables with lots of filters, ranges and rules… And I realize that I can create something like this:

  1. Submit the search form
  2. Internally I run every filter and logic step-by-step (this may take some seconds)
  3. After I find all the matching records (the result that I want) I create a record on my searches table generating a token of this search (based on the search params) like 86f7e437faa5 and save all the matching records IDs
  4. Redirect the visitor to a page like mysite.com/search?token=86f7e437faa5

And, on the results page I only need to discover what search i’m talking about and page the results IDs (retrieved from the searches table).

This will make the refresh & pagination much faster since I don’t need to run all the search logic on every pageview. And if the user change a filter or search criteria, I go back to step 2 and generate a new search token.

I never saw a tutorial or something about this, but I think that’s wat some forums like BBForum or Invision do with search, right? After the search i’m redirect to sometihng like search.php?id=1231 (I don’t see the search params on the URL or inside the POST args).

This “token” will no last longer than 30min~1h.. So the “static search” is just for performance reasons.

What do you think about this? It’ll work? Any consideration? 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T10:57:38+00:00Added an answer on May 18, 2026 at 10:57 am

    Seems logical enough to me.

    Having said that, given the description of you application, have you considered using Sphinx. Regardless of the number of tables and/or filters and/or rules, all that time consuming work is in the indexing, and is done beforehand/behind the scene. The filtering/rules/fields/tables is all done quickly and on the fly after the fact.

    So, similar to your situation, Sphinx could give you your set of ID’s very quickly, since all the hard work was pre-done.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is an academic question (I'm not necessarily planning on doing it) but I
Before anything, I am not looking for a re-write. This was presented to me,
(Before anyone says anything Yes this was homework but i have already turned it
I'm sorry if such a question is asked before but i could not find
This is not a programming question per se but a question that may be
Excuse me if this has indeed been asked before, I couldn't see anything that
I want to write a custom validator which doesn't do anything before the user
I'm programming a simple pyS60 app, not really done anything with python or using
Before anything else, this is the offending bit of code: for (var i in
Surprisingly simple/stupid/basic question, but I have no idea: Suppose I want to return the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.