title: Combining SolrQueryByRange into solr.query
body: <p>I am using solrnet to design my search engine. Now I have a requirement to query based on a date range. I have my query statement go like this.</p>
  
  <pre><code>  var matchingProducts = solr.Query(BuildQuery(parameters), new QueryOptions
    {
          FilterQueries = BuildFilterQueries(parameters),
          Rows = parameters.PageSize,
          Start = start,
          OrderBy = GetSelectedSort(parameters),
          SpellCheck = new SpellCheckingParameters { Collate = false },
          Highlight = new HighlightingParameters
          {
                Fields = new[] { strpara },
          },
          Facet = new FacetParameters
          {
                Queries = AllFacetFields.Except(SelectedFacetFields(parameters))
                         .Select(f =&gt; new SolrFacetFieldQuery(f) { MinCount = 1 })
                         .Cast&lt;ISolrFacetQuery&gt;().ToList(),
          },
    }
    );
  </code></pre>
  
  <p>Now how do I include my "SolrQueryByRange" command into this?</p>
  
  <p>Thanks in advance.</p>
  
  <p>Regards</p>
  
  <p>Vignesh</p>