Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Go to the "Index fields" tab on the Lucene Settings Administration page.
  2. Add a new field.
  3. Enter the "Field name". This is the name of the field in the index, and does not need to be related to any of the product or category field. The field name can be used by searchers to limit searching to a specific field, for example "description:book" would show products that have the word "book" in the "description" index field.
  4. Select the "Analyser" to be used. "Standard" and "Snowball" are supported.
    1. The Snowball analyser will apply stemming algorithms to the indexed data, allowing for plurals and other word stems to be searched.
    2. The standard analyser simply breaks the search field data in to words, without applying any stemming.
    3. It is recommended to use the Snowball analyser for index fields that contain descriptive text, and the standard analyser for other fields.
  5. Enter the Source of the index field data. You can enter tokens for any fields in the Product or ProductCategory fields, and multiple fields can be included in a single index field.
    1. For Product fields, user use the token [Product.Fieldname], (e.g. [Product.Description]).
    2. For ProductCategory fields, user use the token [ProductCategory.Fieldname], (e.g. [ProductCategory.Notes1]).
    3. To include more than one field, use the + symbol, e.g. [Product.Description]+[Product.Notes1]+[ProductCategory.Notes5]
  6. Enter a field Boost Value. Entering a value of greater than 1 will make the data in the field considered more relevant in search results. A value less than 1 (e.g 0.5) makes the data less relevant.The Boost Value must be greater than zero.
  7. Select if the Field Value should be included in the spell checker. This determines which data is used for Lucene's spell checking database. Generally, you would include descriptive fields in the spell check database, but you would not include fields that contain data such as product codes, as these will pollute the spell checking suggestions.

...