Using The Rck2 Utility To Search K2 Documents; Rck2 Syntax; Rck2 Command Options - MACROMEDIA COLDFUSION 5-ADVANCED ADMINISTRATION Manual

Table of Contents

Advertisement

Using the rck2 Utility to Search K2 Documents

Using the rck2 Utility to Search K2 Documents

The
Server in a K2 Search System. rck2 is installed into the ColdFusion bin directory:

rck2 syntax

The syntax used to start
rck2 -server <servername> -port <portno>
For example:
Syntax Element
-server <servername>
-port <portno>

rck2 command options

rck2 Command Description
p <sortspec>
m <maxdocs>
c <collections>
f <fields>
s <query text>
g <collection>
d <k2dockey>
v <k2dockey>
r <docstart>
b <docstart>
i
command-line tool allows you to search collections associated with a K2
rck2
UNIX:
/opt/coldfusion/bin
Windows:
cfusion\bin
c:\cfusion\bin\rck2 -server localhost -port 9901
Description
The server name for the K2 Server to attach to. The server name is
defined in the k2server.ini file. The collections attached to this server
will be searched by rck2 .
The port number where the K2 Server (specified in -server) is running.
The sort specification for the search results. By default results are sorted by
Score. Multiple fields must be specified in a space-separated list using asc
or desc to indicate ascending or decending order. For example: p score
desc title asc
The maximum number of documents to return in the results list.
The list of collections to search. Multiple collections must be specified in a
space separated list. For example: c coll1 coll2 coll3
The list of fields to retrieve. For example: f k2dockey title date
The query (or question) to be used to process the search. The query can be
expressed as words and phrases separated by commas. Additionally, the
query can include Verity query language, operators and modifiers.
Display collection information.
Display fields for the K2 document key specified.
Stream the document and display it with highlights.
Display results starting with the first result in the results list. Fields specified
using the f command are displayed. Docstart indicates the first result to be
displayed. For example, r 10 displays results starting with the 10th
document in the results list.
Display results based on the last field selection.
Display information about the K2 Server including nodes and collections.
from the command line is:
rck2
131

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION 5-ADVANCED ADMINISTRATION and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Coldfusion 5

Table of Contents