Creating DEX Search Components

Prerequisites: Before creating Dynamic Execute (DEX) Search components, be sure to configure the ISS indexes.

To create a DEX Search component within a search results page:

  1. Navigate to Site.
  2. In the Site Tree, select a node that will be the parent of the new DEX Search component.
  3. Click the New button on the Edit tab.
  4. Select Component in the drop-down list. The Create New Component dialog displays.

    DEX - Ingeniux Search - Local

  5. Provide a name of the component in the Name field.
  6. Select the appropriate DEX Search Component from the Select Type drop-down list.

    Note: Each DEX search schema has a local and a remote version. The local version assumes that the search service is within the DSS project. The local version of the component is most often used. If the search service is on a server other than the one where the DSS resides, then use the remote version.

  7. Click Create. You've now created the search component that will be included within a search page.

  8. Edit the DEX Search Component that you created. Refer to the following topics for search schema descriptions:
  9. When you have completed changes to the DEX Search Component page, click Save.
  10. Create a new page with your search results page schema.
  11. Locate your search results page in the Site Tree. It should contain a component element that accepts DEX components.

    Section Control: DEX Component

  12. Click Select to pull the DEX search component into the page. The Select a Component dialog displays.
  13. Search for your newly created search component within the dialog and then select it.
  14. Click OK. The Select a Component dialog closes.

    Select DEX Component

  15. Check in the search results page and its DEX search component.

  16. Be sure to configure the appropriate index(es) -- if you have not done so already -- then proceed to the remaining steps on this page.
  17. Publish the search results page and its search component to the DSS site.

  18. Update your site's views to render the XML search results.
  19. Run queries against the search component.

    Note: Lucene begins to create its indexes once a search query has executed. It may take a few minute for index generation to complete. If no new indexing files have been written to this folder, refresh the application pool in IIS. Verify that Lucene has created new indexing files by checking the modified dates of the index files.

Caution: Like all core components that come with the CMS, DEX Search component schemas should never be modified in any way. Also, the latest DEX components must only be updated through the NuGet package process.

This section includes: