include/SugarSearchEngine/Elastic/SugarSeachEngineElasticResult.php

Show: inherited
Table of Contents

\SugarSeachEngineElasticResult

Package: SugarCRM

Adapter class to Elastica Result

Parent(s)
\SugarSearchEngineAbstractResult < \SugarSearchEngineResult

Properties

Propertyprotected\SugarBean  $bean= ''
inherited

Inherited from: \SugarSearchEngineAbstractResult::$$bean
Details
Type
\SugarBean
Inherited_from
\SugarSearchEngineAbstractResult::$$bean  
Propertyprivate\Elastica_Result  $elasticaResult= ''

Details
Type
\Elastica_Result

Methods

methodpublic__construct(  $result ) : void

Parameters
Name Type Description
$result
methodpublic__toString( ) : void
methodpublicgetHighlightedHitText( \maxFields $maxFields = 1 ) : array

This function returns an array of highlighted key-value pairs.

Parameters
Name Type Description
$maxFields \maxFields

integer the maximum number of fields to return for each hit

Returns
Type Description
array of key value pairs
methodpublicgetId( ) : string

Return the id of the

Returns
Type Description
string
methodpublicgetModule( ) : array

Returns
Type Description
array
methodpublicgetModuleName( ) : void
methodpublicgetSummaryText( ) : void
Documentation was generated by DocBlox 0.18.1.