Sole Server Overview


Populate a Solr collection

Data & Services > ColdFusion Collections

 

After you create a collection, use the Solr Collections section to populate (or index) it, with data from text and binary files, in a directory that you specify. A collection comprises metadata that describes indexed documents. Data from a ColdFusion query can be indexed only by using the ColdFusion cfindex tag.

Populate (index) a collection

  1. In the list of Solr Collections, click the name of the collection or its Index Collection button. The Index Solr Collections page appears.

  1. Review the extensions in the File Extensions field. You can add, edit, or remove extensions for files in the collection.

  2. In the Directory Path field, enter the path to a directory to index. To locate and enter a path, click Browse Server.

  3. To include subdirectories of the specified directory, select the Recursively Index Sub Directories option.

  4. (Optional) In the Return URL field, enter the URL prefix used to display documents found in the search in a browser.

For example, if you index the ColdFusion documentation directory, the directory you index could be:

C:\ColdFusion9\wwwroot\cfdocs

You would enter the return URL as:

http://localhost:8500/cfdocs/

This assumes that you are using the built-in web server on port 8500.

 

  1. Click Submit. ColdFusion populates the collection with data from the specified directory. Then the ColdFusion Collections page appears.

 

To close the page without saving changes, click Cancel.

Rename or create an alias for a Solr collection

 

1.      Click the ColdFusion collection that you need to rename from the ColdFusion Collections page. The Manage Collection page is displayed.

2.      In the Rename Collection section, enter a new name in the New Name for Collection field and click Submit.

3.      To specify an alias for the collection, enter the alias in the Collection Alias field and click Submit.

 

Related topics

·        Configure Solr Server