Class SortableBinaryField


  • public class SortableBinaryField
    extends org.apache.solr.schema.BinaryField
    Custom field representing a BinaryField that's sortable.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.solr.schema.FieldType

        org.apache.solr.schema.FieldType.DefaultAnalyzer, org.apache.solr.schema.FieldType.MultiValueSelector
    • Field Summary

      • Fields inherited from class org.apache.solr.schema.FieldType

        ANALYZER, args, AUTO_GENERATE_PHRASE_QUERIES, CHAR_FILTER, CHAR_FILTERS, CLASS_NAME, docValuesFormat, ENABLE_GRAPH_QUERIES, falseProperties, FILTER, FILTERS, INDEX, INDEX_ANALYZER, MULTI_TERM, MULTI_TERM_ANALYZER, POLY_FIELD_SEPARATOR, postingsFormat, properties, QUERY, QUERY_ANALYZER, similarity, SIMILARITY, similarityFactory, SYNONYM_QUERY_STYLE, TOKENIZER, trueProperties, TYPE, TYPE_NAME, typeName
      • Fields inherited from class org.apache.solr.schema.FieldProperties

        BINARY, DOC_VALUES, INDEXED, LARGE_FIELD, MULTIVALUED, OMIT_NORMS, OMIT_POSITIONS, OMIT_TF_POSITIONS, REQUIRED, SORT_MISSING_FIRST, SORT_MISSING_LAST, STORE_OFFSETS, STORE_TERMOFFSETS, STORE_TERMPAYLOADS, STORE_TERMPOSITIONS, STORE_TERMVECTORS, STORED, TOKENIZED, UNINVERTIBLE, USE_DOCVALUES_AS_STORED
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void checkSupportsDocValues()  
      List<org.apache.lucene.index.IndexableField> createFields​(org.apache.solr.schema.SchemaField field, Object value)  
      org.apache.lucene.search.SortField getSortField​(org.apache.solr.schema.SchemaField field, boolean reverse)  
      Object marshalSortValue​(Object value)  
      Object unmarshalSortValue​(Object value)  
      • Methods inherited from class org.apache.solr.schema.BinaryField

        checkSchemaField, createField, getUninversionType, toExternal, toNativeType, toObject, write
      • Methods inherited from class org.apache.solr.schema.FieldType

        createField, getAnalyzerProperties, getClassArg, getDefaultMultiValueSelectorForSort, getDocValuesFormat, getExistenceQuery, getFieldQuery, getFieldTermQuery, getIndexAnalyzer, getNamedPropertyValues, getNonFieldPropertyArgs, getNumberType, getNumericSort, getPostingsFormat, getPrefixQuery, getQueryAnalyzer, getRangeQuery, getRewriteMethod, getSetQuery, getSimilarity, getSimilarityFactory, getSingleValueSource, getSortedNumericSortField, getSortedSetSortField, getSortField, getSpecializedExistenceQuery, getSpecializedRangeQuery, getStringSort, getTypeName, getValueSource, hasProperty, indexedToReadable, indexedToReadable, init, isExplicitAnalyzer, isExplicitQueryAnalyzer, isMultiValued, isPointField, isPolyField, isTokenized, isUtf8Field, marshalBase64SortValue, marshalStringSortValue, multiValuedFieldCache, readableToIndexed, readableToIndexed, restrictProps, setArgs, setIndexAnalyzer, setIsExplicitAnalyzer, setIsExplicitQueryAnalyzer, setQueryAnalyzer, setSimilarity, storedToIndexed, storedToReadable, supportsAnalyzers, toInternal, toObject, toString, treatUnboundedRangeAsExistence, unmarshalBase64SortValue, unmarshalStringSortValue, useDocValuesAsStored, write
    • Constructor Detail

      • SortableBinaryField

        public SortableBinaryField()
    • Method Detail

      • checkSupportsDocValues

        protected void checkSupportsDocValues()
        Overrides:
        checkSupportsDocValues in class org.apache.solr.schema.FieldType
      • createFields

        public List<org.apache.lucene.index.IndexableField> createFields​(org.apache.solr.schema.SchemaField field,
                                                                         Object value)
        Overrides:
        createFields in class org.apache.solr.schema.FieldType
      • getSortField

        public org.apache.lucene.search.SortField getSortField​(org.apache.solr.schema.SchemaField field,
                                                               boolean reverse)
        Overrides:
        getSortField in class org.apache.solr.schema.BinaryField
      • marshalSortValue

        public Object marshalSortValue​(Object value)
        Overrides:
        marshalSortValue in class org.apache.solr.schema.FieldType
      • unmarshalSortValue

        public Object unmarshalSortValue​(Object value)
        Overrides:
        unmarshalSortValue in class org.apache.solr.schema.FieldType