Pike v8.1 release 6

Method Search.Database.Base()->safe_remove_field()


Method safe_remove_field

void safe_remove_field(string field)

Description

Remove a field from the database if it isn't used by the filters. Also removes all stored metadata with this field, but not all indexed words using this field id.

Parameter field

The (possibly wide string) field name to be removed.