Package org.hibernate.search.query.engine.spi

Examples of org.hibernate.search.query.engine.spi.FacetManager.disableFaceting()


    facetManager.enableFaceting( requestAsc );

    assertFacetCounts( facetManager.getFacets( descendingOrderedFacet ), new int[] { 5, 4, 4, 0 } );
    assertFacetCounts( facetManager.getFacets( ascendingOrderedFacet ), new int[] { 0, 4, 4, 5 } );

    facetManager.disableFaceting( descendingOrderedFacet );
    assertTrue(
        "descendingOrderedFacet should be disabled", query.getFacetManager().getFacets(
        descendingOrderedFacet
    ).isEmpty()
    );
View Full Code Here


        descendingOrderedFacet
    ).isEmpty()
    );
    assertFacetCounts( facetManager.getFacets( ascendingOrderedFacet ), new int[] { 0, 4, 4, 5 } );

    facetManager.disableFaceting( ascendingOrderedFacet );
    assertTrue(
        "descendingOrderedFacet should be disabled",
        facetManager.getFacets( descendingOrderedFacet ).isEmpty()
    );
    assertTrue(
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.