The following tutorial gets you started with Aspire in 20 minutes or less.
This tutorial is for Aspire 3.2 (Alder).
Make sure that the Aspire version you download matches your tutorial version. The released binaries must match the training versions. |
You'll get an idea of how to install Aspire applications using the System Admin UI (no programming knowledge needed).
To build Aspire distributions from scratch using Maven prototypes and Maven component repositories, see the Aspire Quick Start with Distribution Archetype quick start tutorial.
There are other tutorials for each type of connector application you might want to install; located under the section for each Connector. |
Before you begin, you must be registered to use Aspire (go to http://aspire.searchtechnologies.com/) if you haven't already done that.
This tutorial assumes you have already set up your environment. If not, see the Prerequisites to Connectors and Content Processing. |
Note: This is the best way to evaluate Aspire with or without premium connectors. If you are actually building a distribution, the preferred method is to use the Distribution Archetype, which requires downloading a Maven client.
The download will create a directory structure similar to that described in Directory Structure.
> mongo MongoDB shell version: 3.2.4 connecting to: test > |
If a "NETWORK Failed to connect to 127.0.0.1:27017" error occurs, then it is not running.
Start it by executing:
For Windows:
Open a terminal and CD to your MongoDB installation folder and execute:
C:\Program Files\MongoDB\Server\3.2\bin> mongod |
For Linux:
$ sudo service mongod start |
<repositories> <defaultVersion>3.2</defaultVersion> <repository type="distribution"> <directory>bundles/aspire</directory> </repository> <repository type="maven"> <remoteRepositories> <remoteRepository> <id>stPublic</id> <url>http://repository.searchtechnologies.com/artifactory/public/</url> <user>YOUR-REGISTERED-USERNAME</user> <password>YOUR-REGISTERED-PASSWORD</password> </remoteRepository> </remoteRepositories> </repository> </repositories> |
6. After you've entered your username and password, Save and close the file. Make sure you save it so it remains an .xml file!
7. Modify the following section and point to the server where you installed MongoDB. In this case, MongoDB is running in the host called mongodb-host:
First, make sure you have access to the internet so that Aspire can download components.
To start Aspire, follow these steps:
> aspire.bat |
$ aspire.sh |
$ bin/aspire.sh |
If you are unable to start Aspire and an error occurs, try accessing a URL via the browser and logging in with your registered username/password. For example:
For details on using the Aspire Content Source Management page, please refer to Admin UI Audit Logs.
To specify exactly what File System folder to crawl, we will need to create a new "Content Source".
To create a new content source:
In the General tab in the Content Source Configuration window, specify basic information for the content source:
After selecting a Scheduled, specify the details, if applicable:
In the Connector tab, specify the connection information to crawl the File System folder.
In the Workflow tab, specify the workflow steps for the jobs that come out of the crawl. Drag and drop rules to determine which steps should an item follow after being crawled. These rules could be where to publish the document or transformations needed on the data before sending it to a search engine.
See Workflow for more information.
After completing these steps, click Save and Done and you'll be sent back to the Home page.
You can add more schedules by clicking in the Add New option, and rearrange the order of the schedules. |
If you want to disable the content source just clear the the Enable checkbox. This is useful if the folder will be under maintenance and no crawls are wanted during that period of time. |
Real Time and Cache Groups crawl will be available depending of the connector. |
Now that the content source is set up, the crawl can be initiated.
Important: If there are errors, you will get a clickable Error that will take you to a detailed error message page.
Congratulations!! You have completed the 20-minute quick start. We hope it was a fun experience.
Or, you could go to the Aspire console window (where you started Aspire with "bin\startup") and type shutdown and then press Return or Enter.