https://github.com/mlibrary/mlibrary_search_parser
Parser for "command-line" boolean searches, for eventual transformation into solr queryies
https://github.com/mlibrary/mlibrary_search_parser
Last synced: over 1 year ago
JSON representation
Parser for "command-line" boolean searches, for eventual transformation into solr queryies
- Host: GitHub
- URL: https://github.com/mlibrary/mlibrary_search_parser
- Owner: mlibrary
- License: mit
- Created: 2020-06-15T18:53:23.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2023-04-25T17:58:56.000Z (about 3 years ago)
- Last Synced: 2025-02-06T22:26:06.139Z (over 1 year ago)
- Language: Ruby
- Size: 240 KB
- Stars: 0
- Watchers: 22
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# MlibrarySearchParser
This is rough draft stuff, put in Github for backup more than
anything else.
```
s = MLibraryParser::Search.new("my search string", config_hash)
query_object = s.solr_json_edismax
solr_params = query_object.params
json_payload = query_object.payload.to_json
```