Cosminexus V9 ナビゲーション プラットフォーム 開発ガイド

[目次][用語][索引][前へ][次へ]

6.7 SearcherConstants検索クラス

検索機能で利用する定数を格納するユーティリティクラスです。

パッケージ

package jp.co.hitachi.soft.ucnp.base.search.constants;

形式

public class SearcherConstants extends java.lang.Object

SearcherConstantsクラスの定数フィールドについて

このクラスは,次に示す定数フィールドを持っています。

表6-4 SearcherConstantsクラスの定数フィールド

項番 フィールド名 形式 説明
1 SORT_TYPE_HITCOUNT public static final int 1 ヒット数の多い順でソートします。
ソートの優先順位を次に示します。
  1. ヒット件数の多い順
  2. コンテンツ名称の昇順
  3. 不定
2 SORT_TYPE_LASTUPDATED public static final int 3 更新日時の新しい順でソートします。
ソートの優先順位を次に示します。
  1. 更新日時の新しい順
  2. コンテンツ名称の昇順
  3. 不定
3 SORT_TYPE_NAME public static final int 2 業務コンテンツ名称の昇順でソートします。
ソートの優先順位を次に示します。
  1. コンテンツ名称の昇順
  2. ヒット件数の多い順
  3. 不定
4 SORT_TYPE_NONE public static final int 0 ソートしません。ソートの優先順位も不定です。