ISolrFieldValues.FindById

Syntax

FindById(Id: String; Type: SearchEngineTargetType): ISolrFieldValue;

Parameters

Id. Field identifier.

Type. Search service purpose.

Description

The FindById method searches by field identifier.

Comments

The field identifier is case-sensitive. The method returns element used to set field value, if the search was successful and Null, if specified field is absent in the Solr instance settings.

Example

The example of work with the ISolrFieldValues collection is given in description of the ISolrImportCustomValues.FillValues method.

See also:

ISolrFieldValues | System and Custom Fields