Method IndexedTermPrefixLength
IndexedTermPrefixLength(BytesRef, BytesRef)
NOTE: if your codec does not sort in unicode code
point order, you must override this method, to simply
return indexedTerm.Length
.
Declaration
protected virtual int IndexedTermPrefixLength(BytesRef priorTerm, BytesRef indexedTerm)
Parameters
Type | Name | Description |
---|---|---|
BytesRef | priorTerm | |
BytesRef | indexedTerm |
Returns
Type | Description |
---|---|
System.Int32 |