SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: Fulltext and Keys

  1. #1
    SitePoint Guru SharifTK's Avatar
    Join Date
    Jan 2004
    Location
    The Big Apple
    Posts
    621
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Fulltext and Keys

    I have a question about fulltext searching. What is it? I have a database of information about games and I'd like it to be searchable by its title (title field) and game description (info field). If I turn those two into fulltext fields, would it speed up searching? Also, what does making a field "primary" do.
    SK

  2. #2
    SitePoint Guru SharifTK's Avatar
    Join Date
    Jan 2004
    Location
    The Big Apple
    Posts
    621
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Bump!
    SK

  3. #3
    SQL Consultant silver trophybronze trophy
    SitePoint Award Recipient r937's Avatar
    Join Date
    Jul 2002
    Location
    Toronto, Canada
    Posts
    38,462
    Mentioned
    35 Post(s)
    Tagged
    1 Thread(s)
    wow, are you ever patient

    almost 90 days from posting the question to bumping it

    my advice: use LIKE on your two fields, and forget about fulltext for them

    a primary key is unique, not null, and automatically gets an index
    r937.com | rudy.ca | Buy my SitePoint book: Simply SQL
    "giving out my real stuffs"

Bookmarks

Posting Permissions

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