Sets the date resolution used by RangeQueries for a specific field.
Namespace: Lucene.Net.QueryParsersAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public virtual void SetDateResolution( string fieldName, DateTools..::..Resolution dateResolution ) |
Visual Basic |
---|
Public Overridable Sub SetDateResolution ( _ fieldName As String, _ dateResolution As DateTools..::..Resolution _ ) |
Visual C++ |
---|
public: virtual void SetDateResolution( String^ fieldName, DateTools..::..Resolution^ dateResolution ) |
Parameters
- fieldName
- Type: System..::..String
field for which the date resolution is to be set
- dateResolution
- Type: Lucene.Net.Documents..::..DateTools..::..Resolution
date resolution to set