SolrNet: SolrNet.SolrFacetDateQuery Class Reference

SolrNet

SolrNet.SolrFacetDateQuery Class Reference

Date facet query More...

Inheritance diagram for SolrNet.SolrFacetDateQuery:

List of all members.

Public Member Functions

 SolrFacetDateQuery (string field, DateTime start, DateTime end, string gap)
 Creates a date facet query.

Properties

bool HardEnd [get, set]
 What to do in the event that the gap does not divide evenly between start and end. If this is true, the last date range constraint will have an upper bound of end; if false, the last date range will have the smallest possible upper bound greater then end such that the range is exactly gap wide. The default is false.
ICollection< FacetDateOtherOther [get, set]
 Indicates that in addition to the counts for each date range constraint between start and end, counts should also be computed for other.
string Field [get]
DateTime Start [get]
DateTime End [get]
string Gap [get]

Detailed Description

Date facet query


Constructor & Destructor Documentation

SolrNet.SolrFacetDateQuery.SolrFacetDateQuery ( string  field,
DateTime  start,
DateTime  end,
string  gap 
)

Creates a date facet query.

Parameters:
fieldField to facet
startThe lower bound for the first date range for all Date Faceting on this field
endThe minimum upper bound for the last date range for all Date Faceting on this field
gapThe size of each date range expressed as an interval to be added to the lower bound using the DateMathParser syntax.

Property Documentation

bool SolrNet.SolrFacetDateQuery.HardEnd [get, set]

What to do in the event that the gap does not divide evenly between start and end. If this is true, the last date range constraint will have an upper bound of end; if false, the last date range will have the smallest possible upper bound greater then end such that the range is exactly gap wide. The default is false.

ICollection<FacetDateOther> SolrNet.SolrFacetDateQuery.Other [get, set]

Indicates that in addition to the counts for each date range constraint between start and end, counts should also be computed for other.


The documentation for this class was generated from the following file:
  • SolrNet/SolrFacetDateQuery.cs
Generated on Sun May 3 2015 17:19:06 for SolrNet by  doxygen 1.7.2