include/SugarSearchEngine/Elastic/SugarSearchEngineElasticResultSet.php
\SugarSeachEngineElasticResultSet
Package: SugarCRM
Adapter class to Elastica Result Set
- Parent(s)
- \SugarSearchEngineResultSet < \Iterator
Properties
Methods

__construct(
\Elastica_ResultSet $rs
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $rs | \Elastica_ResultSet |

count(
)
:
intReturn the count of hits returned, may not necessarily equal total hits.
Returns
| Type | Description |
|---|---|
| int |

getModuleFacet(
)
:
array | boolReturn the facet results for the modules used in the search.
Returns
| Type | Description |
|---|---|
| array | bool |

getTotalHits(
)
:
intReturn the total number of hits found from our search
Returns
| Type | Description |
|---|---|
| int |

getTotalTime(
)
:
intGet the total amount of time the search took to complete.
Returns
| Type | Description |
|---|---|
| int |