1. Before you begin, you must be registered to use Aspire (go to http://aspire.searchtechnologies.com/) if you haven't already done that.
2. You will also need to install MongoDB. See Installing and Configuring MongoDB 3.X for more details.
You must be registered to access the binaries download page. Go to http://aspire.searchtechnologies.com to register.
A pre-built distribution of Aspire can be downloaded from https://wiki.searchtechnologies.com/binaries/
This distribution contains pre-built binaries for a functioning Aspire installation which works for both Windows and Linux.
Once you have downloaded Aspire, do the following:
|
See Launch Control for more details.
> 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:
<!-- noSql database provider for the 3.2 connector framework --> <noSQLConnectionProvider sslEnabled="false" sslInvalidHostNameAllowed="false"> <implementation>com.searchtechnologies.aspire:aspire-mongodb-provider</implementation> <servers>mongodb-host:27017</servers> </noSQLConnecitonProvider>
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:
The "aspire" batch script (on Windows) or shell script (on Unix) can be modified as necessary if you want to assign more memory or need to set other JVM system properties. Example output: Aspire may take a few minutes to load all of the necessary components. You will see feedback to the command prompt during the startup. 3. Use the standard administration interface (http://localhost:50505) to install pre-packaged applications such as connectors and search engine publishers. Go to Admin UI for more details. 4. If you see an error like this: and Aspire exits: 5. Check that you have the correct username and password in the config/settings.xml file. See General Settings for details. For more information on how to start, stop, install as service, see Launch ControlRemoving Felix-Cache and AppBundle-Cache directories
************************************************************************
*
* ASPIRE BOOTLOADER
*
* Bundle id : 10
*
* Location : file:bundles/boot/aspire-bootloader-3.2.jar
*
.
.
.
.
2014-02-04T20:38:43Z INFO [/Workflow]: Installed component: /Workflow/WfManager
2014-02-04T20:38:43Z INFO [aspire]: Successfully started appBundle: /Workflow (location: com.searchtechnologies.aspire:app-workflow-manager)
AUTOSTART: No applications to start
Errors
2014-11-19T10:20:35Z INFO [BOOTLOADER]: Fetching: com.searchtechnologies.aspire:aspire-application:3.2
2014-11-19T10:20:43Z ERROR [BOOTLOADER]: Cannot get file from repository (https://repository.searchtechnologies.com/artifactory/public/) - check the component is properly deployed. File: https://repository.searchtechnologies.com/artifactory/public/com/searchtechnologies/aspire/aspire-application/3.2/aspire-application-3.2.jar
org.apache.maven.wagon.authorization.AuthorizationException: Access denied to: https://repository.searchtechnologies.com/artifactory/public/com/searchtechnologies/aspire/aspire-application/3.2/aspire-application-3.2.jar
at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:119)
at org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116)
at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)
at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)
at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:511)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)
ERROR: Failed to load Aspire application
Shutting down OSGI
More Information
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.
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.