The 'Tools' tab of the 'Lucene Search Settings' Administration page allows the site administrator to perform tests on the search engine.

Functions

Enter a search term and click the "Search" button.

The search engine will perform a search on the search term, and a search on the "did you mean" suggestion if one exists.

The result of the search term is displayed with timings.

If there is a "did you mean" suggestion, it will be displayed.

Note that this search result shows data directly from the Lucene search index, and not from the product database table.

If "Include explanations" is checked, the search results can be expanded by clicking on the chevron in the first column, and the explanation of the score can be examined. For more information on scoring, see Lucene Relevance Scoring and Boosting

Single Search

Enter a search term and click the "Single" button.

The search engine will perform a search on the search term as above, but not perform the search on the "did you mean" suggestion.

"Did you mean" search

Enter a search term and click the "Did you mean" button.

The search engine will perform a search on the "Did you mean" suggestion only. If one does not exists, the standard search result is displayed.

Stock Security Search

You can test the search result with stock security applied by entering a search term, the customer code to be used for the stock security restrictions, and clicking the "Search (Stock Security)" button next to the Customer Code text box.

This will perform a Lucene Search as above and display the Lucene search results.

A second grid below the Lucene search results will show products from the product table after the Lucene search results have has stock security applied. This is the same list of products an end use would see if they were logged in to the web site under that account and performed a product search.

Timings for both the Lucene search and the Stock Security search are displayed.

Category Browse

You can test the results of a product category search (or browse) by entering the category code and clicking "Browse".


Related help