DGSphinxSearchException

searchd error: offset out of bounds (offset=2250, max_matches=2000)

/home/easybuyproperty/public_html/frontend/protected/extensions/DGSphinxSearch/DGSphinxSearch.php(458)

446 
447         if ($this->enableResultTrace) {
448             Yii::trace("Query '$query' is performed for index '$index'", 'CEXT.DGSphinxSearch.doSearch');
449         }
450 
451         if ($this->enableProfiling) {
452             Yii::beginProfile("Search query: '{$query}' in index: '{$index}'", 'CEXT.DGSphinxSearch.doSearch');
453         }
454 
455         $res = $this->client->query($query, $index, $comment);
456 
457         if ($this->getLastError()) {
458             throw new DGSphinxSearchException($this->getLastError());
459         }
460 
461         if ($this->enableProfiling) {
462             Yii::endProfile("Search query: '{$query}' in index: '{$index}'", 'CEXT.DGSphinxSearch.doSearch');
463         }
464 
465         if ($this->enableResultTrace) {
466             Yii::trace("Query result: " . substr(print_r($res, true), 500), 'CEXT.DGSphinxSearch.doSearch');
467         }
468 
469         if (!isset($res['matches'])) {
470             $res['matches'] = array();

Stack Trace

#0
+
 /home/easybuyproperty/public_html/frontend/protected/extensions/DGSphinxSearch/DGSphinxSearch.php(492): DGSphinxSearch->doSearch("psearch", "")
487 
488         // handle given criteria
489         $this->setCriteria($criteria);
490 
491         // process search
492         $res = $this->doSearch($this->criteria->from, $this->criteria->query);
493 
494         //ugly hack
495         if ($criteria->paginator) {
496             if (isset($res['total'])) {
497                 $criteria->paginator->setItemCount($res['total']);
#1
+
 /home/easybuyproperty/public_html/frontend/protected/extensions/DGSphinxSearch/DGSphinxSearch.php(213): DGSphinxSearch->searchByCriteria(stdClass)
208     public function searchRaw($criteria = null)
209     {
210         if ($criteria === null) {
211             $res = $this->doSearch($this->criteria->from, $this->criteria->query);
212         } else {
213             $res = $this->searchByCriteria($criteria);
214         }
215         return $res;
216     }
217 
218     /**
#2
+
 /home/easybuyproperty/public_html/frontend/protected/models/Property.php(612): DGSphinxSearch->searchRaw(stdClass)
607       $search->SetSortMode(SPH_SORT_EXTENDED, str_replace('prop.', '', $sphinx_sort_by));
608     }
609     
610     $search->enableProfiling = true;
611     
612     $resArray = $search->select('id')/*->SetMatchMode(SPH_MATCH_EXTENDED)*/->searchRaw($searchCriteria);
613     
614     if(isset($resArray['matches']))
615     { 
616       //echo '<pre>';print_r($resArray);echo '</pre>';
617       
2024-03-29 12:37:20 Apache Yii Framework/1.1.14