Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for facetResponse (0.07 seconds)

  1. src/main/java/org/codelibs/fess/util/FacetResponse.java

         */
        protected List<Field> fieldList = new ArrayList<>();
    
        /**
         * Constructs a FacetResponse from OpenSearch aggregations.
         * Processes both field facets and query facets from the aggregation results.
         *
         * @param aggregations the OpenSearch aggregations containing facet data, may be null
         */
        public FacetResponse(final Aggregations aggregations) {
            if (aggregations != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Nov 23 11:39:05 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/rank/fusion/SearchResultTest.java

         */
        @Test
        public void test_searchResultWithFacetResponse() {
            final FacetResponse facetResponse = new FacetResponse(null);
            final SearchResult result = SearchResult.create().allRecordCount(100).facetResponse(facetResponse).build();
    
            assertNotNull(result.getFacetResponse());
            assertEquals(facetResponse, result.getFacetResponse());
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/rank/fusion/SearchResult.java

             * Sets the facet response containing aggregated facet information.
             *
             * @param facetResponse The facet response
             * @return This builder instance for method chaining
             */
            public SearchResultBuilder facetResponse(final FacetResponse facetResponse) {
                this.facetResponse = facetResponse;
                return this;
            }
    
            /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 8.8K bytes
    - Click Count (0)
Back to Top