Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Search Optimization

Search Optimization

Scheduled Pinned Locked Moved Database
databasesql-serversysadminalgorithmsperformance
5 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Krishnraj
    wrote on last edited by
    #1

    Hi all, I have one table in which there is a column named productDetail which has datatype varchar(8000). When i queried to this table, it takes lots of time to search. There is a 6 lac records in my table. I try to use Fulltext indexing, but it has some limitation for some words which it can not able to search as per my knowledge. I use SQL Server 2000. Is there any ways to make search more faster. :zzz: Thanks in advance...

    Krishnraj

    W 1 Reply Last reply
    0
    • K Krishnraj

      Hi all, I have one table in which there is a column named productDetail which has datatype varchar(8000). When i queried to this table, it takes lots of time to search. There is a 6 lac records in my table. I try to use Fulltext indexing, but it has some limitation for some words which it can not able to search as per my knowledge. I use SQL Server 2000. Is there any ways to make search more faster. :zzz: Thanks in advance...

      Krishnraj

      W Offline
      W Offline
      Wendelius
      wrote on last edited by
      #2

      Fulltext indexing would be the correct way if you search for words.

      Krishnraj wrote:

      it has some limitation for some words which it can not able to search as per my knowledge

      What kind of limitations? Full text search should be able to search for any exact words. If you want to search for a word in different forms, then it may have limitations.

      The need to optimize rises from a bad design.My articles[^]

      K 1 Reply Last reply
      0
      • W Wendelius

        Fulltext indexing would be the correct way if you search for words.

        Krishnraj wrote:

        it has some limitation for some words which it can not able to search as per my knowledge

        What kind of limitations? Full text search should be able to search for any exact words. If you want to search for a word in different forms, then it may have limitations.

        The need to optimize rises from a bad design.My articles[^]

        K Offline
        K Offline
        Krishnraj
        wrote on last edited by
        #3

        Hi mika, Thank for replying.. Few days ago i read somewhere in site that fulltext indexing can not search all words. that is why i wrote like this. so to search from fulltext indexed column i have to use Contain or something that kind of word. M i right? Actually i have no idea how to use it? so give some suggesion how to use it. Thank you again... :)

        Krishnraj

        W 1 Reply Last reply
        0
        • K Krishnraj

          Hi mika, Thank for replying.. Few days ago i read somewhere in site that fulltext indexing can not search all words. that is why i wrote like this. so to search from fulltext indexed column i have to use Contain or something that kind of word. M i right? Actually i have no idea how to use it? so give some suggesion how to use it. Thank you again... :)

          Krishnraj

          W Offline
          W Offline
          Wendelius
          wrote on last edited by
          #4

          Krishnraj wrote:

          so to search from fulltext indexed column i have to use Contain or something that kind of word. M i right?

          Yes, see CONTAINS (Transact-SQL)[^] and FREETEXT (Transact-SQL)[^]

          Krishnraj wrote:

          Actually i have no idea how to use it? so give some suggesion how to use it.

          On those documents there are several good sample queries. Have a look at them. Also remember that Full Text Indexing service must be running in order to use full text search.

          The need to optimize rises from a bad design.My articles[^]

          K 1 Reply Last reply
          0
          • W Wendelius

            Krishnraj wrote:

            so to search from fulltext indexed column i have to use Contain or something that kind of word. M i right?

            Yes, see CONTAINS (Transact-SQL)[^] and FREETEXT (Transact-SQL)[^]

            Krishnraj wrote:

            Actually i have no idea how to use it? so give some suggesion how to use it.

            On those documents there are several good sample queries. Have a look at them. Also remember that Full Text Indexing service must be running in order to use full text search.

            The need to optimize rises from a bad design.My articles[^]

            K Offline
            K Offline
            Krishnraj
            wrote on last edited by
            #5

            Thank you very much for yr suggesion :rose: and yes i also take care abt indexing service

            Krishnraj

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups