lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Brown <...@intelcompute.com>
Subject Re: Always return total number of documents
Date Fri, 28 Oct 2011 09:48:30 GMT
Cheers Kuli,

This is actually of huge importance to our customers, to see how many
documents we store.

The faceting option sounds a bit messy, maybe we'll have to stick with
2 queries.


---

IntelCompute
Web Design & Local Online Marketing

http://www.intelcompute.com

On Fri, 28 Oct 2011 11:43:11 +0200, Michael Kuhlmann <kuli@solarier.de>
wrote:
> Am 28.10.2011 11:16, schrieb Robert Brown:
>> Is there no way to return the total number of docs as part of a search?
> 
> No, it isn't. Usually this information is of absolutely no value to the
> end user.
> 
> A workaround would be to add some field to the schema that has the same
> value for every document, and use this for facetting.
> 
> Greetings,
> Kuli


Mime
View raw message