Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 110 for facet (0.01 sec)

  1. 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)
  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/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)
  4. 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)
  5. 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)
  6. 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)
  7. src/main/config/openapi/openapi-user.yaml

                example: [name]
            - name: facet.field
              in: query
              description: Facet field name
              required: false
              style: form
              explode: true
              schema:
                type: array
                items:
                  type: string
                example: [label]
            - name: facet.query
              in: query
              description: Facet query
              required: false
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu May 09 06:31:27 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/entity/SearchRequestParamsTest.java

            request.setParameterValues("facet.field", new String[] { "field1", "field2" });
            request.setParameterValues("facet.query", new String[] { "query1", "query2" });
            request.setParameter("facet.size", "100");
            request.setParameter("facet.minDocCount", "5");
            request.setParameter("facet.sort", "count");
            request.setParameter("facet.missing", "other");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  9. 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)
  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