title: I want to add dropdown that comes from custom table in typo3 solr facets
body: <p>I have indexed page correctly and solr is working, but I want to insert facets.</p>
  
  <p>I have write below typoscript for adding contain of table tx_srcdataprovider_domain_model_tag, it added in index queue but not indexed properly.</p>
  
  <p>How do I show all tag fields in dropdown in facets?</p>
  
  <p>Please give me some example to add facets in typo3 solr.</p>
  
  <p>Thanks in advance</p>
  
  <pre><code>tx_srcdataprovider_domain_model_tag = 1
  tx_srcdataprovider_domain_model_tag {
  
     table = tx_srcdataprovider_domain_model_tag
     fields {
        tag = tag                 
        // the special SOLR_CONTENT content object cleans HTML and RTE     fields
      content = SOLR_CONTENT
      content {
              field = description
      }
  
      // the special SOLR_RELATION content object resolves relations
      category_stringM = SOLR_RELATION
      category_stringM {
          localField = category
          multiValue = 1
      }
  
      // build the URL through typolink, make sure to use returnLast = url
      url = TEXT
      url {
          typolink.parameter = 1
          typolink.additionalParams = &amp;tx_srcdataprovider_domain_model_tag[item]={field:uid}
          typolink.additionalParams.insertData = 1
          typolink.returnLast = url
          typolink.useCacheHash = 1
      }
  
      // the special SOLR_MULTIVALUE content object allows to index multivalue fields
      keywords = SOLR_MULTIVALUE
      keywords {
          field = keywords
      }
      tag_stringS  = tag
  }
  </code></pre>