This repository has been archived by the owner on Aug 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 377
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
39 changed files
with
791 additions
and
388 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,12 +49,7 @@ const HintCard = (props) => { | |
<span className={classes.clickableSpan} onTouchTap={() => { performSearchByQuery('tags:ocr,ui-upload') }}> | ||
tags:ocr,ui-upload | ||
</span> - {localization.searchPage.tagsQueryLabel} | ||
</li> | ||
<li> | ||
<span className={classes.clickableSpan} onTouchTap={() => { performSearchByQuery('entities:"[email protected]"') }}> | ||
entities:"[email protected]" | ||
</span> - {localization.searchPage.entitiesQueryLabel} | ||
</li> | ||
</li> | ||
<li> | ||
<span className={classes.clickableSpan} onTouchTap={() => { performSearchByQuery('show:removed') }}> | ||
show:removed | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
# Install docker and docker-compose | ||
|
||
To install and configure Ambar you need an expertise in unix, Docker and Docker Compose. | ||
If you have any difficulties installing and running Ambar you can request a dedicated support session by mailing us on [email protected] | ||
If you have any difficulties installing and running Ambar you can request a dedicated support session by mailing us on [[email protected]](mailto:[email protected]) | ||
|
||
Please refer to official [Docker](https://docs.docker.com/install/) and [Docker Compose](https://docs.docker.com/compose/install/) installation instructions. | ||
Please refer to official [Docker](https://docs.docker.com/install/) and [Docker Compose](https://docs.docker.com/compose/install/) installation instructions. | ||
|
||
To check if everything is installed correctly please run: | ||
|
||
|
@@ -44,11 +44,40 @@ Then modify it: | |
|
||
## Set up your crawlers | ||
|
||
- Find ```crawler0``` block - this is a template for your new crawler | ||
- Replace ```${crawlerName}``` with desired name for your crawler (only lowercase latin letters and dashes are supported) | ||
- Find ````${crawlerName}``` block - this is a template for your new crawler | ||
- Replace ```${crawlerName}``` with desired name for your crawler (only lowercase latin letters and dashes are supported). Check that service block name and crawler name are the same | ||
- Replace ```${pathToCrawl}``` with path to a local folder to be crawled, if you want to crawl SMB or FTP - just mount it with standard unix tools | ||
|
||
You can add additional crawlers by copying ```crawler0``` segment and editing its settings (don't forget to edit the service name, e.g. to ```crawler1```). | ||
### Optional settings | ||
- `ignoreFolders` - ignore fodlers by [glob pattern](https://github.com/isaacs/node-glob#glob-primer) | ||
- `ignoreExtensions` - ignore file extensions by [glob pattern](https://github.com/isaacs/node-glob#glob-primer) (default: .{exe,dll}) | ||
- `ignoreFileNames` - ignore file names by [glob pattern](https://github.com/isaacs/node-glob#glob-primer) (default: ~*) | ||
- `maxFileSize` - max file size (default: 300mb) | ||
|
||
### Crawler configuration example: | ||
``` | ||
Docs: | ||
depends_on: | ||
serviceapi: | ||
condition: service_healthy | ||
image: ambar/ambar-local-crawler | ||
restart: always | ||
networks: | ||
- internal_network | ||
expose: | ||
- "8082" | ||
environment: | ||
- name=Docs | ||
- ignoreFolders=**/ForSharing/** | ||
- ignoreExtensions=.{exe,dll,rar} | ||
- ignoreFileNames=*backup* | ||
- maxFileSize=15mb | ||
volumes: | ||
- /media/Docs:/usr/data | ||
``` | ||
|
||
|
||
You can add more crawlers by copying ```${crawlerName}``` segment and editing its settings (don't forget to edit the service name). | ||
|
||
# Start Ambar | ||
|
||
|
@@ -58,4 +87,4 @@ To start Ambar run ```docker-compose up -d```. | |
|
||
Ambar UI will be accessible on ```http://${ambarHostIpAddress}/``` | ||
|
||
If you have any difficulties installing and running Ambar you can request a dedicated support session by mailing us on [email protected] | ||
If you have any difficulties installing and running Ambar you can request a dedicated support session by mailing us on [[email protected]](mailto:[email protected]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.