Last modified by Thomas Mortagne on 2017/03/24

From version 50.2
edited by Marius Dumitru Florea
on 2014/02/25
Change comment: There is no comment for this version
To version 51.1
edited by Marius Dumitru Florea
on 2014/02/25
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -50,8 +50,10 @@
50 50  
51 51  = For Developers =
52 52  
53 -== Advanced Solr Search Suggest Sources ==
53 +== Solr ==
54 54  
55 +=== Advanced Search Suggest Sources ===
56 +
55 55  The [[Search Suggest>>extensions:Extension.Search Application||anchor="HSearchSuggest"]] feature retrieves live search results from various configurable sources. These sources specify the search engine to use and the search query. The search doesn't perform well, at least on Solr, if we use only the search query because each query is different (when the input text is different) so the cache is not used efficiently. Best is to rely on the filter cache but for this we need to be able to specify the filter query.
56 56  
57 57  Starting with this release you are able to specify more advanced search parameters in the search query and they will be passed directly to the search engine. This currently works with Solr. As an example, the following statement from the 'query' property of a Search Suggest Source
... ... @@ -95,7 +95,7 @@
95 95  
96 96  See the [[Solr common query parameters>>http://wiki.apache.org/solr/CommonQueryParameters]] and the [[Extended DisMax query parser parameters>>http://wiki.apache.org/solr/ExtendedDisMax#Parameters]] documentation for details on what parameters you can pass to the search engine.
97 97  
98 -== Solr Search UI Configuration ==
100 +=== Search UI Configuration ===
99 99  
100 100  We extracted the configuration parameters from the Solr Search UI code in a separate wiki page, ##Main.SolrSearchConfig##. This simplifies the process of customizing the search UI and more importantly allows application developers to easily create a dedicated search page for their application data. As an example, we updated the FAQ application to use the new configuration parameters:
101 101  
... ... @@ -135,6 +135,10 @@
135 135  {{/velocity}}
136 136  {{/code}}
137 137  
140 +=== Faceting on Object Properties ===
141 +
142 +In XWiki 5.3 we added support for [[faceting on object properties>>ReleaseNotesXWiki53||anchor="HFacetingandSortingonObjectProperties"]] but the facets were not displayed nicely. We improved the facet display in this release so that the property type is taken into account: e.g. a facet on a date property will be displayed using the date facet (same as for the document creation date or the last modification date). Moreover, you can now configure the facet displayer to use and even create your own facet displayer. See the [[Solr Search Application>>extensions:Extension.Solr Search Application||anchor="HFacetingonObjectProperties"]] for details.
143 +
138 138  == Action API ==
139 139  
140 140  This [[Action API module>>extensions:Extension.Action API]] is the entry point for all UIs and in charge of calling the correct backend code to display what the user has asked for (it's the Controller in MVC terminology).

Get Connected