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 (Hawthorn). This tutorial will take you through installing Aspire simply to It will give you you install Admin user interfaceThere is another quick start tutorial to learn how to build Aspire distributions from scratch using Maven prototypes and Maven component repositories. Quick Start with Distribution Archetype
Additionally, there are also connector wish ; those are each Connector.
You must be registered to access the binaries download page. Go to How to Access Aspire , to check the Aspire Registration process.
Anchor | ||||
---|---|---|---|---|
|
Code Block | ||
---|---|---|
| ||
> mongo
MongoDB shell version: 4.0.4
connecting to: test
> |
Error
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:
Code Block | ||
---|---|---|
| ||
C:\Program Files\MongoDB\Server\4.0\bin> mongod |
For Linux:
Code Block | ||
---|---|---|
| ||
$ sudo service mongod start |
Anchor | ||||
---|---|---|---|---|
|
This tutorial assumes the user has already set up his environment, if not please refer to Environment Setup
Download and unpack https://wiki.searchtechnologies.com/binaries/. Select the most recent Aspire binary (aspire-distribution-X.X.zip). For purposes of this tutorial, we'll use "aspire-quick-start" as the directory name to which you unpack Aspire.
Note: This is the best way to evaluate Aspire with or without premium connectors. The preferred method if you are actually building a distribution is to use the Distribution Archetype, which requires also downloading a Maven client.
The download will create a directory structure similar to that described in Aspire Directory Structure.
You need to specify a cluster Id, we recommend to replace the
dev in the settings.xml with your unique cluster id
Code Block | ||
---|---|---|
|
<repositories>
<defaultVersion>4.0</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>
| ||||
<!-- By default all Aspire servers start in their own cluster. To make servers work together, set a common
cluster id across multiple instances that are connected to a common zooKeeper instance and database
provider (for example "dev" or "prod") -->
<clusterId>dev</clusterId> |
Tip |
---|
If you encounter Parsing Error: org.xml.sax.SAXParseException: Content is not allowed in prolog This error is caused by the presence of a byte-order mark (BOM) at the start of your XML file. You can see the BOM using "od -c <filename>". Remove the BOM by copying and pasting the entire file contents to a new file in a text editor (since the BOM does not copy to the clipboard). |
You may also need to edit the settings if you are running MongoDB on a separate machine.
Once you've entered your user name and password, save and close the file. Make sure you save it so it remains a .xml file
Also uncomment
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<!-- noSql database provider for the 4.0 connector framework -->
<noSQLConnectionProvider sslEnabled="false" sslInvalidHostNameAllowed="false">
<implementation>com.searchtechnologies.aspire:aspire-mongodb-provider</implementation>
<servers>localhost:27017</servers>
</noSQLConnecitonProvider> |
Excerpt Include | ||||
---|---|---|---|---|
|
Anchor | ||||
---|---|---|---|---|
|
First, make sure you have access to the internet so that Aspire can download components . Next, still in the Aspire directory you created, change to the /bin directory and type "startup" to launch Aspire.
Note that "startup" is a batch script (on Windows) or a shell script (on Unix) that can be modified as necessary if you need more memory or need to set other system properties.
Aspire may take a few seconds to load all of the necessary components. You will see feedback to the command prompt during the startup.
Note |
---|
If you are downloading Aspire Community, ignore the error message about being unable to download the com.searchtechnologies.aspire:aspire-dcm-enterprise component. The aspire-dcm-enterprise component is available only with Enterprise systems (and is used for Distributed Processing). |
from our Maven repository.
To start Aspire, follow these steps:
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 |
Error
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:
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|
Anchor | ||||
---|---|---|---|---|
|
Launch Aspire (if it's not already running). See:
For details on using the Aspire Content Source Management page, please refer to
AspireAnchor | ||||
---|---|---|---|---|
|
new 3 Home click on "" button on "".
Step 7b "" pulldown pulldown pulldown 7c
In the "Connector" 7d
"" This Publishers tab this on the then and 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. |
on the "" button on "" If "" flag
Congratulations! You
Congratulations!!
You
have completed the 20-minute quick start.
Or,
go to the Aspire console window (where you started Aspire with "bin\startup") and
Cheers!
The Aspire Development Team