Created
November 14, 2014 18:07
-
-
Save herskinduk/89a99902e6e797134635 to your computer and use it in GitHub Desktop.
Fortis.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> | |
<sitecore> | |
<contentSearch> | |
<indexConfigurations> | |
<!-- Un-comment out the config for Lucene or SOLR for your project --> | |
<defaultLuceneIndexConfiguration> | |
<indexDocumentPropertyMapper> | |
<!--<patch:attribute name="type">Fortis.Search.LuceneDocumentTypeMapper, Fortis</patch:attribute>--> | |
<patch:attribute name="type">Sitecore.Mvc.Taskforce.Web.FortisExtension.LuceneDocumentTypeMapper, Sitecore.Mvc.Taskforce.Web</patch:attribute> | |
<objectFactory> | |
<!--<patch:attribute name="type">Fortis.Search.DefaultDocumentMapperObjectFactory, Fortis</patch:attribute>--> | |
<patch:attribute name="type">Sitecore.Mvc.Taskforce.Web.FortisExtension.DefaultDocumentMapperObjectFactory, Sitecore.Mvc.Taskforce.Web</patch:attribute> | |
</objectFactory> | |
</indexDocumentPropertyMapper> | |
</defaultLuceneIndexConfiguration> | |
<!--<defaultSolrIndexConfiguration> | |
<indexDocumentPropertyMapper> | |
<patch:attribute name="type">Fortis.Search.SolrDocumentTypeMapper, Fortis</patch:attribute> | |
<objectFactory> | |
<patch:attribute name="type">Fortis.Search.DefaultDocumentMapperObjectFactory, Fortis</patch:attribute> | |
</objectFactory> | |
</indexDocumentPropertyMapper> | |
</defaultSolrIndexConfiguration>--> | |
</indexConfigurations> | |
</contentSearch> | |
<pipelines> | |
<mvc.getModel> | |
<processor patch:before="processor[@type='Sitecore.Mvc.Pipelines.Response.GetModel.GetFromItem, Sitecore.Mvc']" | |
type="Fortis.Mvc.Pipelines.GetModel.GetFromView, Fortis.Mvc"/> | |
</mvc.getModel> | |
</pipelines> | |
</sitecore> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment