PHP 인터페이스 Smile\ElasticsuiteCore\Api\Index\Mapping\FieldInterface

저자: Aurelien FOUCRET ([email protected])
파일 보기 프로젝트 열기: smile-sa/elasticsuite 0 사용 예제들

공개 메소드들

메소드 설명
getMappingProperty ( string $analyzer = self::ANALYZER_UNTOUCHED ) : string | null Return ES property name eventually using a specified analyzer.
getMappingPropertyConfig ( ) : array Return ES mapping properties associated with the field.
getName ( ) : string Field name.
getNestedFieldName ( ) : string | null Get nested field name (Example: "position" for "category.position").
getNestedPath ( ) : string Returns nested path for the field (Example : "category" for "category.position").
getSearchWeight ( ) : integer Weight of the fields in search.
getType ( ) : string Field type (eg: string, integer, date).
isFilterable ( ) : boolean Is the field filterable in navigation.
isNested ( ) : boolean Return true if the field has a nested path.
isSearchable ( ) : boolean Is the field searchable.
isUsedForSortBy ( ) Is the attribute used in sorting.
isUsedInAutocomplete ( ) : boolean Is the field used for autocomplete.
isUsedInSpellcheck ( ) : boolean Is the field used by the spellchecker.

메소드 상세

getMappingProperty() 공개 메소드

Return ES property name eventually using a specified analyzer.
public getMappingProperty ( string $analyzer = self::ANALYZER_UNTOUCHED ) : string | null
$analyzer string Analyzer for multi_type / string fields.
리턴 string | null

getMappingPropertyConfig() 공개 메소드

Return ES mapping properties associated with the field.
public getMappingPropertyConfig ( ) : array
리턴 array

getName() 공개 메소드

Field name.
public getName ( ) : string
리턴 string

getNestedFieldName() 공개 메소드

Returns null for non nested fields.
public getNestedFieldName ( ) : string | null
리턴 string | null

getNestedPath() 공개 메소드

Returns nested path for the field (Example : "category" for "category.position").
public getNestedPath ( ) : string
리턴 string

getSearchWeight() 공개 메소드

Weight of the fields in search.
public getSearchWeight ( ) : integer
리턴 integer

getType() 공개 메소드

See const above for available types.
public getType ( ) : string
리턴 string

isFilterable() 공개 메소드

Is the field filterable in navigation.
public isFilterable ( ) : boolean
리턴 boolean

isNested() 공개 메소드

Return true if the field has a nested path.
public isNested ( ) : boolean
리턴 boolean

isSearchable() 공개 메소드

Is the field searchable.
public isSearchable ( ) : boolean
리턴 boolean

isUsedForSortBy() 공개 메소드

Is the attribute used in sorting.
public isUsedForSortBy ( )

isUsedInAutocomplete() 공개 메소드

Is the field used for autocomplete.
public isUsedInAutocomplete ( ) : boolean
리턴 boolean

isUsedInSpellcheck() 공개 메소드

Is the field used by the spellchecker.
public isUsedInSpellcheck ( ) : boolean
리턴 boolean