https://github.com/atomotic/solredit
terminal ui to search documents from a solr core, filter results, preview and edit a single document
https://github.com/atomotic/solredit
fzf solr
Last synced: 3 days ago
JSON representation
terminal ui to search documents from a solr core, filter results, preview and edit a single document
- Host: GitHub
- URL: https://github.com/atomotic/solredit
- Owner: atomotic
- Created: 2020-12-08T09:03:34.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-22T13:57:39.000Z (over 5 years ago)
- Last Synced: 2025-02-23T14:17:45.170Z (over 1 year ago)
- Topics: fzf, solr
- Language: Shell
- Homepage:
- Size: 1.95 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# solredit
a dirty hack of tools to search documents from a solr core, filter results, preview and edit a single document.
### requirements
[solrdump](https://github.com/ubleipzig/solrdump), [jq](https://github.com/stedolan/jq), [fzf](https://github.com/junegunn/fzf), [curl](https://curl.se/)
```
apt install jq fzf curl
go get github.com/ubleipzig/solrdump/...
```
### configuration
tweak env in .envrc (use [direnv](https://direnv.net/))
```
export SOLR=http://localhost:8983/solr/core
export FIELD=title
export FZF_DEFAULT_OPTS="--info inline --layout=reverse --border"
```
### usage
```
./solredit (solr query, default to *:*)
```
[](https://asciinema.org/a/378012)