8000 GitHub - Intuity/search: Simple search
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Intuity/search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crawler & Search Front-End

Meilisearch Environment Variables

$> export MS_API_URL="http://meilisearch.example.com:7700"
$> export MS_API_KEY="abcdefg12345678"
$> export MS_API_INDEX="docs"

Crawling Documentation

$> cd crawler
$> DOC_PASS=testpwd DOC_HOST="http://docs.example.com" scrapy crawl -L INFO docs

Crawling Phabricator Maniphest

$> cd crawler
$> PHAB_HOST="https://phabricator.example.com" PHAB_USER="user" PHAB_PASS="passwd" scrapy crawl -L INFO phabricator

Resetting Meilisearch Index

NOTE: This will delete all entries from the Meilisearch index and cannot be undone

$> cd crawler
$> PHAB_HOST=... PHAB_USER=... PHAB_PASS=... scrapy crawl -L INFO phabricator -a ms_clear_index=1

Web Interface

The following parameters need to be changed in seach/search.js:

class Search {

    // Meilisearch credentials
    MS_HOST     = "http://meilisearch.example.com:7700";
    MS_API_KEY  = "abcdefg12345678";

    // ...

};

Credits

About

Simple search

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0