Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Index Server

    I have Index Server searching a directory of HTML files. I have set a
    few custom META tags in these HTML files so that these tags show up in
    the index searcher properities, so I get an entry like:

    d1b5d3f0-c0b3-11cf-9a92-00a0c908dbf1 adxeffectivedate [no friendly name]
    VT_LPWSTR 4 Secondary

    When setting up the search in c# I specify the column name which is the
    friendly name, when I right click and do a properities, I can not set
    the friendly name. I have stopped and started the service and played
    with what is there. How do I either set the friendly name or select the
    property without the friendly name?

    -Cam

    cameron Guest

  2. Similar Questions and Discussions

    1. PDF keywords for Index Server
      I have installed the pdf filter for Index Server for my web search application. My client has lists of keywords for the dozens of pdf files on their...
    2. Newb query: index.htm & index.php & the server default
      The problem I'm trying to solve is as follows: The website has two subdirectories: /ordinary and /phpstuff. Users typing hostname/ordinary get the...
    3. Combining Index Server and SQL Server search results
      I'm just about to start a project that needs to combine the results of a SQL Server query with the results of an Index Server query. The basic idea...
    4. Microsoft Index Server
      Hi, I have an ASP.Net application and I want to have a search section on it. Does anyone know if... 1 Can I call Microsoft Index Server to...
    5. Rebuild index in SQL server ¿?¿?
      hi all, in access we have an "utility" to rebuild autonumeric index when a table is empty(Set the autonumeric to the first available...
  3. #2

    Default RE: Index Server

    Here is an article that shows how to do this in normal asp:

    Using Index Server to Query and Display META TAG Information
    [url]http://support.microsoft.com/default.aspx?scid=kb;EN-US;185985[/url]

    You specify this with DefineColumn, and then are able to include this with
    your normal columns.

    Jack Blalock [MSFT]
    This posting is provided "AS IS", with no warranties, and confers no rights.

    Jack Blalock Guest

  4. #3

    Default Index Server

    I'm trying to query the index server for document properties. The
    create view statement below is executed and later I call a function
    that fires the execution of the view which is shown below the view.
    I'm getting an error of "System.Data.OleDb.OleDbException: View
    '#WKCSEARCHVIEW' has not been defined in catalog 'Web'.
    SQLSTATE=42S02" on the last line.

    Any help would be appreciated.

    -Tim


    //OleDbConnection
    OleDbConnection oConn = new OleDbConnection("provider=msidxs; data
    source=Web");
    oConn.Open();

    OleDbCommand oCmd = new OleDbCommand(strSetProperty, oConn);
    oCmd.ExecuteNonQuery();
    //this does fire, I use the same connection for a few events

    strCreateView = "CREATE VIEW #WKCSearchView AS ";
    strCreateView += "SELECT FileIndex, DocTitle, vpath, filename, size,
    write, characterization, rank ";

    strCreateView += "FROM SCOPE(' DEEP TRAVERSAL OF ( " + strScope + " )
    ')";

    oCmd.CommandText = strCreateView;
    oCmd.ExecuteNonQuery();



    //set up the provider
    string strProvider = "PROVIDER=MSIDXS; DATA SOURCE=Web";

    //create the connection and open it
    OleDbConnection oConn = new OleDbConnection(strProvider);
    oConn.Open();

    OleDbDataAdapter oCmd = new OleDbDataAdapter(strSql, oConn);
    DataSet oDS = new DataSet();

    oCmd.Fill(oDS, "Results");
    Tim Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139