Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for sortField (0.35 sec)

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

        }
    
        public QueryStringBuilder params(final SearchRequestParams params) {
            this.params = params;
            return this;
        }
    
        public QueryStringBuilder sortField(final String sortField) {
            this.sortField = sortField;
            return this;
        }
    
        public QueryStringBuilder escape(final boolean escape) {
            this.escape = escape;
            return this;
        }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. 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: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. 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: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  4. 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: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  5. 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: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  6. 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: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
Back to top