|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
verity spider
Author: Gareth Hughes
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:48078#255625
Ah, I see. My preference is to index the DB which avoids getting
header/footer/menu text in the index and run a seperate index for files such
as PDF etc.
Anyway, do you have any other collections and do they work? If not, I'd set
up a test collection to check the error is with your collection only. For
example, this should return an empty query:
<cfcollection action="create" collection="testx"
path="C:\CFusionMX7\verity\collections">
<cfsearch name="testxResult" collection="testx" criteria="a">
<cfdump var="#testxResult#"><cfabort>
If this does produce an empty query is it possible to then populate the
testx collection with the spider?
Thank you Gareth. I prefer to use vspider since cfindex will index all docs
linked or not linked. I want user to be able just search and see everything
just http linked or generated html page NOT the source code.
----- Excess quoted text cut - see Original Post for more -----
Author: George Lu
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:48078#255560
Thank you Gareth. I prefer to use vspider since cfindex will index all docs
linked or not linked. I want user to be able just search and see everything
just http linked or generated html page NOT the source code.
----- Excess quoted text cut - see Original Post for more -----
Author: Gareth Hughes
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:48078#255358
From the verity people:
---
Error -1705 = Node is offline. You get this error when the K2 server and
collection is not online.
---
If the collection has been successsfully created and registered you might
try restarting Verity to see if that clears the error.
Have you tried using cfindex instead of verity spider? Try using
cfcollection (as you have below) to create a new, empty collection then use
cfindex to build the collection. I'd suggest trying it on a small test
directory rather than your entire intranet in the first instance:
<cfindex
collection="snippets"
action="update"
type="path"
key="c:\inetpub\wwwroot\cfdocs\snippets"
urlpath=http://localhost/cfdocs/snippets
recurse="no"
extensions=".*">
Currently I'm using K2 server to index and search our intranet. Indexing and
searching is very slow and it is not working with dynamic content such as
.cfm.
I've found very limited documentation using Google. Anyway, I've managed to
create and index a collection using vspider. e.g.
Vspider
-collection e:\CFusionMX7\verity\collections\test
-start http://localhost/test/
-style e:\CFusionMX7\verity\Data\stylesets\ColdFusionVspider
And then I've tried to use CF administrator to register the collection. It
fails. I've created a file contains:
<cfflush>
<cfcollection action=create
collection=test path="e:\CFusionMX7\verity\collections" language="English"
CATEGORIES="no">
<cfflush>
It has successfully registered the collection 'test' in the CF
administrator. However, when I search the collection I've got this error:
------------------------------------------------
There was a problem executing the CFSearch tag with the following
collections.
Collection (status code): test (-1705)
The error occurred in E:\webroot\IntraDev\Functions\Search\SearchAction.cfm:
line 34
32 : collection="test" MAXROWS="300"
33 : type="internet"
34 : criteria="#searchstring#">
------------------------------------------------
Can anyone please help?
Thanks,
George
Author: George Lu
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:48078#255344
Currently I'm using K2 server to index and search our intranet. Indexing and
searching is very slow and it is not working with dynamic content such as .cfm.
I've found very limited documentation using Google. Anyway, I've managed to
create and index a collection using vspider. e.g.
Vspider
-collection e:\CFusionMX7\verity\collections\test
-start http://localhost/test/
-style e:\CFusionMX7\verity\Data\stylesets\ColdFusionVspider
And then I've tried to use CF administrator to register the collection. It fails.
I've created a file contains:
<cfflush>
<cfcollection action=create
collection=test path="e:\CFusionMX7\verity\collections" language="English"
CATEGORIES="no">
<cfflush>
It has successfully registered the collection 'test' in the CF administrator.
However, when I search the collection I've got this error:
------------------------------------------------
There was a problem executing the CFSearch tag with the following collections.
Collection (status code): test (-1705)
The error occurred in E:\webroot\IntraDev\Functions\Search\SearchAction.cfm: line
34
32 : collection="test" MAXROWS="300"
33 : type="internet"
34 : criteria="#searchstring#">
------------------------------------------------
Can anyone please help?
Thanks,
George
|
May 24, 2012
|
Latest Fusion Authority Articles
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||