Class ToParentBlockJoinFieldComparer.Lowest
Concrete implementation of ToParentBlockJoinSortField to sorts the parent docs with the lowest values in the child / nested docs first.
Inherited Members
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 |
---|---|---|
FieldComparer | wrappedComparer | The FieldComparer on the child / nested level. |
Filter | parentFilter | Filter (must produce FixedBitSet per-segment) that identifies the parent documents. |
Filter | childFilter | 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)