<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="mmres://user_interface_reference.css" rel="stylesheet" type="text/css">
<title>CFINDEX</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
   <div id="説明">
   <table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
      <tr> 
         <td valign="top" class="name">CFINDEX</td>
         <td valign="top" nowrap class="compatibility">&nbsp;</td>
      </tr>
      <tr>
         <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
      </tr>


    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">説明</span>
<p>
Verity コレクションにメタデータを挿入し、それを検索するためのインデックスを作成します。Verity は、さまざまなタイプの物理ファイルやデータベースクエリーを検索するために ColdFusion アプリケーションに統合できる検索エンジンです。クエリーからの結果のデータベース列にインデックスを付けると、複数の SQL クエリーを使用して同じデータを返していた場合に比べてはるかに迅速にクエリーデータを検索できるようになります。 
</p>

<p>
Verity コレクションにインデックスを付ける前に、ColdFusion MX Administrator または cfcollection タグを使用して Verity コレクションを定義する必要があります。
</p>

<p>
ColdFusion MX Administrator を使用して、または Vspider や MKVDK などのネイティブの Verity インデックス作成ツールを使用して、Verity コレクションにインデックスを付けることもできます。ただし、これらのオプションを使用すると、ディレクトリパス内のファイルのコレクションにインデックスを付けることが制限されます。
</p>

<p>
Verity コレクションの作成、インデックス作成、検索の詳細については、『ColdFusion MX 開発ガイド』の第 24 章「検索インターフェイスの構築」を参照してください。
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">カテゴリ</span>
<p>
拡張タグ
</p>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="syntax"><span class="title">シンタックス</span><pre>&lt;cfindex
   collection = &quot;collection_name&quot;
   action = &quot;action&quot;
   type = &quot;type&quot;
   title = &quot;title&quot;
   key = &quot;ID&quot;
   body = &quot;body&quot;
   custom1 = &quot;custom_value&quot;
   custom2 = &quot;custom_value&quot;
custom3 = &quot;custom_value&quot;
custom4 = &quot;custom_value&quot;
   category = &quot;category_name&quot;
   categoryTree = &quot;category_tree&quot;
   URLpath = &quot;URL&quot;
   extensions = &quot;file_extensions&quot;
   query = &quot;query_name&quot;
   recurse = &quot;yes&quot;、&quot;no&quot;
   language = &quot;language&quot;&gt;
   status = &quot;status&quot;&gt;
</pre>    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">関連項目</span>
<p>
cfcollection、cfexecute、cfobject、cfreport、cfsearch、cfwddx
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">ヒストリ</span>
<p>
ColdFusion&#160;MX&#160;7: 
</p>
<ul>

<li>status、category、および categoryTree の各属性が追加されました。 </li>

<li>外部コレクションへのリファレンスが削除されました。</li>

<li>cflock の推奨使用方法が削除されました。</li>
</ul>

<p>
ColdFusion&#160;MX: 
</p>
<ul>

<li>action 属性の値 optimize が廃止になりました。この値は ColdFusion&#160;MX では機能せず、エラーが発生する可能性があります。</li>

<li>external 属性の動作が変更されました。external 属性を指定する必要はなくなりました。内部コレクションか外部コレクションかは ColdFusion が自動的に検出します。</li>

<li>Verity オペレーションの動作が変更されました。ColdFusion で、Acrobat PDF ファイルでの Verity オペレーションがサポートされるようになりました。</li>

<li>返される例外が変更されました。このタグでは SEARCHENGINE 例外を返すことができます。</li>

<li>コレクションのネーミング規則が変更され、スペースを含むコレクション名が使用できるようになりました。</li>

<li>クエリー結果の動作が変更されました。cfindex タグでは、cfsearch タグのクエリー結果にインデックスを付けることができます。</li>
</ul>

<p>

</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">使用方法</span>
<p>
cfindex タグに必要な属性の設定は、query 属性を設定するかどうかによって決まります。query 属性を有効なクエリー名に設定した場合は、cfindex がディスク内のドキュメントにインデックスを付けるのではなく、クエリー内のデータにインデックスを付けるように指定します。query 属性を設定しない場合、cfindex はファイル (type = file)、ディレクトリパス内のファイルのセット (type = path)、または body 属性で指定されたテキスト (type = custom) にインデックスを付けると想定します。 
</p>

<p>
query 属性を有効なファイル名に設定した場合、cfindex タグは、次の属性およびその値で指定されるようにインデックスを作成します。 
</p>

<p>
</p><div align="left">
<table border="1">
  <caption></caption>
  <tr align="center">    <th><strong>タイプ</strong></th>
    <th><strong>属性値</strong></th>
</tr>
  <tr align="left">    <td>
<p>File</p></td>
    <td>
<p>key 属性は、フルファイル名 (パスを含む) を含むクエリー内の列名です。 </p></td>
</tr>
  <tr align="left">    <td>
<p>Path</p></td>
    <td>
<p>key 属性は、ディレクトリのパス名を含むクエリー内の列名です。</p></td>
</tr>
  <tr align="left">    <td>
<p>&#160;</p></td>
    <td>
<p>extensions 属性および recurse 属性が指定されている場合、これらの属性はどのファイルが含まれているかを示します。アクションが delete の場合、cfindex はコレクションのキーを削除します。</p></td>
</tr>
  <tr align="left">    <td>
<p>Custom</p></td>
    <td>
<p>key 属性は、目的のものを含む列名を指定します。たとえば、データベースのプライマリキー値などです。これはコレクションのプライマリキーであるため、固有のものでなければなりません。アクションが delete の場合、key 属性は、削除するキーを含むクエリー内の列の名前です。</p></td>
</tr>
  <tr align="left">    <td>
<p>&#160;</p></td>
    <td>
<p>body 属性は必須で、インデックス作成の対象となるテキストを含んだ列の名前がカンマで区切られて一覧表示されます。</p></td>
</tr>
</table>
</div>
<p>
</p>

<p>
query 属性を設定しない場合、cfindex タグは、次の属性およびその値で指定されるようにインデックスを作成します。
</p>

<p>
</p><div align="left">
<table border="1">
  <caption></caption>
  <tr align="center">    <th><strong>タイプ</strong></th>
    <th><strong>属性値</strong></th>
</tr>
  <tr align="left">    <td>
<p>File</p></td>
    <td>
<p>key 属性が必要で、その値はファイルへのフルパスです。</p></td>
</tr>
  <tr align="left">    <td>
<p>Path</p></td>
    <td>
<p>key 属性が必要で、その値はディレクトリのパス名です。</p></td>
</tr>
  <tr align="left">    <td>
<p>&#160;</p></td>
    <td>
<p>extensions 属性および recurse 属性が指定されている場合、これらの属性はどのファイルが含まれているかを示します。アクションが delete の場合、キーおよびドキュメントファイルがどちらも削除されます。</p></td>
</tr>
  <tr align="left">    <td>
<p>Custom</p></td>
    <td>
<p>key 属性は、キーを指定する任意の識別子です。アクションが delete の場合、key 属性は削除するドキュメントキーです。</p></td>
</tr>
  <tr align="left">    <td>
<p>&#160;</p></td>
    <td>
<p>body 属性が必要で、その値はインデックスを付ける対象のテキストです。</p></td>
</tr>
</table>
</div>
<p>
</p>

<p>
type を指定しないで query を設定した場合、ColdFusion は type を custom のデフォルト値に設定します。 
</p>

<p>
type と query のいずれも設定しない場合、ColdFusion は type を file のデフォルト値に設定します。 
</p>

<p>
type が custom の場合、key および body 以外のすべての属性で、列名だけでなくリテラル値も指定することができます。これにより、コレクション内でフィールドを空に変更することができます。
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">status 属性</span>
<p>
status 属性は、cfindex オペレーションの結果に関する次の情報と診断を提供します。
</p>

<p>
</p><div align="left">
<table border="1">
  <caption></caption>
  <tr align="center">    <th><strong>キー</strong></th>
    <th><strong>タイプ</strong></th>
    <th><strong>説明</strong></th>
</tr>
  <tr align="left">    <td>
<p>BADKEYS</p></td>
    <td>
<p>struct</p></td>
    <td>
<p>無効なキーのインデックス作成に関する診断メッセージを含む、キーの構造体です。無効なキーがない場合、このキーは存在しません。</p></td>
</tr>
  <tr align="left">    <td>
<p>DELETED</p></td>
    <td>
<p>Number</p></td>
    <td>
<p>削除されたキーの数です。</p></td>
</tr>
  <tr align="left">    <td>
<p>MESSAGES</p></td>
    <td>
<p>array</p></td>
    <td>
<p>診断メッセージの配列です。重大でないエラーと警告が含まれ、Verity K2 Index サーバーから返されます。メッセージがない場合、このキーは存在しません。</p></td>
</tr>
  <tr align="left">    <td>
<p>INSERTED</p></td>
    <td>
<p>Number</p></td>
    <td>
<p>コレクションに挿入されたキーの数です。</p></td>
</tr>
  <tr align="left">    <td>
<p>UPDATED</p></td>
    <td>
<p>Number</p></td>
    <td>
<p>コレクションで更新されたキーの数です。</p></td>
</tr>
</table>
</div>
<p>
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">例</span><pre>&lt;!--- 例 1: ファイルのインデックス作成 (type = &quot;file&quot;) ----------------------------&gt;
&lt;!--- 例では、ステータス変数の内容 (info) をダンプします。 -------------------&gt;
&lt;cfindex collection=&quot;CodeColl&quot;
   action=&quot;refresh&quot;
   type=&quot;file&quot;
   key=&quot;C:blackstonewwwrootvw_filescfindex.htm&quot; 
   urlpath=&quot;http://localhost:8500/vw_files/&quot;
   language=&quot;English&quot;
   title=&quot;Cfindex Reference page&quot;
   status=&quot;info&quot;&gt;

&lt;!--- 属性を検索します。 ---&gt;
&lt;cfsearch
   name = &quot;mySearch&quot;
   collection = &quot;CodeColl&quot;
   criteria = &quot;Attributes&quot;
   contextpassages = &quot;1&quot;
   maxrows = &quot;100&quot;&gt;
&lt;cfoutput&gt;
   key=#mySearch.key#&lt;br /&gt;
   title=#mySearch.title#&lt;br /&gt;
   context=#mySearch.context#&lt;br /&gt;
   url=#mySearch.url#&lt;br /&gt;
&lt;/cfoutput&gt;

&lt;cfdump var=&quot;#info#&quot;&gt;

&lt;!--- 例 2: パスのインデックス作成 (type = &quot;path&quot;) ------------------------------&gt;
&lt;cfindex collection=&quot;CodeColl&quot;
   action=&quot;refresh&quot;
   type=&quot;path&quot;
   key=&quot;C:inetpubwwwrootvw_filesnewspapersports&quot; 
   urlpath=&quot;http://localhost/vw_files/newspaper/sports&quot;
   extensions = &quot;.htm, .html&quot;
   recurse=&quot;no&quot;
   language=&quot;English&quot;
   categoryTree=&quot;vw_files/newspaper/sports&quot;
   category=&quot;Giants&quot;&gt;

&lt;!--- 条件への参照を検索します。 ---&gt;
&lt;cfsearch
   name = &quot;mySearch&quot;
   collection = &quot;CodeColl&quot;
   categoryTree=&quot;vw_files/newspaper/sports&quot;
   category=&quot;Giants&quot;
   criteria = &quot;Williams&quot; 
   contextpassages = &quot;1&quot;
   maxrows = &quot;100&quot;&gt;
&lt;cfoutput&gt;
   key=#mySearch.key#&lt;br /&gt;
   title=#mySearch.title#&lt;br /&gt;
   context=#mySearch.context#&lt;br /&gt;
   url=#mySearch.url#&lt;br /&gt;
&lt;/cfoutput&gt;

&lt;!--- 例 3: クエリーのインデックス作成 (type = &quot;custom&quot;)、custom1 を使用 ------------&gt;
&lt;!--- テーブルからデータを取り出します。 ---&gt;
&lt;cfquery name=&quot;getCourses&quot; datasource=&quot;cfdocexamples&quot;&gt;
   SELECT * FROM COURSES
&lt;/cfquery&gt;

&lt;!--- コレクションを上記のクエリー結果で更新します。 ---&gt;
&lt;!--- キーは Courses テーブル内の Course_ID です。 ----&gt;
&lt;!--- 本文は検索用にインデックスを付ける列を指定します。 ---&gt;
&lt;!--- custom1 は Course_Number 列の値を指定します。 ---&gt;

&lt;cfindex
   query=&quot;getCourses&quot;
   collection=&quot;CodeColl&quot;
   action=&quot;Update&quot;
   type=&quot;Custom&quot;
   key=&quot;Course_ID&quot;
   title=&quot;Courses&quot;
   body=&quot;Course_ID,Descript&quot;
   custom1=&quot;Course_Number&quot;
&gt;
&lt;h2&gt;インデックス作成の終了&lt;/h2&gt;
&lt;!--- cno は検索する custom1 の値を提供します。
      フォーム入力を使用することもできます。 ---&gt;
&lt;cfset cno = &quot;540&quot;&gt;
&lt;cfsearch
   name = &quot;mySearch&quot;
   collection = &quot;CodeColl&quot;
   criteria = &quot;CF_CUSTOM1 &lt;MATCHES&gt; #cno#&quot;
   contextpassages = &quot;1&quot;
   maxrows = &quot;100&quot;&gt;
&lt;!--- Course_Number 540 に対するインデックス設定された値 
      (Course_ID and Descript) を返します。 ---&gt;
&lt;cfoutput&gt;
   key=#mySearch.key#&lt;br /&gt;
   title=#mySearch.title#&lt;br /&gt;
   context=#mySearch.context#&lt;br /&gt;
   url=#mySearch.url#&lt;br /&gt;
&lt;/cfoutput&gt;

&lt;!--- 例 4: クエリー内のファイルのインデックス作成 (type= &quot;file&quot;) ---------------&gt;
&lt;!--- ファイル名 (Contract_File) を含む列がある行を取り出します。 ---&gt;
&lt;cfquery name=&quot;getEmps&quot; datasource=&quot;cfdocexamples&quot;&gt;
   SELECT * FROM EMPLOYEE WHERE EMP_ID = 1
&lt;/cfquery&gt;

&lt;!--- コレクションを上記のクエリー結果で更新します。 ---&gt;
&lt;!--- キーにより完全ファイル名を含む列が指定されます。 ---&gt;
&lt;!--- 同じ方法で、クエリーが関与しないかのようにファイルにインデックスが付けられます。 ---&gt;
&lt;cfindex
   query=&quot;getEmps&quot;
   collection=&quot;CodeColl&quot;
   action=&quot;Update&quot;
   type=&quot;file&quot;
   key=&quot;Contract_File&quot;   
   title=&quot;Contract_File&quot;
   body=&quot;Emp_ID,FirstName,LastName,Contract_File&quot;&gt;

&lt;h2&gt;インデックス作成の終了&lt;/h2&gt;
&lt;cfsearch
   name = &quot;mySearch&quot;
   collection = &quot;CodeColl&quot;
   criteria = &quot;vacation&quot;
   contextpassages = &quot;1&quot;
   maxrows = &quot;100&quot;&gt;
&lt;cfoutput&gt;
   key=#mySearch.key#&lt;br /&gt;
   title=#mySearch.title#&lt;br /&gt;
   context=#mySearch.context#&lt;br /&gt;
   url=#mySearch.url#&lt;br /&gt;
&lt;/cfoutput&gt;

&lt;!--- 例 5: クエリー内のパスのインデックス作成 ----------------------------&gt;
&lt;!--- パス (Project_Docs) を含む列がある行を取り出します。 ---&gt;
&lt;cfquery name=&quot;getEmps&quot; datasource=&quot;cfdocexamples&quot;&gt;
   SELECT * FROM EMPLOYEE WHERE Emp_ID = 15
&lt;/cfquery&gt;

&lt;!--- コレクションを上記のクエリー結果で更新します。 ---&gt;
&lt;!--- キーによりディレクトリパスを含む列が指定されます。 ---&gt;
&lt;!--- 同じ方法で、クエリーが関与しないかのようにパスにインデックスが付けられます。 --- ---&gt;
&lt;cfindex
   query=&quot;getEmps&quot;
   collection=&quot;CodeColl&quot;
   action=&quot;update&quot;
   type=&quot;path&quot;
   key=&quot;Project_Docs&quot;
   title=&quot;Project_Docs&quot;
   body=&quot;Emp_ID,FirstName,LastName,Project_Docs&quot;&gt;

&lt;h2&gt;インデックス作成の終了&lt;/h2&gt;

&lt;cfsearch
   name = &quot;getEmps&quot;
   collection = &quot;CodeColl&quot;
   criteria = &quot;cfsetting&quot;
   contextpassages = &quot;1&quot;
   maxrows = &quot;100&quot;&gt;
&lt;cfoutput&gt;
   key=#getEmps.key#&lt;br /&gt;
   title=#getEmps.title#&lt;br /&gt;
   context=#getEmps.context#&lt;br /&gt;
   url=#getEmps.url#&lt;br /&gt;
&lt;/cfoutput&gt;

&lt;!--- 例 6: html ファイルの CodeColl コレクション内のキーの削除 ---&gt;
&lt;!--- 指定したディレクトリ内 (サブディレクトリは対象外) -------------&gt;

&lt;cfindex collection=&quot;CodeColl&quot;
   action=&quot;delete&quot;
   type=&quot;path&quot;
   key=&quot;C:CFusionMX7wwwrootvw_filesnewspaper&quot; 
   urlpath=&quot;http://localhost:8500/vw_files/newspaper&quot;
   extensions = &quot;.htm, .html&quot;
   recurse=&quot;no&quot;&gt;

&lt;!--- 例 7: CodeColl コレクション内のすべてのキーの破棄 ---&gt;
&lt;!--- 再帰 -------------------------------------------------------&gt;

&lt;cfindex collection=&quot;CodeColl&quot;
   action=&quot;purge&quot;
   type=&quot;path&quot;
   key=&quot;C:CFusionMX7wwwrootvw_filesnewspaper&quot;&gt;
</pre>
         </td>
      </tr>
   </table>
   </div>
<div id="COLLECTION">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">COLLECTION</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">必須</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">



<p>ColdFusion によって登録されているコレクションの名前。&quot;personnel&quot; のように指定します。</p>

  </td>
  </tr>
  </table>
</div>
<div id="ACTION">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">ACTION</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">必須</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">


<ul>

<li>update: コレクションを更新し、インデックスに key を追加します。 </li>

<li>delete: key 属性で指定したコレクションのドキュメントを削除します。</li>

<li>purge: コレクションのすべてのドキュメントを削除します。コレクションがオフラインになり、検索ができないようになります。</li>

<li>refresh: コレクションのすべてのドキュメントを削除し、更新を実行します。</li>
</ul>


  </td>
  </tr>
  </table>
</div>
<div id="TYPE">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">TYPE</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">オプション</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">

<strong>Default value:</strong> "query 属性を指定している場合は custom指定していない場合は file "

<ul>

<li>file: action の値をファイル名 (パスを含む) に適用します。key 属性のファイル名が必要です。</li>

<li>path: action の値を、extensions フィルタを渡すディレクトリパス内のファイルに適用します。key 属性のディレクトリ名が必要です。</li>

<li>custom: action の値をカスタムデータ (たとえば、クエリーからのデータ) に渡します。 </li>
</ul>


  </td>
  </tr>
  </table>
</div>
<div id="TITLE">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">TITLE</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">オプション</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">



<p>ドキュメントのタイトルをドキュメントから取り出せない場合、そのタイトルを提供します。</p>

  </td>
  </tr>
  </table>
</div>
<div id="KEY">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">KEY</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">必須</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">

<strong>Default value:</strong> "(空の文字列)"


<p>key に対して指定される値は、type 属性によって決まります。</p><ul>

<li>type = &quot;file&quot; のときは、そのファイルのディレクトリパスとファイル名です。</li>

<li>type = &quot;path&quot; のときは、ファイルの場所のディレクトリパスです。</li>

<li>type = &quot;custom&quot; のときは、データの場所を指定する固有の識別子です。たとえば、クエリーの場合、プライマリーキーを格納する列の名前です。クエリー以外の場合、Web ページの URL などの識別子です。</li>
</ul>


  </td>
  </tr>
  </table>
</div>
<div id="BODY">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">BODY</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">type = custom の場合は必須</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">


<ul>

<li>インデックスを付ける ASCII テキスト</li>

<li>query にクエリー名を指定している場合は、クエリー列名です。</li>
</ul>

<p>区切りリストで列を指定できます。例 : &quot;emp_name, dept_name, location&quot;</p>
<p>この属性は、type が file または path の場合は無視されます。action が delete の場合は無効です。</p>

  </td>
  </tr>
  </table>
</div>
<div id="CUSTOM1">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">CUSTOM1</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">オプション</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">



<p>コレクションレコード内の不連続な値にインデックスを付けます。これにより、Verity MATCHES 演算子を使用して特定のレコードを検索できるようになります。一方、body 属性で指定した値は、連結され、指定の条件を使用してテキスト本文として検索されます。</p>
<p>type = query の場合は、クエリー列名です。type = custom の場合は、インデックスを付けるデータフィールドです。 </p>

  </td>
  </tr>
  </table>
</div>
<div id="CUSTOM2">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">CUSTOM2</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">オプション</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">



<p>使用方法は、custom1 の場合と同じです。 </p>

  </td>
  </tr>
  </table>
</div>
<div id="CUSTOM3">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">CUSTOM3</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">オプション</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">



<p>使用方法は、custom1 の場合と同じです。</p>

  </td>
  </tr>
  </table>
</div>
<div id="CUSTOM4">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">CUSTOM4</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">オプション</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">



<p>使用方法は、custom1 の場合と同じです。</p>

  </td>
  </tr>
  </table>
</div>
<div id="CATEGORY">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">CATEGORY</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">オプション</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">



<p>インデックスを付けるデータの 1 つ以上の検索カテゴリを指定する文字列です。1 つのインデックスについて、複数のカテゴリをカンマで区切って定義することができます。 </p>

  </td>
  </tr>
  </table>
</div>
<div id="CATEGORYTREE">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">CATEGORYTREE</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">オプション</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">



<p>検索対象の階層構造のカテゴリまたはカテゴリツリーを指定する文字列値です。スラッシュ (&quot;/&quot;) で区切られた、カテゴリの系列です。指定できるカテゴリツリーは 1 つだけです。</p>

  </td>
  </tr>
  </table>
</div>
<div id="URLPATH">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">URLPATH</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">オプション</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">



<p>type が file または path の場合、URL パスを指定します。インデックスの作成時には、このパス名がファイル名の先頭に付き、url として検索から返されます。</p>

  </td>
  </tr>
  </table>
</div>
<div id="EXTENSIONS">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">EXTENSIONS</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">オプション</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">

<strong>Default value:</strong> "htm、"
<strong>Default value:</strong> "html、"
<strong>Default value:</strong> "cfm、"
<strong>Default value:</strong> "cfml、"
<strong>Default value:</strong> "dbm、"
<strong>Default value:</strong> "dbml"


<p>type = &quot;Path&quot; の場合に、ColdFusion がファイルのインデックス作成に使用する拡張子をカンマ区切りで指定します。 </p>
<p>&quot;*.&quot; を入力すると、拡張子のないファイルが返されます。".*" を入力すると、すべてのファイルが返されます。</p>
<p>たとえば、次のコードでは、リストされている拡張子のファイルまたは拡張子のないファイルが返されます。 </p>
<p>extensions == &quot;.htm, .html, .cfm, .cfml, &quot;*.&quot;</p>

  </td>
  </tr>
  </table>
</div>
<div id="QUERY">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">QUERY</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">オプション</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">



<p>コレクションを生成する対象のクエリーの名前です。</p>

  </td>
  </tr>
  </table>
</div>
<div id="RECURSE">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">RECURSE</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">オプション</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">

<strong>Default value:</strong> "no"

<ul>

<li>yes: type = &quot;path&quot; の場合、key 属性で指定されるパス下のディレクトリにある修飾されたファイルにインデックスを付けます。</li>

<li>no</li>
</ul>


  </td>
  </tr>
  </table>
</div>
<div id="LANGUAGE">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">LANGUAGE</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">オプション</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">

<strong>Default value:</strong> "English"


<p>オプションについては、cfcollectionを参照してください。適切な Verity Locales 言語パック (Western Europe、Asia、Multilanguage、Eastern Europe/Middle Eastern) が必要です。 </p>

  </td>
  </tr>
  </table>
</div>
<div id="STATUS">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">STATUS</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">オプション</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">



<p>ColdFusion&#160;MX がステータス情報を返す先の構造体の名前です。</p>

  </td>
  </tr>
  </table>
</div>

  </body>
</html>
