tx_solr

https / ssl Frontend per solr indexieren

Um mit der TYPO3 Extension solr ein TYPO3 Frontend zu indexieren das nur per https / ssl erreichbar ist muss man in im TypoScript eine Einstellung setzen. Leider ist diese nur im Quelltext vermerkt, ich habe die Anweisung jedenfalls sonst nirgendwo gefunden.

Falls also jemand auch das Problem hat das der "Index Queue Worker (solr)" Planer Task immer wieder nur "Failures:50" ausgibt hier die Option im Typoscript:

TypoScript plugin.tx_solr https frontend

plugin.tx_solr.index.queue.pages.indexer.frontendDataHelper.scheme = https

Ausführliche tx_solr Konfiguration

# TypoScript Constants:
# DNS or IP of the solr host, e.g. 127.0.0.1
plugin.tx_solr.solr.host = 127.0.0.1
secrets.solrUser = user:password

# TypoScript Setup:
# tx_solr configuration
plugin.tx_solr {
  solr.host = {$secrets.solrUser}@{$plugin.tx_solr.solr.host}
  solr.path = /solr/core_00001_de/
  
  statistics = 1
  suggest = 1
  search {
    results {
      resultsHighlighting = 1
      #siteHighlighting = 1
      #showDocumentScoreAnalysis = 1
    }
    spellchecking = 1
    lastSearches = 1
    frequentSearches = 1
    sorting = 1
    sorting.options.relevance.label.lang.de = Relevanz
    sorting.options.title.label.lang.de = Titel
    sorting.options.type.label.lang.de = Typ
    sorting.options.author.label.lang.de = Autor
    sorting.options.created.label.lang.de = Erstellungsdatum
    
    faceting = 1
    faceting.facets { 
      type {
        label.lang.de = Inhaltstyp
        renderingInstruction = CASE
        renderingInstruction {
          key.field = optionValue
          # pages
          pages = TEXT
          pages.value = Pages
          pages.lang.de = Seiten
          # tx_news
          tx_news_domain_model_news = TEXT
          tx_news_domain_model_news.value = News
          tx_news_domain_model_news.lang.de = News
        }
      }
    }
  }
  
  index.queue {
    news = 1
    news {
      table = tx_news_domain_model_news
      fields {
        abstract = teaser
        author = author
        authorEmail_stringS = author_email
        title = title
        content = SOLR_CONTENT
        content {
          field = bodytext
        }
        
        content = SOLR_CONTENT
        content {
          cObject = COA
          cObject {
            10 = TEXT
            10 {
              field = bodytext
              noTrimWrap = || |
            }
            20 = SOLR_RELATION
            20 {
              localField = content_elements
              foreignLabelField = bodytext
              singleValueGlue = | |
            }
          }
        }
        
        category_stringM = SOLR_RELATION
        category_stringM {
          localField = categories
          multiValue = 1
        }
        
        tags_stringM = SOLR_RELATION
        tags_stringM {
          localField = tags
          multiValue = 1
        }
        
        keywords = SOLR_MULTIVALUE
        keywords {
          field = keywords
        }
        url = TEXT
        url {
          # PID of News detail view
          typolink.parameter = 116
          typolink.additionalParams = &tx_news_pi1[controller]=News&tx_news_pi1[action]=detail&tx_news_pi1[news]={field:uid}
          typolink.additionalParams.insertData = 1
          typolink.useCacheHash = 1
          typolink.returnLast = url
        }
      }
      attachments {
        fields = related_files
      }
    }  
  }
  
  #logging.indexing = 1
  logging.indexing.queue.news = 1
  
  # disable jQuery because its global present
  javascriptFiles.library >
  # Remove jQuery UI 1.8.21 and include 1.10.3 custom
  javascriptFiles.ui >
  javascriptFiles.ui = {$paths.public}/Js/jquery-ui/jquery-ui-1.10.3.custom.min.js
}

[globalVar = GP:L = 1]
# override solr path to english core
plugin.tx_solr.solr.path = /solr/core_00001_en/
[global]
Stichwörter zu dieser Seite: 
Generator: TYPO3 CMS 6.2
Google Page Speed
@t3easy_de folgen
Google+