Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for facet2 (0.03 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/main/java/org/codelibs/fess/entity/SearchRenderData.java

         */
        public void setDocumentItems(final List<Map<String, Object>> documentItems) {
            this.documentItems = documentItems;
        }
    
        /**
         * Sets the facet response containing aggregated search facets.
         *
         * @param facetResponse The facet response
         */
        public void setFacetResponse(final FacetResponse facetResponse) {
            this.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)
  8. 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)
  9. 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)
  10. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                split(values[1], "\t").of(subStream -> subStream.map(String::trim).filter(StringUtil::isNotEmpty).forEach(v -> {
                    final String[] facet = StringUtils.split(v, "=", 2);
                    if (facet.length == 2) {
                        facetQueryView.addQuery(facet[0], facet[1]);
                    }
                }));
                facetQueryView.init();
                facetQueryViewList.add(facetQueryView);
    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