Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for facetResponse (0.07 sec)

  1. src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java

            // Test with FacetResponse object created from empty Aggregations
            List<Aggregation> aggregationList = new ArrayList<>();
            Aggregations aggregations = new Aggregations(aggregationList);
            FacetResponse facetResponse = new FacetResponse(aggregations);
            searchRenderData.setFacetResponse(facetResponse);
            assertEquals(facetResponse, searchRenderData.getFacetResponse());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/rank/fusion/SearchResultTest.java

            // Test builder with facet response
            Aggregations aggregations = InternalAggregations.EMPTY;
            FacetResponse facetResponse = new FacetResponse(aggregations);
    
            SearchResult result = SearchResult.create().facetResponse(facetResponse).allRecordCount(50L).build();
    
            assertEquals(facetResponse, result.getFacetResponse());
            assertEquals(50L, result.getAllRecordCount());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/entity/SearchRenderData.java

        }
    
        /**
         * Sets the facet response containing aggregated search facets.
         *
         * @param facetResponse The facet response
         */
        public void setFacetResponse(final FacetResponse facetResponse) {
            this.facetResponse = facetResponse;
        }
    
        /**
         * Sets additional highlight parameters to append to URLs.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/rank/fusion/RankFusionSearcherTest.java

            }
        }
    
        private static class SimpleSearcher extends RankFusionSearcher {
            @Override
            protected SearchResult search(String query, SearchRequestParams params, OptionalThing<FessUserBean> userBean) {
                return new SearchResult(new ArrayList<>(), 0L, "eq", 0L, false, new FacetResponse(InternalAggregations.EMPTY));
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/QueryResponseListTest.java

        }
    
        public void test_facetResponse_constructor() {
            FacetResponse facetResponse = null;
            List<Map<String, Object>> documentList = new ArrayList<>();
    
            QueryResponseList qrList = new QueryResponseList(documentList, 50L, "lte", 200L, false, facetResponse, 10, 20, 0);
    
            assertEquals(facetResponse, qrList.getFacetResponse());
            assertFalse(qrList.isPartialResults());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 39.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/QueryResponseList.java

        /** The total execution time for the search request in milliseconds. */
        protected long execTime;
    
        /** The facet response containing aggregated search facets and their counts. */
        protected FacetResponse facetResponse;
    
        /** Flag indicating whether the search results are partial (not complete). */
        protected boolean partialResults = false;
    
        /** The time taken to execute the search query in milliseconds. */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/ApiResult.java

                requestedTime = data.getRequestedTime();
                final FacetResponse facetResponse = data.getFacetResponse();
                if (facetResponse != null && facetResponse.hasFacetResponse()) {
                    // facet field
                    if (facetResponse.getFieldList() != null) {
                        facetField = facetResponse.getFieldList().stream().map(field -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

                }
    
                // facet
                final Aggregations aggregations = searchResponse.getAggregations();
                if (aggregations != null) {
                    builder.facetResponse(new FacetResponse(aggregations));
                }
    
            });
            return builder.build();
        }
    
        /**
         * Sends a search request to OpenSearch with the specified parameters.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

                final String allRecordCountRelation, final long queryTime, final boolean partialResults, final FacetResponse facetResponse,
                final int start, final int pageSize, final int offset) {
            return new QueryResponseList(documentList, allRecordCount, allRecordCountRelation, queryTime, partialResults, facetResponse, start,
                    pageSize, offset);
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

                RenderDataUtil.register(data, "queryId", queryId);
                RenderDataUtil.register(data, "documentItems", documentItems);
                RenderDataUtil.register(data, "facetResponse", facetResponse);
                RenderDataUtil.register(data, "appendHighlightParams", appendHighlightParams);
                RenderDataUtil.register(data, "execTime", execTime);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 23.1K bytes
    - Viewed (1)
Back to top