<cfcollection>

Allows you to create and administer Search collections.

Usage

<cfcollection
    [language=string]
    [path=string]
    [collection=string]
    [engine=string]
    [categories=boolean]
    [name=string]
    [action=create|repair|delete|optimize|list|map|categorylist]
>

This tag cannot have a body.

This tag is also supported within cfscript

Attributes

Attribute Description Default
language
(string, optional)

language the collection is based on: possible values are: english,german,russian,dutch,french,italian,norwegian,portuguese,spanish,brazilian,chinese,greek,thai,danish,japanese,norwegian,korean

path
(string, optional)

Absolute path to a Lucene collection.

collection
(string, optional)

Specifies a collection name or an alias if action = "map"

engine
(string, optional)

This attribute only exists for compatibility reasons to other CFML engines, the attribute is completely ignored by Lucee.

categories
(boolean, optional)

Used only for creating a collection

name
(string, optional)

Name for the query results returned by the list action.

action
(string, optional)

Specifies the action to perform.

list

Examples

There are currently no examples for this tag.