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