{"id":15107728,"url":"https://github.com/jmari/solar","last_synced_at":"2025-07-22T10:06:28.094Z","repository":{"id":73680908,"uuid":"103782894","full_name":"jmari/Solar","owner":"jmari","description":"an Apache Solr client API for Smalltalk","archived":false,"fork":false,"pushed_at":"2021-06-25T09:22:26.000Z","size":172,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T15:39:48.130Z","etag":null,"topics":["pharo","pharo-smalltalk","smalltalk","solr","text-mining"],"latest_commit_sha":null,"homepage":"","language":"Smalltalk","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jmari.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-16T20:48:17.000Z","updated_at":"2024-06-23T15:29:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"573ff8cd-00df-4044-bc7f-c911153411aa","html_url":"https://github.com/jmari/Solar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jmari/Solar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmari%2FSolar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmari%2FSolar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmari%2FSolar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmari%2FSolar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jmari","download_url":"https://codeload.github.com/jmari/Solar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmari%2FSolar/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266473027,"owners_count":23934475,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pharo","pharo-smalltalk","smalltalk","solr","text-mining"],"created_at":"2024-09-25T21:41:15.096Z","updated_at":"2025-07-22T10:06:27.889Z","avatar_url":"https://github.com/jmari.png","language":"Smalltalk","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Solar\nan Apache Solr client API for Smalltalk. This work is in progress but you can perform queries, faceting, highlighting and spellchecking queries, admin cores and collections.\n\n### install Solar\n```Smalltalk\nMetacello new \n\tbaseline: 'Solar';\n\trepository: 'github://jmari/Solar';\n\tload:'all'\n```\n\nSome examples:\n\n### Solar query example\n```Smalltalk\n\t|solr|\t\n\tsolr := ASolarClient host: '172.16.208.136' port:8983 username:'admin' password:'admin'.\n\tsolr \n\t\tcore:'techproducts';\n\t\tedismaxQuery:[:query|\n\t\t\t\tquery \n\t\t\t\t\tq: { \n\t\t\t\t\t\t\t{ \t#complexphrase.\n\t\t\t\t\t\t\t \t#inOrder-\u003etrue}.\n\t\t\t\t\t\t\t#name -\u003e '\"(john jon jonathan~) peters*\"'.\n\t\t\t\t\t \t} ];\n\t\t\tcallback:[:r| r inspect].\n    \n```\n### Solar faceting query\n```Smalltalk\n\t|solr|\t\n\tsolr := ASolarClient host: '172.16.208.136' port:8983 username:'admin' password:'admin'.\n\tsolr \n\t\tcore:'techproducts';\n\t\tdismaxQuery:[:query|\n\t\t\tquery\n\t\t\t\tq:'*'; \n\t\t\t\tfacet:[:f|\n\t\t\t\t\tf  field:'manu';\n\t\t \t\t\t\tquery: #price-\u003e('*' TO:100);\n\t\t\t\t\t\tquery: #price-\u003e(100 TO:200);\n\t\t\t\t\t\tquery: #price-\u003e(200 TO:300);\n\t\t\t\t\t\tquery: #price-\u003e(300 TO:400);\n\t\t\t\t\t\tquery: #price-\u003e(400 TO:500);\n\t\t\t\t\t\tquery: #price-\u003e(500 TO:'*')]];\n\t\t\tcallback:[:r| r inspect].\t\n    \n```\nMore examples in the test package\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmari%2Fsolar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmari%2Fsolar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmari%2Fsolar/lists"}