コード例 #1
0
ファイル: FieldType.java プロジェクト: chatman/lucene-solr
 /**
  * Utility usable by subclasses when they want to get basic String sorting using common checks.
  *
  * @see SchemaField#checkSortability
  */
 protected SortField getStringSort(SchemaField field, boolean reverse) {
   field.checkSortability();
   return Sorting.getStringSortField(
       field.name, reverse, field.sortMissingLast(), field.sortMissingFirst());
 }