Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for facetResponse (0.08 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/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)
  4. 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)
  5. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                buf.append(']');
                if (facetResponse != null && facetResponse.hasFacetResponse()) {
                    // facet field
                    buf.append(',');
                    buf.append("\"facet_field\":[");
                    if (facetResponse.getFieldList() != null) {
                        boolean first1 = true;
                        for (final Field field : facetResponse.getFieldList()) {
                            if (!first1) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. src/main/java/org/codelibs/fess/app/web/search/SearchAction.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
    - 14K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/ViewHelper.java

    import org.codelibs.fess.opensearch.config.exentity.CrawlingConfig;
    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.DocumentUtil;
    import org.codelibs.fess.util.FacetResponse;
    import org.codelibs.fess.util.ResourceUtil;
    import org.dbflute.optional.OptionalThing;
    import org.lastaflute.taglib.function.LaFunctions;
    import org.lastaflute.web.response.ActionResponse;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.4K bytes
    - Viewed (0)
Back to top