Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for fieldSort (0.15 sec)

  1. src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java

            addDocument(indexName, client, num);
    
            ESSourceReader reader = new ESSourceReader(client, settings, indexName);
            reader.setScrollSize(1000);
            reader.addSort(SortBuilders.fieldSort("field2"));
            int count = 0;
            int prev = -1;
            Map<String, Object> source;
            while ((source = reader.read()) != null) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/query/QueryCommand.java

            if (QueryFieldConfig.SCORE_FIELD.equals(field) || QueryFieldConfig.DOC_SCORE_FIELD.equals(field)) {
                return SortBuilders.scoreSort().order(order);
            }
            return SortBuilders.fieldSort(field).order(order);
        }
    
        /**
         * Checks if the specified field is a search field.
         * @param field The field name to check.
         * @return True if the field is a search field, false otherwise.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.6K bytes
    - Viewed (0)
Back to top