What do you mean by "size"? Raw text size? Index size?
I don't see how to do this automatically since "size" is
so ambiguous. What does "size" mean for a document
with a text field and 5 float fields for instance? Should
the floats be counted for size to be the number of
characters in the original input? The size of a Java float?
etc., etc., etc.

All is not lost though. The simple approach would be to
index the size along with the document (conveniently
discarding whatever you might decide is unimportant),
then use the stats component on that field, see:
https://cwiki.apache.org/confluence/display/solr/The+Stats+Component

Best,
Erick

On Mon, Jun 22, 2015 at 3:17 PM, Hrishikesh Gadre <[email protected]> wrote:
> Hi,
>
> Is it possible to get an estimate of size of all documents that match a
> specific search query in Solr? If not - is it feasible to add such support?
>
> Regards
> Hrishikesh

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to