Get total number of results when field collapsing is enabled

2010-06-17 Thread Adrian Pemsel
Hi Folks,

Is there any way to get or estimate the total number of results when using
field collapsing (SOLR-236) without using faceting or a second query?

Kind Regards,
Adrian Pemsel
-- 
http://www.jusmeum.de


Solr not returning all documents?

2010-03-29 Thread Adrian Pemsel
Hi,

As part of our application I have written a reindex task that runs through
all documents in a core one by one (using *:*, a start offset and a row
limit of 1) and adds them to a new core (potentially with a new schema).
However, while working well for small sets this approach somehow does not
seem to work for larger data sets. The Reindex task counts its offset into
the old core, this count stops at about 118000 and no more documents are
returned. However, numDocs says there are around 582000 documents in the old
core.
Am I making a wrong assumption in believing I should get all documents like
this?

Thanks,

Adrian