An open API service indexing awesome lists of open source software.

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

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 *:*)
```

[![asciicast](https://asciinema.org/a/378012.svg)](https://asciinema.org/a/378012)