Class ToParentBlockJoinFieldComparer.Lowest
Concrete implementation of ToParentBlockJoinSortField to sorts the parent docs with the lowest values in the child / nested docs first.
Inheritance
System.Object
Lucene.Net.Search.FieldComparer
Lucene.Net.Search.FieldComparer<System.Object>
ToParentBlockJoinFieldComparer.Lowest
Inherited Members
Lucene.Net.Search.FieldComparer<System.Object>.CompareValues(System.Object, System.Object)
Lucene.Net.Search.FieldComparer.SetScorer(Lucene.Net.Search.Scorer)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Join
Assembly: Lucene.Net.Join.dll
Syntax
public sealed class Lowest : ToParentBlockJoinFieldComparer
Constructors
| Improve this Doc View SourceLowest(FieldComparer, Filter, Filter, Int32)
Declaration
public Lowest(FieldComparer wrappedComparer, Filter parentFilter, Filter childFilter, int spareSlot)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Search.FieldComparer | wrappedComparer | The Lucene.Net.Search.FieldComparer on the child / nested level. |
Lucene.Net.Search.Filter | parentFilter | Lucene.Net.Search.Filter (must produce FixedBitSet per-segment) that identifies the parent documents. |
Lucene.Net.Search.Filter | childFilter | Lucene.Net.Search.Filter that defines which child / nested documents participates in sorting. |
System.Int32 | spareSlot | The extra slot inside the wrapped comparer that is used to compare which nested document inside the parent document scope is most competitive. |
Methods
| Improve this Doc View SourceCompareBottom(Int32)
Declaration
public override int CompareBottom(int parentDoc)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | parentDoc |
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
Lucene.Net.Search.FieldComparer<System.Object>.CompareBottom(System.Int32)
|
Improve this Doc
View Source
CompareTop(Int32)
Declaration
public override int CompareTop(int parentDoc)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | parentDoc |
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
Lucene.Net.Search.FieldComparer<System.Object>.CompareTop(System.Int32)
|
Improve this Doc
View Source
Copy(Int32, Int32)
Declaration
public override void Copy(int slot, int parentDoc)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | slot | |
System.Int32 | parentDoc |
Overrides
Lucene.Net.Search.FieldComparer<System.Object>.Copy(System.Int32, System.Int32)