Hi, i'm using Zend_search_lucene on lots of document.
i'm using numDocs to count my document.
in my index i've a field name 'type_doc' which specified the type of
document.
I would like to count how many document there are for each type.
When i do something like this :
$hits = $index->find('type_doc:pmsi');
$count_hits = count($hits);?>
print $count_hits;
it's ok but just when there are not a lots of documents (it work for 40 000
documents)
but i've type_doc which contain more than 300 000 documents and i've a
problem of "allowed memory size" .
Is there anyway to find the number of document for a specifique field?
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/count-document-with-specifique-field-tp2401756p2401756.html
Sent from the Zend Framework mailing list archive at Nabble.com.