Last active
March 2, 2016 01:26
-
-
Save RyanABailey/bcdd8d0ef639fb664ca7 to your computer and use it in GitHub Desktop.
Lucene facet phrase
This file contains hidden or 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
| <fieldMap type="Sitecore.ContentSearch.FieldMap, Sitecore.ContentSearch"> | |
| <fieldNames hint="raw:AddFieldByFieldName"> | |
| <field fieldName="categoryfacet" storageType="YES" indexType="TOKENIZED" vectorType="NO" boost="1f" type="System.String" settingType="Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider"> | |
| <Analyzer type="Sitecore.ContentSearch.LuceneProvider.Analyzers.LowerCaseKeywordAnalyzer, Sitecore.ContentSearch.LuceneProvider" /> | |
| </field> | |
| </fieldNames> | |
| </fieldMap> | |
| <fields hint="raw:AddComputedIndexField"> | |
| <field fieldName="categoryfacet" storageType="yes" indexType="untokenized" | |
| patch:after="field[last()]">MyProject.IndexCategory, MyProject | |
| </field> | |
| </fields> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment