Create and Configure Indexed Types
Learn how to create and configure Indexed Type by defining its properties and queries.
Each item in Solr has a certain type. There is a specific number of types coming with the solrfacetsearch extension. However, you can also add new Solr item type. By adding the new types, you can define your own set of items that can be searched by the SolrFacetSearch service.
Add Solr Indexed Types
Procedure
Defining Properties for Indexed Types
You can codify your indexed types using properties.
Context
You have already created an indexed type and you want to define it further by adding additional settings.
Procedure
Results
Define Queries for an Indexed Type
Context
The Indexer Configuration section of the Indexed Types tab provides you with a wizard to create the indexer queries.
Procedure
Additional Settings for Indexed Types
Search Query Templates
The search query templates introduce numerous customization options for getting improved search results for the customers. When creating the templates you can use various attributes, such as page size, grouping or sorting with respect to various channels, or even storefront parts. For details on creating and managing search query templates see Search Query Templates.
Others
-
Identity provider: Identity provider for the item type
-
Model loader
-
Model fields values provider: Sets fields values provider that depends on this type rather than on particular properties.
-
Default property value provider
-
Result converter: Result converter (spring bean id) needed to convert Solr result data into a simple data object that could be used to display indexed type (i.e. product) data directly on the front end
Advanced Configuration
In the Advanced Configuration section you can define additional parameters for an indexed type, such a shard configuration. The number of shards and replication factor can be configured per facetsearchconfig, in which case all the Indexed Types related to it will use the same configuration. For details on configuring the facetsearchconfig item see: Define Search and Indexer Configuration.
However, it is possible to override the configuration for an individual Indexed Type using the Advanced Configuration section.


button at the top of the editor.