UNA
Loading...
Searching...
No Matches
BxElsApi Class Reference
Inheritance diagram for BxElsApi:
BxDol

Public Member Functions

 __construct (&$oModule)
 
 searchSimple ($sIndex, $sType, $sTerm)
 
 searchExtended ($sIndex, $sType, $aCondition, $aSelection=array())
 
 getData ($sIndex, $sType, $iContentId)
 
 indexData ($sIndex, $sType, $iContentId, $aData)
 
 updateData ($sIndex, $sType, $iContentId, $aData)
 
 deleteData ($sIndex, $sType, $iContentId)
 
 getErrorMsg ()
 
 api ($sAction, $aData=array(), $sMetod='get', $bJsonResponse=true)
 

Static Public Attributes

static $TYPE = 'doc'
 

Protected Member Functions

 _prepareConditionsGroup ($aGrp)
 
 _prepareConditionsSingle ($aCnd)
 
 curl ($sUrl, $aData=array(), $sMethod='get', &$sHttpCode=null, $aBasicAuth=array())
 
 log ($mixed, $sProvider='')
 

Protected Attributes

 $_oModule
 
 $_sError = false
 
 $_iTimeout = 30
 
 $_sApiUrl = 'http://localhost:9200'
 
 $_aOprs = array('AND' => array('AG' => 'bool', 'FN' => 'filter'), 'OR' => array('AG' => 'dis_max', 'FN' => 'queries'))
 

Detailed Description

ElasticSearch API


The documentation for this class was generated from the following file: