RemoveById(Id: String): Boolean;
RemoveById(Id: String): Boolean;
Id. Identifier of removed field.
The RemoveById method removes the field from the collection by identifier and returns whether removal was successful.
The list of fields, which are used on indexing and search, is determined in configuration file. As there is no direct access to Apache Solr configuration files from Fore, edit the files manually to change the fields list. For details about changing the list of fields see the subsection.
The RemoveById method is used if any custom fields were removed from configuration file but it has not been removed yet from search service settings.
To auto synchronize the fields list in the Solr instance settings according to the configuration file, use the ISolrSearchEngineSchema.FillSchemaOptions method.
The example of work with the ISolrFields collection is given in description of the ISolrSearchEngineSchema.Fields property.
See also: