Search

Index

Revindex Storefront

How search works

Last updated on 2021-01-07 2 mins. to read

The Storefront product search makes use of the DNN internal search indexer to improve query performance and accuracy. Therefore, when you create a new product, it doesn't get indexed immediately until your DNN search scheduler has ran. Certain systems are configured to index the content once a day. You can force the search to re-index immediately by going to the persona bar Settings > Scheduler page and clicking on the Search: Site Crawler task and clicking on the Run Now button or you can configure it to run more frequently.

The following requirements must be met in order to properly index your products:

  1. The Product Detail module definition under Settings > Extensions must support the Searchable interface.
  2. The Product Detail module must be publicly visible by all users.
  3. The Product Detail module must have the Allow Indexing enabled.
  4. The page hosting the Product Detail module must be publicly visible by all users.
  5. The page hosting the Product Detail module must also have the Allow Indexing enabled.
  6. The Product Detail module must have the internal LastContentModifiedOnDate value greater than the last known time when the indexer ran for the Product Detail module. Please note this value is not a visible on screen, however, you can force the system to revisit all products by clicking on the Re-index products button under Configuration > Product search settings.
  7. Individual products must have an internal UpdateDate that is greater than the last known time when the indexer ran for the Product Detail module. Please note this value is not a visible on screen, however, you can force the system to revisit all products by clicking on the Re-index products button under Configuration > Product search settings.

By default, the DNN search indexer will not index any keyword shorter than 4 characters and longer than 50 characters, and may omit certain common words and numbers. You can change this configuration under the Settings > Site Settings (see Search section).

If you are getting errors when the Search: Site Crawler scheduled task runs or you suspect your search is not operating correctly, you can try the following steps to hard reset the search:

  1. Stop the application pool.
  2. Delete the \App_Data\Search folder.
  3. Restart the application pool.
  4. Click the Reindex products button under Configuration > Product search settings.
  5. Force the Search: Site Crawler scheduled task to run immediately under the persona bar Settings > Scheduler.

Comments


Powered by Revindex Wiki