Verity k2Server VSpider Not Indexing

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default Verity k2Server VSpider Not Indexing

    Ok, I've got verity k2 server setup on my local machine and working correctly.
    I created a cmdfile to keep all the options I need when indexing the site and
    everything works on my local machine. However when I try to move this to my
    client's server things fall apart.
    I have the Verity k2Server service running and we are using CF MX 6.1
    Enterprise edition. I create a connection to the server in the CF Administrator
    pointing to k2 like so "www.mydomain.com" on port 9901 and I have a collection
    defined in the k2server.ini file. The k2Server shows up as being online and the
    collection I have defined shows up as well. When I go to the command line and
    try to run my bat file to index the site it skips my starting point. My bat
    file that I run to index the site looks like so:

    net stop k2server
    C:\CFusionMX\lib\_nti40\bin\vspider -cmdfile
    E:\Inetpub\wwwroot\tmydomain\admin\collections\k2\ cmdfile.txt
    net start k2server

    The cmdfile looks like this:
    -common c:\CFusionMX\lib\common
    -collection E:\Inetpub\wwwroot\mydomain\admin\collections\k2
    -start [url]http://www.mydomain.com[/url]
    -exclude *.css
    -cgiok

    When I try to run this it runs ok but it skips the starting point and
    therefore doesn't in fact index anything. It works on my local machine where
    I'm doing -start [url]http://localhost/mydomain[/url] but on the server it does not work
    where it is -start [url]http://www.mydomain.com[/url]. I assume the -start is the problem
    and somehow k2 thinks I'm trying to index a site other than the one on the box
    CF is installed on, but CF is on the same box that the site is running from.
    Perhaps I'm doing something else wrong. Can anyone help?


    Andrew (Webworld) Guest

  2. Similar Questions and Discussions

    1. Verity indexing too slow
      We have some files located on another server that we index on our website. It is a file server on our network and the two servers can talk to each...
    2. Verity Indexing
      I have created and indexed a collection called Stds_Specs. The problem that I have know is that when one of the users uploads a file, I want verity...
    3. CF5 Verity Indexing Issue
      Our CF5 based document management web application uses the search engine(Verity) is one of the key components in the system, we have customers...
    4. Verity Indexing and Searching
      I have used a process for searching Cold Fusion powered sites for years. It's quite simple, really: I create a set of Verity collections pertinent...
    5. MX 6.1 Verity Indexing
      When I try to index collections in the administrator using CF MX 6.1 Enterprise edition I don't get any error message or anything. All I get is a...
  3. #2

    Default Re: Verity k2Server VSpider Not Indexing

    Well I've figured this one out. The Verity k2Server shipped with ColdFusion MX
    only allows you to index local folders on your machine or urls beginning with
    localhost. So even though the site I was trying to spider was a site on the box
    k2 won't let you index it if you try to use the site's url. You have to use
    localhost. Now the hosting company for this particular client has things setup
    in a quirky way so I couldn't use localhost at first but I switched things
    around and now I can. So problem solved. Just keep in mind that k2 that comes
    with CF only spiders local folders or [url]http://localhost[/url] but will NOT spider any
    sites by name even if they are on the same machine running off the same CF
    Server. At least not in CFMX.

    You should also look into the -prefixmap attribute when spidering using k2
    because it allows you to map things like [url]http://localhost[/url] to
    [url]http://www.mydomain.com[/url] so that even though you spider localhost the results
    that people see will say mydomain.


    Andrew (Webworld) 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