Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for facets (0.03 sec)

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

        /**
         * List of field facets containing aggregated field values and their counts.
         */
        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
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/entity/FacetInfo.java

        /** Array of field names to create facets for */
        public String[] field;
    
        /** Array of query strings to create query facets for */
        public String[] query;
    
        /** Maximum number of facet values to return */
        public Integer size;
    
        /** Minimum document count required for a facet value to be included */
        public Long minDocCount;
    
        /** Sort order for facet values (e.g., "count.desc", "term.asc") */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/entity/FacetQueryView.java

    import org.codelibs.fess.util.ComponentUtil;
    
    import jakarta.annotation.PostConstruct;
    
    /**
     * View class for managing facet query configurations and their display.
     * This class handles the setup and organization of query facets for the search interface,
     * including automatic generation of file type facets and custom query mappings.
     */
    public class FacetQueryView {
        /** Logger instance for this class */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/entity/SearchRenderData.java

     * including the actual search results, pagination information, facet data,
     * execution timing, and highlighting parameters.
     */
    public class SearchRenderData {
    
        /** List of search result documents. */
        protected List<Map<String, Object>> documentItems;
    
        /** Facet response containing aggregated search facets. */
        protected FacetResponse facetResponse;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/QueryResponseList.java

         */
        public void setExecTime(final long execTime) {
            this.execTime = execTime;
        }
    
        /**
         * Gets the facet response containing aggregated search facets and their counts.
         *
         * @return the facet response, or null if no facets were requested
         */
        public FacetResponse getFacetResponse() {
            return facetResponse;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/rank/fusion/SearchResult.java

         */
        public boolean isPartialResults() {
            return partialResults;
        }
    
        /**
         * Gets the facet response containing aggregated facet information.
         *
         * @return The facet response, or null if no facets were requested
         */
        public FacetResponse getFacetResponse() {
            return facetResponse;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/query/QueryFieldConfig.java

        /**
         * Gets the fields that can be used for faceted search.
         *
         * @return array of field names that can be used for faceted search
         */
        public String[] getFacetFields() {
            return facetFields;
        }
    
        /**
         * Sets the fields that can be used for faceted search.
         *
         * @param facetFields array of field names that can be used for faceted search
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java

        public void test_getFacetFields() {
            String[] fields = { "facet1", "facet2", "facet3" };
            queryFieldConfig.setFacetFields(fields);
    
            String[] result = queryFieldConfig.getFacetFields();
            assertSame(fields, result);
        }
    
        public void test_setFacetFields() {
            String[] fields = { "facet1", "facet2", "facet3" };
            queryFieldConfig.setFacetFields(fields);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

                    this.similarDocHash = similarDocHash;
                }
                return this;
            }
    
            /**
             * Sets the facet information for aggregations.
             *
             * @param facetInfo the facet configuration
             * @return this builder for method chaining
             */
            public SearchConditionBuilder facetInfo(final FacetInfo facetInfo) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/entity/SearchRequestParams.java

        }
    
        /**
         * Creates a facet info.
         *
         * @param request The request.
         * @return The facet info.
         */
        protected FacetInfo createFacetInfo(final HttpServletRequest request) {
            final String[] fields = getParamValueArray(request, "facet.field");
            final String[] queries = getParamValueArray(request, "facet.query");
            if (fields.length == 0 && queries.length == 0) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8K bytes
    - Viewed (0)
Back to top