lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manohar Sripada <manohar...@gmail.com>
Subject Re: Loading data to FieldValueCache
Date Fri, 26 Dec 2014 11:00:15 GMT
Thanks Toke for the explanation, I will experiment with
f.state.facet.method=enum

Thanks,
Manohar

On Fri, Dec 26, 2014 at 4:09 PM, Toke Eskildsen <te@statsbiblioteket.dk>
wrote:

> Manohar Sripada [manohar211@gmail.com] wrote:
> > I have 100 million documents in my index. The maxDoc here is the maximum
> > Documents in each shard, right? How is it determined that each entry will
> > occupy maxDoc/8 approximately.
>
> Assuming that it is random whether a document is part of the result set or
> not, the most efficient representation is 1 bit/doc (this is often called a
> bitmap or bitset). So the total number of bits will be maxDoc, which is the
> same as maxDoc/8 bytes.
>
> Of course, result sets are rarely random, so it is possible to have other
> and more compact representations. I do not know how that plays out in
> Lucene. Hopefully somebody else can help here.
>
> > If I have to add facet.method=enum every time in the query, how should I
> > specify for each field separately?
>
> f.state.facet.method=enum
>
> See https://wiki.apache.org/solr/SimpleFacetParameters#Parameters
>
> - Toke Eskildsen
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message