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(
)
:
int
Return the count of hits returned, may not necessarily equal total hits.
Returns
Type | Description |
---|---|
int |
getModuleFacet(
)
:
array | bool
Return the facet results for the modules used in the search.
Returns
Type | Description |
---|---|
array | bool |
getTotalHits(
)
:
int
Return the total number of hits found from our search
Returns
Type | Description |
---|---|
int |
getTotalTime(
)
:
int
Get the total amount of time the search took to complete.
Returns
Type | Description |
---|---|
int |