Method Compare
Compare(Int32, Int32)
Compares the specified document for a specified comparer against the current most relevant document.
Declaration
public abstract int Compare(int compIDX, int doc)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | compIDX | The comparer index of the specified comparer. |
System.Int32 | doc | The specified document. |
Returns
Type | Description |
---|---|
System.Int32 | -1 if the specified document wasn't competitive against the current most relevant document, 1 if the specified document was competitive against the current most relevant document. Otherwise 0. |