Follow this link if you are using ---> Aspire for Elasticsearch <---
The following tutorial gets you started with Aspire in 20 minutes or less.
This tutorial is for Aspire 3 (Alder).
You'll get an idea of how to install Aspire applications using the System Admin UI (no programming knowledge needed).
See another quick start tutorial for how to 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 also other tutorials for each type of connector application you might wish want to install; those are located under the section for each Connector.
Anchor | ||||
---|---|---|---|---|
|
Before you begin, you need to must be registered to use Aspire (go to http://aspire.searchtechnologies.com/) if you haven't already done that.
Note |
---|
This tutorial assumes the user has you have already set up his your environment. If not, see the Prerequisites. |
Anchor | ||||
---|---|---|---|---|
|
Note: This is the best way to evaluate Aspire with or without premium connectors.
The preferred method ifIf you are actually building a distribution, the preferred method is to use the Distribution Archetype, which requires
alsodownloading a Maven client.
The download will create a directory structure similar to that described in Directory Structure.
Anchor | ||||
---|---|---|---|---|
|
Code Block | ||
---|---|---|
| ||
> 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
means itis not running
, start.
Start it by executing either:
Open a terminal and CD to your MongoDB installation folder and execute:
Code Block | ||
---|---|---|
| ||
C:\Program Files\MongoDB\Server\3.2\bin> mongod |
Code Block | ||
---|---|---|
| ||
$ sudo service mongod start |
Anchor | ||||
---|---|---|---|---|
|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<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
user nameusername and password, Save and close the file. Make sure you save it so it remains an .xml file!
Also modify7. Modify the following section and point to the server where you installed MongoDB
, in. In this case we have MongoDB running in the host called mongodb-host:
Excerpt Include | ||||
---|---|---|---|---|
|
Anchor | ||||
---|---|---|---|---|
|
First, make sure you have access to the internet so that Aspire can download components.
To start Aspire, follow these steps:
Windows
Code Block | ||
---|---|---|
| ||
> aspire.bat |
Linux
Code Block | ||
---|---|---|
| ||
$ aspire.sh |
OS X (this command must be executed from Aspire home directory)
Code Block | ||
---|---|---|
| ||
$ bin/aspire.sh |
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|
Anchor | ||||
---|---|---|---|---|
|
For details on using the Aspire Content Source Management page, please refer to Admin UI Audit Logs.
Anchor | ||||
---|---|---|---|---|
|
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. This 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 this steps click on the Save then Done and you'll be sent back to the Home Page.
Info |
---|
You can add more schedules by clicking in the Add New option, and rearrange the order of the schedules. |
Info |
---|
If you want to disable the content source just unselect the the "Enable" checkbox. This is useful if the folder will be under maintenance and no crawls are wanted during that period of time. |
Note |
---|
Real Time and Cache Groups crawl will be available depending of the connector. |
Anchor | ||||
---|---|---|---|---|
|
Now that the content source is set up, the crawl can be initiated.
The status will show RUNNING while the crawl is going, and CRAWLED when it is finished.
If there are errors, you will get a clickable "Error" flag that will take you to a detailed error message page.
Congratulations!!
You 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
" andand then
press thepress Return or Enter
key. Either way will shut down Aspire.Cheers!
The Aspire Development Team.