Class AlfrescoCollatableMLTextFieldType.MLTextSortFieldComparator

java.lang.Object
org.apache.lucene.search.FieldComparator<String>
org.alfresco.solr.AlfrescoCollatableMLTextFieldType.MLTextSortFieldComparator
All Implemented Interfaces:
org.apache.lucene.search.LeafFieldComparator
Enclosing class:
AlfrescoCollatableMLTextFieldType

public static final class AlfrescoCollatableMLTextFieldType.MLTextSortFieldComparator extends org.apache.lucene.search.FieldComparator<String> implements org.apache.lucene.search.LeafFieldComparator
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.lucene.search.FieldComparator

    org.apache.lucene.search.FieldComparator.DocComparator, org.apache.lucene.search.FieldComparator.DoubleComparator, org.apache.lucene.search.FieldComparator.FloatComparator, org.apache.lucene.search.FieldComparator.IntComparator, org.apache.lucene.search.FieldComparator.LongComparator, org.apache.lucene.search.FieldComparator.NumericComparator<T extends Number>, org.apache.lucene.search.FieldComparator.RelevanceComparator, org.apache.lucene.search.FieldComparator.TermOrdValComparator, org.apache.lucene.search.FieldComparator.TermValComparator
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    compare(int slot1, int slot2)
     
    int
    compareBottom(int doc)
     
    int
    compareTop(int doc)
     
    int
     
    void
    copy(int slot, int doc)
     
    org.apache.lucene.search.LeafFieldComparator
    getLeafComparator(org.apache.lucene.index.LeafReaderContext context)
     
    void
    setBottom(int bottom)
     
    void
    setScorer(org.apache.lucene.search.Scorer scorer)
     
    void
     
    value(int slot)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • compare

      public int compare(int slot1, int slot2)
      Specified by:
      compare in class org.apache.lucene.search.FieldComparator<String>
    • setBottom

      public void setBottom(int bottom)
      Specified by:
      setBottom in interface org.apache.lucene.search.LeafFieldComparator
    • compareBottom

      public int compareBottom(int doc)
      Specified by:
      compareBottom in interface org.apache.lucene.search.LeafFieldComparator
    • copy

      public void copy(int slot, int doc)
      Specified by:
      copy in interface org.apache.lucene.search.LeafFieldComparator
    • value

      public String value(int slot)
      Specified by:
      value in class org.apache.lucene.search.FieldComparator<String>
    • setTopValue

      public void setTopValue(String value)
      Specified by:
      setTopValue in class org.apache.lucene.search.FieldComparator<String>
    • compareTop

      public int compareTop(int doc) throws IOException
      Specified by:
      compareTop in interface org.apache.lucene.search.LeafFieldComparator
      Throws:
      IOException
    • getLeafComparator

      public org.apache.lucene.search.LeafFieldComparator getLeafComparator(org.apache.lucene.index.LeafReaderContext context) throws IOException
      Specified by:
      getLeafComparator in class org.apache.lucene.search.FieldComparator<String>
      Throws:
      IOException
    • compareValues

      public int compareValues(String val1, String val2)
      Overrides:
      compareValues in class org.apache.lucene.search.FieldComparator<String>
    • setScorer

      public void setScorer(org.apache.lucene.search.Scorer scorer)
      Specified by:
      setScorer in interface org.apache.lucene.search.LeafFieldComparator