Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for sortField (0.17 sec)

  1. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

                }
                final String sortField = values[0];
                if (!getQueryFieldConfig().isSortField(sortField)) {
                    throw new InvalidQueryException(
                            messages -> messages.addErrorsInvalidQueryUnsupportedSortField(UserMessages.GLOBAL_PROPERTY_KEY, sortField),
                            "Unsupported sort field: " + termQuery);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

            }
        }
    
        @Test
        public void searchTestWithSort() throws Exception {
            String sortField = "content_length";
            Map<String, String> params = new HashMap<>();
            params.put("q", "*");
            params.put("sort", sortField + ".asc");
            params.put("num", "100");
            String response = checkMethodBase(new HashMap<>()).params(params).get("/api/v1/documents").asString();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                request.setAttribute(Constants.REQUEST_QUERIES, params.getQuery());
            });
    
            String query = ComponentUtil.getQueryStringBuilder().params(params).sortField(params.getSort()).build();
            List<Map<String, Object>> documentItems;
            try {
                documentItems = searchInternal(query, params, userBean);
            } catch (final InvalidQueryException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/query/QueryFieldConfig.java

            this.facetFields = facetFields;
        }
    
        /**
         * @return the sortFields
         */
        public String[] getSortFields() {
            return sortFields;
        }
    
        /**
         * @param sortFields the sortFields to set
         */
        public void setSortFields(final String[] sortFields) {
            this.sortFields = sortFields;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 04:30:56 UTC 2024
    - 16K bytes
    - Viewed (0)
  5. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

       * of the request.
       */
      var dispatcher: Dispatcher = QueueDispatcher()
    
      private var portField: Int = -1
      val port: Int
        get() {
          before()
          return portField
        }
    
      val hostName: String
        get() {
          before()
          return _inetSocketAddress!!.address.hostName
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
Back to top