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 7524237
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T03:02:20+00:00 2026-05-30T03:02:20+00:00

Do you think it’s a good idea? Like storing keywords from the real database

  • 0

Do you think it’s a good idea?

Like storing keywords from the real database inside a sqlite database, along with object IDs. SO when you search you do it with sqlite to get the IDs of the objects you found, and then query the real database using those IDs.

example object from the mysql db:

ID   slug       title        content
_____________________________________________________________________________
5    bla-bla    Bla Bla      I know what you did last summer

this would get indexed in the sqlite like:

ID   keywords
_____________________________________________________________________________
5    know, summer, last, what

or maybe

   keyword     objects
   _____________________
   know        5, 6
   summer      5
   lst         5, 7, 10
   ...

but you would get a huge database, probably with ~15000 entries considering the english vocabulary

  • 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-30T03:02:22+00:00Added an answer on May 30, 2026 at 3:02 am

    The idea of a database is that it is capable of doing query operations very fast and efficiently.

    SQLite on the other hand is a perfect tool for development purposes since you do not have to setup a db instance. However with it, comes certain down sides such as that it cannot handle many concurrent connections at once efficiently or at all.

    Therefore the suggested approach in my opinion is not the best since SQLite would not be able to handle many queries and therefore defeat the whole purpose of the database.

    It might be a lot better just to maintain a high performance db which would be able to handle all the queries. And there are usually tons of ways you can optimize a db such as mysql, postgresql, etc.

    EDIT

    Just a thought. Maybe breaking a string into words and treating them as keywords is not the best way. The problem is that the search will just return if a certain keyword was used somewhere in the system however that will not consider the context and the priority from where the keyword came from. I don’t know much about searching but having a some sort of rank system would seem to be beneficial.

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

Sidebar

Related Questions

I think the file that is produced is an .asm file, any idea how
Think Windows Explorer's 'Details' view. I need to output my database to this view.
Think about the games like Spiral Knights and Minecraft(Which I believe both use LWJGL)
Think about a speedometer, and imagine all these little strokes around it like 10
Think of a equations system like the following: a* = b + f +
Think of a small and basic affiliate system. I want an URL like www.myshop.com/mynewproduct.html?afid=123
Think about a table like this ID Value 100 1 100 3 101 1
I think instance variables are simple data types like int or double. Everything that
I think it's called embossed button.. Is it possible to make one from code?
I think http://www.webopedia.com/TERM/O/overhead.html gives a pretty good description of what programming overhead is. My

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.