This is a convenience method, that returns prefix coded bits of an int without
reducing the precision. It can be used to store the full precision value as a
stored field in index.
To decode, use {@link #prefixCodedToInt}.
Namespace: Lucene.Net.UtilAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
| C# |
|---|
public static string IntToPrefixCoded( int val ) |
| Visual Basic |
|---|
Public Shared Function IntToPrefixCoded ( _ val As Integer _ ) As String |
| Visual C++ |
|---|
public: static String^ IntToPrefixCoded( int val ) |
Parameters
- val
- Type: System..::..Int32
[Missing <param name="val"/> documentation for "M:Lucene.Net.Util.NumericUtils.IntToPrefixCoded(System.Int32)"]
Return Value
[Missing <returns> documentation for "M:Lucene.Net.Util.NumericUtils.IntToPrefixCoded(System.Int32)"]