title | authors | |
---|---|---|
Command line interface (CLI) |
|
Administration of Open Semantic Search via command line interface (CLI):
Command line interfaces for managing tasks:
opensemanticsearch-index-file filename
opensemanticsearch-index-dir directoryname
Index changed files in realtime (no expensive recrawl needed):
opensemanticsearch-filemonitoring filename
Or monitor and index all new and changed files in a directory recursively (including subdirectories):
opensemanticsearch-filemonitoring directorynamename
If you installed the module opensemanticsearch-trigger-filemonitoring-daemon
it will start automatically while booting and monitor all directories and files set in the config file /etc/opensemanticsearch/filemonitoring
.
Index full feed from RSS (download and index all articles linked in a RSS-Newsfeed).
opensemanticsearch-index-rss http://www.opensemanticsearch.org/feed
The delete tool will only delete data in the index once, so after new indexing or recrawl the deleted documents will be indexed again.
If you want to exclude documents from indexing, you should use blacklisting instead.
opensemanticsearch-delete http://www.opensemanticsearch.org/
opensemanticsearch-delete file:///directory/file
Empty the index to get a new or empty index without indexed documents:
opensemanticsearch-delete --empty
If you installed the Debian or Ubuntu packages, the services are started while booting automatically.
They can be controlled via the linux command service:
Start:
service solr start
Stop:
service solr stop