[TYPO3-Solr] Breadcrumb instead of URL for results

werner at aloah-from-hell.de werner at aloah-from-hell.de
Tue Sep 13 11:16:14 CEST 2011


Hi Ingo,

> a) You could store the breadcrumb in a dynamic field thru the Indexing
> Queue. typoscript is your friend.

thanks again for your hints. I've implemented the breadcrumb as follows,
(just for documentation purposes):

1) Extended the solr-schema schema.xml about an additional field "breadcrumb"
<field name="breadcrumb" type="text" indexed="true" stored="true" />

2) Restarted Solr

3) Extended the Solr-TS-Config
plugin.tx_solr.index.additionalFields {
  breadcrumb = COA
  breadcrumb {
    10 = HMENU
    10 {
      special = rootline
      special.range = 0|-1
      1 = TMENU
          1.noBlur = 1
          1.CUR = 1
          1.target = _self
          1.NO {
              stdWrap.field = nav_title // title
              ATagTitle.field = nav_title // title
              linkWrap = | |*| » |*|

              }
          1.CUR {
              stdWrap.field = nav_title // title
              linkWrap = | |*| » |*|
              doNotLinkIt = 0
              }
         }
    }
  }

kind regards,
Werner



More information about the TYPO3-project-solr mailing list