[TYPO3-Solr] Breadcrumb instead of URL for results

Ingo Renner ingo at typo3.org
Wed Sep 14 16:39:30 CEST 2011


Am 13.09.11 11:16, schrieb werner at aloah-from-hell.de:

Hello Werner,

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

unless you cannot avoid it, do not change the schema.xml. You can use 
dynamic fields for that, that will save you work when updating...

In your case simply use a dynamic field called breadcrumb_stringS. The 
text type is also not necessary for your use case I'd say since you 
won't need text analysis like stemming and so on, string will do.

Ingo

-- 
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2, Admin Google Summer of Code

TYPO3 - Open Source Enterprise Content Management System
http://typo3.org

Apache Solr for TYPO3 -
Open Source Enterprise Search meets Open Source Enterprise CMS
http://www.typo3-solr.com


More information about the TYPO3-project-solr mailing list