Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 12 for FacetResponse (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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)
  2. 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)
  3. 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. */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  4. 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());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 23.6K bytes
    - Click Count (0)
  5. 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.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  6. src/main/webapp/WEB-INF/orig/view/searchResults.jsp

    					</c:if>
    				</div>
    			</li>
    		</c:forEach>
    	</ol>
    	<aside class="col-md-4 d-none d-md-block">
    		<%-- Side Content --%>
    		<c:if test="${facetResponse != null}">
    			<c:forEach var="fieldData" items="${facetResponse.fieldList}">
    				<c:if
    					test="${fieldData.name == 'label' && fieldData.valueCountMap.size() > 0}">
    					<ul class="list-group mb-2">
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 12.2K bytes
    - Click Count (1)
  7. src/main/webapp/WEB-INF/view/searchResults.jsp

    					</c:if>
    				</div>
    			</li>
    		</c:forEach>
    	</ol>
    	<aside class="col-md-4 d-none d-md-block">
    		<%-- Side Content --%>
    		<c:if test="${facetResponse != null}">
    			<c:forEach var="fieldData" items="${facetResponse.fieldList}">
    				<c:if
    					test="${fieldData.name == 'label' && fieldData.valueCountMap.size() > 0}">
    					<ul class="list-group mb-2">
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 12.2K bytes
    - Click Count (0)
  8. 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);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 14K bytes
    - Click Count (0)
  9. 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.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 09:24:04 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  10. 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) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 27 13:56:32 GMT 2026
    - 55.4K bytes
    - Click Count (1)
Back to Top