SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Jan 2011
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Microsoft Index Server & ASP

    Greetings,

    My company has millions of documents on a Windows 2003 Server and is currently indexing them with the good old Microsoft Index service. Yes, it is old but we hate Windows Search and rebuilding the server is pretty much out of the question.

    I wrote up a classic ASP query page and threw a link on our SharePoint site so folks can easily retrieve whatever docs they want without having to remember titles back to 1979. Everything works properly but I'd like to give the users an idea of how many documents are being indexed by displaying it on the query home-page. The DLL that the query uses to do its thing (ixsso.dll) doesn't seem to have any methods that I can use to get what I'm looking for. I'm pretty confident that I can get what I want since just about anything that you can see in the MMC can be obtained by some form of script.

    I've tried a couple of different things that provide the right count but are unacceptable for end users. For instance:

    I implemented a "phantom query", if you will, that basically does a search for documents above 1byte - it find everything but it takes about 3 minutes to do the whole phantom query and the real query and then display the results.

    That's not acceptable.

    So, I'm wondering if anyone has experience with this and has attempted to actually get a document count out of the Indexing Service catalog(s). I've been thinking about rewriting the whole thing in C# or VB or something but I'd rather work with what I've got first and rewrite as last ditch effort. I've been all over google but all that I've really come across is listing the size in bytes/megabytes and that gets me close but not where I want to be.

    If anyone can provide some insight that would be swell.

    Thanks,
    Mike

  2. #2
    SitePoint Guru
    Join Date
    Jun 2007
    Posts
    691
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    this is an ASP forum

    What is your ASP question ?

  3. #3
    SitePoint Member
    Join Date
    Jan 2011
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Let me try to simplify this:

    I'm using ASP to query our index server but perhaps I'm bad at asking questions. When I reread it I got the idea that the question being asked was:

    "Does anyone else have experience using ASP to query documents in a Microsoft Index Server Catalog and if so has anyone tried to get a document count from the catalog and display it?"

    However, I recently answered my own question by using the IAdminIndexServer interface.

    Thanks

    I suppose this can be considered "closed" or whatever.


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
  •