Table of Contents

Method CreateFullTextIndex

Namespace
YndigoBlue.Velocity.Model
Assembly
YndigoBlue.Velocity.dll

CreateFullTextIndex(string, IEnumerable<string>)

Creates a full-text index across the specified columns on this table.

public FullTextIndex CreateFullTextIndex(string name, IEnumerable<string> columnNames)

Parameters

name string

The index name.

columnNames IEnumerable<string>

The names of the text columns to include in the full-text index.

Returns

FullTextIndex

The newly created FullTextIndex.

Exceptions

Exception

Thrown when the table does not have exactly one single-column primary key, which is required by most databases as the unique key index for a full-text index.