You must be registered to access the binaries download page. Go to http://aspire.searchtechnologies.com to register.
> mongo MongoDB shell version: 3.2.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:
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>https://repository.searchtechnologies.com/artifactory/public/</url> <user>YOUR-REGISTERED-USERNAME</user> <password>YOUR-REGISTERED-PASSWORD</password> </remoteRepository> </remoteRepositories> </repository> </repositories> |
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). |
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!
You may also need to edit the settings if you are running MongoDB on a separate machine.
First, make sure you have access to the internet so that Aspire can download components from our Maven repository.
To start Aspire, follow these steps:
> aspire.bat |
Linux
$ aspire.sh |
OS X (this command must be executed from Aspire home directory)
$ 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:
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:
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. |
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:
You can add more schedules by clicking in the Add New option. Note that you can separately schedule full crawls, incremental crawls, and user-group cache (used for group expansion with document-level security) downloads. |
Real Time and Cache Groups crawl will be available depending of the connector. |
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, you will see a box (called a 'card') on the main page which shows your new content source. You can use the buttons in this box to initiate a crawl.
Important: If there are errors, you will get a clickable Error that will take you to a detailed error message page.
Because you are publishing the results to a file, you can see the published jobs in the file you specified when installing the "Publish To File" component. Typically this will be in the "logs" directory, in the "publishToFile.jobs" file (which can be usually be found under the "Publish_To_File" sub-directory).
Congratulations! You have completed the 20-minute quick start.
Or, go to the Aspire console window (where you started Aspire with "bin\startup") and