Changes for page Solr Search Application

Last modified by Admin on 2024/03/25 15:40

<
From version < 80.1 >
edited by Marius Dumitru Florea
on 2014/02/25 14:12
To version < 81.1 >
edited by Marius Dumitru Florea
on 2014/02/25 14:26
>
Change comment: There is no comment for this version

Summary

Details

ExtensionCode.ExtensionClass[0]
Description
... ... @@ -193,8 +193,16 @@
193 193  
194 194  === Faceting on Object Properties ===
195 195  
196 -TODO
196 +The [[Solr Search Query API>>Solr Search Query API||anchor="HFacetingonObjectProperties285.32B29"]] describes how you can add a facet that is based on a object property. Starting with 5.4.2 (and 6.0M1) you can achive the same using the Search UI configuration page, ##Main.SolrSearchConfig##:
197 197  
198 +{{code language="none"}}
199 +...
200 +'facetFields': ['type', ..., 'attsize', 'property.Blog.BlogPostClass.publishDate_date'],
201 +...
202 +{{/code}}
203 +
204 +The facet displayer used for an XClass property is determined based on the property type, and can also be configured using either ##facetDisplayers## or ##facetDisplayersByPropertyType## configuration parameters. Note that you can even create you own custom facet displayer. Take a look at the existing facet displayers like ##Main.SolrUserFacet## or ##Main.SolrFileSizeFacet##. The facet dislayer is a wiki page. The displayer code is in the page content.
205 +
198 198  === Miscellaneous ===
199 199  
200 200  * You can restrict the list of wikis that are searchable by default from the main wiki by defining the following Velocity variable in a page that includes ##Main.SolrSearch##:(((

Get Connected