SilverStripe\FullTextSearch\Solr\Writers\SolrSearchQueryWriterRange
Class SolrSearchQueryWriter_Range
Synopsis
class SolrSearchQueryWriterRange
extends AbstractSearchQueryWriter
{
- // methods
- public string generateQueryString()
- protected string getComparisonPolarity()
- protected mixed|string getLeftComparison()
- protected mixed|string getRightComparison()
- protected string getComparisonConjunction()
- protected string getOpenComparisonContainer()
- protected string getCloseComparisonContainer()
- // Inherited methods from AbstractSearchQueryWriter
- public abstract string generateQueryString()
Hierarchy
Methods
protected
- getCloseComparisonContainer() — Does our comparison need a container? EG: "[* TO *]"? If so, return the closing container brace.
- getComparisonConjunction() — Decide how we are comparing our left and right values.
- getComparisonPolarity() — Is this a positive (+) or negative (-) Solr comparison.
- getLeftComparison() — Select the value that we want as our left comparison value.
- getOpenComparisonContainer() — Does our comparison need a container? EG: "[* TO *]"? If so, return the opening container brace.
- getRightComparison() — Select the value that we want as our right comparison value.