Class FeatureSortField


  • final class FeatureSortField
    extends SortField
    Sorts using the value of a specified feature name from a FeatureField.
    • Field Detail

      • featureName

        private final java.lang.String featureName
    • Constructor Detail

      • FeatureSortField

        public FeatureSortField​(java.lang.String field,
                                java.lang.String featureName)
        Creates a FeatureSortField that can be used to sort hits by the value of a particular feature in a FeatureField.
        Parameters:
        featureName - The name of the feature to use for the sort value