Search code examples
sql-serversql-server-2008-r2indexingfull-text-indexing

Using Full Text Indexing


I've a question about the best way to get product data searching by name. Which one is better way to do that?

  1. SELECT * FROM Products WHERE ProductName = 'Samsung Note 2'
  2. Creating a full text index for ProductName and get matching products that way

In brief, can my query be faster if I create a full text index?


Solution

  • Are you searching..

    • whole ProductName? Then use a normal index
    • individual words or fuzzy matches in a ProductName? Use full text serach