Settings can be configured for Lucene in the CMS through Advanced Settings' → 'Lucene Search Settings'.
Following is a list of the available settings with an explanation of the purpose of each:
Setting | Purpose | ||
---|---|---|---|
Enabled | Turns Lucene on or off. Tick checkbox to use Lucene for the Product Search. | ||
Is Disabled for Product Browse | Tick to disable Lucene when user is browsing products | ||
Perform Partial Word Searches | Instructs the search engine to perform a partial word search. This can be useful if your customers often search for model numbers or product codes. For example, searching for "100" would return any product whose product code starts with "100", such as 100023, 1001112, 100TEST, etc.
| ||
Partial Word Search Type | From the drop down list, select the partial word search type to use. | ||
Enable Product Boost | Tick for the Product.BoostSourceValue to determine the boost value for a product. Boost values are relative based on the range of BoostSourceValues, and are calculated as a value of 1 (no boost) to the maximum product boost. For a detailled explanation of product boosting, see Lucene Relevance Scoring And Boosting; /wiki/spaces/CSS2014R1/pages/17694736. | ||
Maximum Product Boost Value | The highest boost value assigned to a product. This value will be assigned to the product with the highest Product.BoostSourceValue. All other products will be assigned values in the range 1.0 to this value.
| ||
Boost Source Value Minimum Threshold | If a product has a BoostSourceValue less than this value, the product will not be boosted.
| ||
Assign Boost Values by Rank | When selected, boost values assigned to products are done based on the rank of the product's BoostSourceValue, rather than the actual BoostSourceValue Checking this flag assigns boost values evenly from the lowest source value to the highest source value. If not ticked, the magnitude of the source value will impact the weighting of the boost value.
| ||
Product Boost Source Value Daily Calculation Time | Enter a time the product boost source value will be calculated. | ||
Enable Boost Words | Tick to enable the use of boost words. Products can be boosted based on whether their text contains certain values. For example, you might want to boost a certain brand of batteries, giving a boost factor of 2 to any battery containing the word "duracell". This means in a search for batteries, products with the word 'duracell' would be considered more relevant than products without it. You can use also boost words to decrease the relevance of products. For instance, you can apply a boost factor of 0.2 to products containing the word "eveready", which would make those products less relevant. | ||
Negative Boost Condition Codes | Enter any codes for decreased relevance calculations. | ||
Product Boost Source Calculation | You can select to prioritise a boost type: Click through - based on the relative numbers of click throughs for products Times sold - based on the relative numbers of sold quantities Custom - user-defined | ||
Product Boost Source Time Scale | |||
Enable Non-relevance Based Sort | Tick to use non-relevance based sorting of results. | ||
Partial Index Update | Enter the frequency for a partial index update to be done. | ||
Full Index Update | Enter the frequency for a full index update to be done. | ||
Lucene Full Daily Index Start Time | Enter the start time scheduled for the full index. | ||
Regular Expression to Execute Product Code Match | By default, Lucene treats a space as a separator of words or expressions (characters that go together). If your product codes have one or more spaces between characters, e.g., 'CV - 100' and you want them to be searched as a single expression, add the pattern so that Lucene will correctly interpret it as a single code. Here are some helpful symbols: ^ : beginning of expression ( ) : groups multiple characters together [ ] : matches any character in the set a-z A-Z 0-9 : character sets. To include upper and lower case letters in a search, add both sets. + : matches one or more of preceding character \s : whitespace, e.g., space For the example 'CV - 100' (and other codes with this pattern), we would enter the regular expression: ^([a-zA-Z0-9])+(\s-\s) This tells Lucene Search to treat 'one or more aphanumeric characters' followed by a 'space', then a 'dash', then a 'space' as a single search string. (NOTE - There is no need to capture the rest of the expression after the second space.) | ||
Spell Correct Unknown Words Only | "Did you mean" suggestions will only be suggested for words entered by users that do not appear in any product information. This can reduce unwanted "did you mean" suggestions. It is recommended that this flag be turned on. |
...