
28
CONFIGURING AND ADMINISTERING COLDFUSION 10
Using the ColdFusion Administrator
L
ast
u
p
dated
7/9/2
01
2
Before you can access a database with a ColdFusion application, you must do the following:
1
Understand and determine the database driver required to interact with the data source. ColdFusion uses JDBC
database drivers to communicate with data sources.
2
Configure the database as a ColdFusion data source by specifying a driver, adding data source information, and
connecting to a database.
3
Verify the data source.
For more information on adding data sources, see “
Adding data sources
” on page 70.
Solr Server service
The Solr server instance runs as a separate server, which you can start or stop as a service. You can configure your Solr
collection for indexing and search capabilities using ColdFusion Administrator.
Solr collections
You can create Solr collections using ColdFusion Administrator or by using
<cfcollection>
tag.
The ColdFusion Administrator implements Solr support using the following panels in the Data & Services area:
ColdFusion Collections
Once a Solr collection is created, use the Index, Optimize, Purge, or Delete Actions under the
Solr Collection area at the bottom of the panel.
You can also rename and alias a Solr collection in ColdFusion Administrator. To do this,
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.
Solr Server
Configure the Solr server host name, home directory, and other advance settings using the Solr Server page.
Solr server
You can configure the Solr search service on a local or remote host. For a remote server, you can configure the host
that ColdFusion uses when performing search operations.
Use the Solr Server page to specify the Solr server host name and home directory. You can also configure advance
settings including the admin port, web application name, and buffer limit.
Click Show Advance Settings to add the following details:
•
Solr admin port
•
Solr WebApp
•
Solr Buffer Limit
•
Authentication details
•
If to use an HTTPS connection, and if so the Solr HTTPS port.
You can also configure indexing laguages by providing a language name and suffix.
Migrate collections
To migrate the collection, browse and select the old Solr home and then click Migrate Solr Collections.
For details, see “Solr enhancements in ColdFusion 10” in
Developing Adobe ColdFusion Applications.