|
<cfcollection [action="string"] [categories="boolean"] [collection="string"] [engine="string"] [language="string"] [name="string"] [path="string"]>
This tag is also supported within cfscript.
<cfscript> collection [action="string"] [categories="boolean"] [collection="string"] [engine="string"] [language="string"] [name="string"] [path="string"]; </cfscript>
[] = Optional attribute
Allows you to create and administer Search collections.
This tag can't have a body.
The attributes for this tag are fixed. Except for the following attributes no other attributes are allowed.
| Name | Type | Required | Description |
| action | string | No | Specifies the action to perform. |
| categories | boolean | No | Used only for creating a collection |
| collection | string | No | Specifies a collection name or an alias if action = "map" |
| engine | string | No | This attribute only exists for compatibility reasions to other CFML engines, the attribute is completely ignored by Railo. |
| language | string | No | Options are listed in Usage section. Requires the appropriate (European or Asian) Verity Locales language pack. |
| name | string | No | Name for the query results returned by the list action. |
| path | string | No | Absolute path to a Verity/Lucene/SOLR collection. |
Categories: