{"id":24374934,"url":"https://github.com/gabisonia/lucenesearchexample","last_synced_at":"2025-10-07T20:54:51.548Z","repository":{"id":143112730,"uuid":"107186104","full_name":"gabisonia/LuceneSearchExample","owner":"gabisonia","description":"Lucene.Net Search Example on .Net Core","archived":false,"fork":false,"pushed_at":"2024-09-16T06:22:23.000Z","size":12,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-10T19:50:45.738Z","etag":null,"topics":["documentsearch","lucene","lucene-net","netcore","search"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gabisonia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-10-16T21:41:03.000Z","updated_at":"2024-09-16T06:22:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"5f1aa370-a9e1-4920-b437-ee9a4961e012","html_url":"https://github.com/gabisonia/LuceneSearchExample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gabisonia/LuceneSearchExample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabisonia%2FLuceneSearchExample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabisonia%2FLuceneSearchExample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabisonia%2FLuceneSearchExample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabisonia%2FLuceneSearchExample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gabisonia","download_url":"https://codeload.github.com/gabisonia/LuceneSearchExample/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabisonia%2FLuceneSearchExample/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278846350,"owners_count":26056090,"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-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["documentsearch","lucene","lucene-net","netcore","search"],"created_at":"2025-01-19T05:52:33.960Z","updated_at":"2025-10-07T20:54:51.536Z","avatar_url":"https://github.com/gabisonia.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LuceneSearchExample\n\nA refreshed Lucene.Net sample targeting .NET 8.0. The console app demonstrates how to build and query a Lucene index, while the integration tests exercise the flow end-to-end using Testcontainers and PostgreSQL.\n\n## Requirements\n\n- .NET 8 SDK (see `global.json`)\n- Docker (required for the Testcontainers-powered integration tests)\n\n## Getting Started\n\n```bash\n# Restore dependencies\ndotnet restore\n\n# Run the console sample\nDOTNET_ENVIRONMENT=Development dotnet run --project src/LuceneSearchExample.App\n```\n\nThe console application writes the temporary Lucene index location to stdout and prints matching users for a sample query.\n\n## Testing\n\nThe integration tests spin up a PostgreSQL container, pull sample users into the Lucene index, and assert the expected match.\n\n```bash\ndotnet test\n```\n\nIf Docker is not available, either skip the tests or mark the `SearchServiceIntegrationTests` class with your preferred test trait filter.\n\n## Project Layout\n\n- `src/LuceneSearchExample.App` – Console host that drives the demo workflow.\n- `src/LuceneSearchExample.Search` – Reusable library that wraps Lucene.Net index creation and querying.\n- `tests/LuceneSearchExample.IntegrationTests` – xUnit-based tests using Testcontainers and PostgreSQL for realistic data setup.\n\n## Additional Resources\n\n- [Lucene.Net Documentation](https://lucenenet.apache.org/)\n- [Testcontainers for .NET](https://dotnet.testcontainers.org/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabisonia%2Flucenesearchexample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgabisonia%2Flucenesearchexample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabisonia%2Flucenesearchexample/lists"}