Results 1 to 5 of 5
  1. #1

    Lightbulb Need some hints on building simple search engine

    I am trying to build a basic search engine for a large-ish catalogue of about 10,000 - 100,000 items. Can someone recommend any good tutorials or books on the subject? Also, if anyone knows of relevant Open Source projects please let me know. I am doing it in PHP with MySQL.

  2. #2
    Join Date
    Jan 2003
    For a structured group of items (unlike, say, web pages), keyword systems are simple and effective.

    You basically have a table like
    keyword | itemID

    You can index keyword and use that to pull the items that correspond to it. For OR matches, use 'keyword IN (keyword list)'. For AND matches, you can join the keyword table with itself as needed. You can also do prefix matching (cat matches cats), but postfix matching (cat matches bobcat) would be very expensive.
    Game Servers are the next hot market!
    Slim margins, heavy support, fickle customers, and moronic suppliers!
    Start your own today!

  3. #3
    Join Date
    Jul 2003
    For 10,000 - 100,000 items -- I would suggest using a pre-built search engine. I like mnogosearch (since its has nice PHP bindings).
    In order to understand recursion, one must first understand recursion.
    If you feel like it, you can read my blog
    Signal > Noise

  4. #4
    Join Date
    Apr 2003
    Portland, OR, USA
    i also second the mnogosearch really nice software with tons of features.

    - James

  5. #5
    i say a good option is to code it yourself it feels more yours

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts