Class RandomFacetSource

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class RandomFacetSource
    extends FacetSource
    Simple implementation of a random facet source

    Supports the following parameters:

    • rand.seed - defines the seed to initialize Random with (default: 13).
    • max.doc.facet.dims - Max number of random dimensions to create (default: 5); actual number of dimensions would be anything between 1 and that number.
    • max.doc.facets - maximal #facets per doc (default: 10). Actual number of facets in a certain doc would be anything between 1 and that number.
    • max.facet.depth - maximal #components in a facet (default: 3). Actual number of components in a certain facet would be anything between 1 and that number.