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. General Programming
  3. C#
  4. Indexing Service

Indexing Service

Scheduled Pinned Locked Moved C#
databasecsharp
5 Posts 3 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.
  • E Offline
    E Offline
    ellllllllie
    wrote on last edited by
    #1

    hello, i am using indexing service to index my files and search for special words using my c# application. these is my query string : cmdSearch.CommandText = "select doctitle, filename, vpath, rank, characterization from scope() where Contents Like 'BP%' "; but no result found, is their any problems withmy query string best regards.

    dghdfghdfghdfghdgh

    N 1 Reply Last reply
    0
    • E ellllllllie

      hello, i am using indexing service to index my files and search for special words using my c# application. these is my query string : cmdSearch.CommandText = "select doctitle, filename, vpath, rank, characterization from scope() where Contents Like 'BP%' "; but no result found, is their any problems withmy query string best regards.

      dghdfghdfghdfghdgh

      N Offline
      N Offline
      Nagy Vilmos
      wrote on last edited by
      #2

      Just a stab in the dark, but dop you have a file who's contents START with the characters BP? If not then that's the problem.


      Panic, Chaos, Destruction. My work here is done.

      E 1 Reply Last reply
      0
      • N Nagy Vilmos

        Just a stab in the dark, but dop you have a file who's contents START with the characters BP? If not then that's the problem.


        Panic, Chaos, Destruction. My work here is done.

        E Offline
        E Offline
        ellllllllie
        wrote on last edited by
        #3

        i want to search for a part of word , how can i do it ??

        dghdfghdfghdfghdgh

        N D 2 Replies Last reply
        0
        • E ellllllllie

          i want to search for a part of word , how can i do it ??

          dghdfghdfghdfghdgh

          N Offline
          N Offline
          Nagy Vilmos
          wrote on last edited by
          #4

          Working on the assumption that Content is all of the file then a wild card of %FIND_THIS% would return every file containing FIND_THIS. Have a little read on how wildcards work; it should be reasonably clear.


          Panic, Chaos, Destruction. My work here is done.

          1 Reply Last reply
          0
          • E ellllllllie

            i want to search for a part of word , how can i do it ??

            dghdfghdfghdfghdgh

            D Offline
            D Offline
            dan sh
            wrote on last edited by
            #5

            Pu the % sign before as well.

            जय हिंद

            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