---
schema_version: "1"
id: fccdb82657300b8a7e8945997c6799da048dce0a57d0b7ba605b6a6b2515b64d
title: ConnectApi.RangeSearchFacet
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_range_search_facet.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_range_search_facet.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: ace7285af30d2f9b4a6027d9d930fd9b0557ff5df3d3429f53b1ffe9b7d0d889
description: Range facet with minimum and maximum values in product search results.
---
# ConnectApi.RangeSearchFacet

Range facet with minimum and maximum values in product search results.

<table class="featureTable sort_table" summary="">
          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader vertical-align-top " id="d1191119e27">Property Name</th>
              <th class="featureTableHeader vertical-align-top " id="d1191119e29">Type</th>
              <th class="featureTableHeader vertical-align-top " id="d1191119e31">Description</th>
              <th class="featureTableHeader vertical-align-top " id="d1191119e33">Available Version</th>
            </tr>
          </thead>
          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d1191119e27" data-title="Property Name"><samp class="codeph apex_code">attributeType</samp></td>

              <td class="entry" headers="d1191119e29" data-title="Type">String</td>

              <td class="entry" headers="d1191119e31" data-title="Description">
                <span class="ph" id="attributeType"><a name="attributeType"><!-- --></a>Type of search attribute for the refinement. Values
                  are:</span><a name="attributeTypeValues"><!-- --></a>
                <ul class="ul bulletList" id="attributeTypeValues">
                  <li class="li"><samp class="codeph nolang">Custom</samp></li>

                  <li class="li"><samp class="codeph nolang">Standard</samp></li>

                  <li class="li"><samp class="codeph nolang">PricebookEntry</samp></li>

                </ul>
              </td>

              <td class="entry" headers="d1191119e33" data-title="Available Version">64.0</td>

            </tr>
            <tr>
              <td class="entry" headers="d1191119e27" data-title="Property Name"><samp class="codeph apex_code">displayMetadata</samp></td>
              <td class="entry" headers="d1191119e29" data-title="Type"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_range_facet_display_metadata.htm" title="Display metadata representation for a range facet."><samp class="codeph apex_code">ConnectApi.RangeFacetDisplayMetadataRepresentation</samp></a></td>
              <td class="entry" headers="d1191119e31" data-title="Description"><span class="ph" id="displayMetadata"><a name="displayMetadata"><!-- --></a>Metadata required for rendering the range facet.</span></td>
              <td class="entry" headers="d1191119e33" data-title="Available Version">64.0</td>
            </tr>

            <tr>
              <td class="entry" headers="d1191119e27" data-title="Property Name"><samp class="codeph apex_code">displayName</samp></td>

              <td class="entry" headers="d1191119e29" data-title="Type">String</td>

              <td class="entry" headers="d1191119e31" data-title="Description"><span class="ph" id="displayName"><a name="displayName"><!-- --></a>Display name of the facet.</span></td>

              <td class="entry" headers="d1191119e33" data-title="Available Version">64.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1191119e27" data-title="Property Name"><samp class="codeph apex_code">displayRank</samp></td>

              <td class="entry" headers="d1191119e29" data-title="Type">String</td>

              <td class="entry" headers="d1191119e31" data-title="Description"><span class="ph" id="displayRank"><a name="displayRank"><!-- --></a>Display rank of the facet. Valid values are from 1 through
                  50.</span></td>

              <td class="entry" headers="d1191119e33" data-title="Available Version">64.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1191119e27" data-title="Property Name"><samp class="codeph apex_code">displayType</samp></td>

              <td class="entry" headers="d1191119e29" data-title="Type">String</td>

              <td class="entry" headers="d1191119e31" data-title="Description">
                <span class="ph" id="displayType"><a name="displayType"><!-- --></a>Display type of the facet. Value is:</span><a name="displayTypeValues"><!-- --></a>
                <ul class="ul bulletList" id="displayTypeValues">
                  <li class="li"><samp class="codeph nolang">Range</samp></li>

                </ul>
              </td>

              <td class="entry" headers="d1191119e33" data-title="Available Version">64.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1191119e27" data-title="Property Name"><samp class="codeph apex_code">facetType</samp></td>

              <td class="entry" headers="d1191119e29" data-title="Type">String</td>

              <td class="entry" headers="d1191119e31" data-title="Description">
                <span class="ph" id="facetType"><a name="facetType"><!-- --></a>Type of the facet. Value is:</span><a name="facetTypeValues"><!-- --></a>
                <ul class="ul bulletList" id="facetTypeValues">
                  <li class="li"><samp class="codeph nolang">Range</samp></li>

                </ul>
              </td>

              <td class="entry" headers="d1191119e33" data-title="Available Version">64.0</td>

            </tr>
            <tr>
              <td class="entry" headers="d1191119e27" data-title="Property Name"><samp class="codeph apex_code">max</samp></td>
              <td class="entry" headers="d1191119e29" data-title="Type">String</td>
              <td class="entry" headers="d1191119e31" data-title="Description"><span class="ph" id="max"><a name="max"><!-- --></a>Maximum value of the facet found in the search result.</span></td>
              <td class="entry" headers="d1191119e33" data-title="Available Version">64.0</td>
            </tr>
            <tr>
              <td class="entry" headers="d1191119e27" data-title="Property Name"><samp class="codeph apex_code">min</samp></td>
              <td class="entry" headers="d1191119e29" data-title="Type">String</td>
              <td class="entry" headers="d1191119e31" data-title="Description"><span class="ph" id="min"><a name="min"><!-- --></a>Minimum value of the facet found in the search result.</span></td>
              <td class="entry" headers="d1191119e33" data-title="Available Version">64.0</td>
            </tr>

            <tr>
              <td class="entry" headers="d1191119e27" data-title="Property Name"><samp class="codeph apex_code">nameOrId</samp></td>

              <td class="entry" headers="d1191119e29" data-title="Type">String</td>

              <td class="entry" headers="d1191119e31" data-title="Description"><span class="ph" id="nameOrId"><a name="nameOrId"><!-- --></a>Developer name of the attribute for the
                  refinement.</span></td>

              <td class="entry" headers="d1191119e33" data-title="Available Version">64.0</td>

            </tr>
          </tbody>
        </table>