Sets the default date resolution used by RangeQueries for fields for which no
specific date resolutions has been set. Field specific resolutions can be set
with {@link #SetDateResolution(String, DateTools.Resolution)}.
Namespace: Lucene.Net.QueryParsersAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public virtual void SetDateResolution( DateTools..::..Resolution dateResolution ) |
Visual Basic |
---|
Public Overridable Sub SetDateResolution ( _ dateResolution As DateTools..::..Resolution _ ) |
Visual C++ |
---|
public: virtual void SetDateResolution( DateTools..::..Resolution^ dateResolution ) |
Parameters
- dateResolution
- Type: Lucene.Net.Documents..::..DateTools..::..Resolution
the default date resolution to set