Package org.elasticsearch.search.facet

Examples of org.elasticsearch.search.facet.InternalFacet$Streams


        entries = CacheRecycler.popLongObjectMap();
        for (int i = 0; i < size; i++) {
          Entry e = new Entry(in.readLong(),null);
         
          String internal_type = in.readUTF();
          InternalFacet facet = (InternalFacet)InternalFacet.Streams.stream(internal_type).readFacet(internal_type, in);
          e.internalFacet = facet;
            entries.put(e.time,e);
        }
    }
View Full Code Here


        _sliceFieldValues = null;
    }

    @Override
    public InternalFacet build(final String facetName) {
        final InternalFacet facet = new InternalSlicedDistinctFacet(facetName, _counts);
        return facet;
    }
View Full Code Here

        }
    }

    @Override
    public InternalFacet build(final String facetName) {
        final InternalFacet facet = new InternalCountingFacet(facetName, _counts);
        _counts = null;
        return facet;
    }
View Full Code Here

            }
            _occurrences.put(fieldVal, null); // Free this up for GC immediately
        }

        _occurrences = null;
        final InternalFacet facet = new InternalDistinctFacet(facetName, counts);
        return facet;
    }
View Full Code Here

        _sliceFieldValues = null;
    }

    @Override
    public InternalFacet build(final String facetName) {
        final InternalFacet facet = new InternalSlicedFacet(facetName, _counts);
        _counts = null;
        return facet;
    }
View Full Code Here

TOP

Related Classes of org.elasticsearch.search.facet.InternalFacet$Streams

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.