2

HI I have used "setResultSetLimit(1000)" method to limit results to 1000 records. The good thing is It helps to save server resources, but there is noway to get full record count for a query. Is any one know how to get full hit count?

TX

Charles
  • 50,943
  • 13
  • 104
  • 142
chamantha
  • 21
  • 2

2 Answers2

0

Its not possiblie within my tries...

I suggest u to make a full search store results making a cache file maybe or session and use zend_paginator array adapter

Vitor Almeida
  • 81
  • 1
  • 8
0

The answer is so easy or I didn't understand the question ?

$results = $index->find("saerch term");
echo count($results); // you will get count
tasmaniski
  • 4,767
  • 3
  • 33
  • 65