Top
Top
LibraryEASYCommerce Reference ManualSolr
Solr Schema
Restarting Solr
Catalog Left Menu

Solr Schema

To define which columns will be defined in solr log in as admin and navigate to the solr administration page. From there go to the Columns Tab. The solr schema is defined on an application level. All sites in the application will have the same solr schema.

Here there will be a list of every column that is in the KRise application database pertaining to an item. For a column to be defined in solr the left most column has a check box and this must be checked. A type must then be chosen. All the possible types are defined in the solr config file. There are then checkboxes for Index, Required, Stored, and Search Text.

Index: If checked, the value of the field can be used in queries to retrieve matching items.

Required: If checked, instructs Solr to reject any attempts to add an item which does not have a value for this field. ItemNumber should always be included in the solr schema and have Required checked.

Stored: If checked, the actual value of the field can be retrieved by queries.

Search Text: Default column to search against if no column is specified.

When finished click the save button at the bottom of the page. If any changes were made the solr server will need to be restarted for them to take effect.

To use Solr use the Solr Services


Restarting Solr

Log on to the server that has the solr server running. Open the task manager. Find The processed named Jave(™) Platform SE Binary. There may be multiple to more easily find the one for the solr server right click on the header row and click on Command line to check it. This will bring up another column with the command line arguments for the process.

The process we are looking for has the path to the applications solr folder in it. For example C:\EASYProcess\eCommerce_PD\Applications\EASYCommerce\Solr\JRE\Bin\java

Select that process by clicking on it. Then click the End Task button.

To start the solr server up you will need to open the task scheduler. To do this open the start menu and search for “Task Scheduler”. Find the name of the solr server task for the application in the list. Click on it to select it. The click Run in the right hand menu.

The server will now start up. It may take a minute for it to be up and running.


Catalog Left Menu

To choose the columns that are in the catalogs left menu to help filter the search login as admin. Navigate to work with sites. For the site that you want to edit the left menu for click on Solr Facets.

All columns that are defined in solr will be populated. To add a column to the left menu the Active checkbox must be checked. The display name is the name that will appear instead of the column name on the left menu. The order in which they are listed is the order in which they will appear in the menu. Change the order by using the up and down buttons. To delete click on the delete button. To add a picture for the different values in the column click on Attribute Values.

You can manually add a value or have then auto generated from the database. Then you can supply a large and small image. This is only needed for the column that is considered the department for the departments page.


Powered by EASYProcess (© 2019 K-Rise Systems, Inc).