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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T10:37:12+00:00 2026-05-21T10:37:12+00:00

Recently, twitter engineer post a very impressed blog about using Lucence instead of mysql

  • 0

Recently, twitter engineer post a very impressed blog about using Lucence instead of mysql for their search architecture.
So, I’m curious about why they choose lucence and why does mysql does not meet their requirements? On the other hand, what’s the performance (or, scalability to say) bottleneck for the DBMS database system?

Any ideas are appreciated!

Thanks in Adv

Vance

  • 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-21T10:37:13+00:00Added an answer on May 21, 2026 at 10:37 am

    Think about a Lucene index as something like the index you have in the back of some large reference books: for every important term that appears in the book, it lists all the pages in which it appears. So if you want to find all the places in the book where a term appears, you go to the index and get a list of pages.

    What Lucene does is take documents, break them into their individual words (that process is called “tokenization”) then for each word/token write in its index that that word appears in that document.

    Think of the index like a hashtable (it’s not really one, but it’s the same idea): the keys are the words/tokens and for each key there’s a bucket with a list references to documents (URIs, filenames) that contain that word. It doesn’t store the document itself – just a reference to it. When you do a search on Lucene you provide a keyword and get back the list of documents that contain that keyword which appear in its index.

    MySQL and other RDBMS’s are optimized for storing and retrieving records – collections of pre-defined, ordered columns. When you place an index on a column it looks at the entire content of the column as a single unit. If that column is a piece of text, it does not break it down into words.

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

Sidebar

Related Questions

I'm reading an article about the recently released Gizzard sharding framework by twitter (
I am trying to find only new tweets using Twitter Search. For example: http://search.twitter.com/search?tag=bruins&lang=en&rpp=100&result_type=recent&since=22451745267388417
I recently learned about Twitter Bootstrap CSS , and wonder what other pre-fabricated stylesheets
I recently installed twython, a really sleek and awesome twitter API wrapper for Python.
Recently i heard that Twitter will be shutting off the basic authentication on the
Recently search engines have been able to page dynamic content on social networking sites.
I recently try twitter app on Android-based phone ( HTC HD Desire , I
Did anybody know more information about this attack ? I recently got this script
I make use of a great class made by Jaisen: http://github.com/jmathai/twitter-async/tree/master . Recently twitter
Twitter Boostrap has been recently upgraded to version 2. Project description with examples available

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.