-
-
Notifications
You must be signed in to change notification settings - Fork 6
facet search #441
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
facet search #441
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,54 @@ | ||
|
|
||
| { | ||
| "$schema": "https://aka.ms/codetour-schema", | ||
| "title": "Facet.Search", | ||
| "steps": | ||
| [ | ||
| { | ||
| "file": "rscg_examples/Facet.Search/src/SearchDemo/SearchDemo.csproj", | ||
| "description": "First, we add Nuget [Facet.Search](https://www.nuget.org/packages/Facet.Search/) in csproj ", | ||
| "pattern": "Facet.Search" | ||
| } | ||
|
|
||
| ,{ | ||
| "file": "rscg_examples/Facet.Search/src/SearchDemo/Person.cs", | ||
| "description": "File Person.cs ", | ||
| "pattern": "this is the code" | ||
| } | ||
|
|
||
| ,{ | ||
| "file": "rscg_examples/Facet.Search/src/SearchDemo/Program.cs", | ||
| "description": "File Program.cs \r\n>> dotnet run --project rscg_examples/Facet.Search/src/SearchDemo/SearchDemo.csproj ", | ||
| "pattern": "this is the code" | ||
| } | ||
|
|
||
|
|
||
| ,{ | ||
| "file": "rscg_examples/Facet.Search/src/SearchDemo/obj/GX/Facet.Search.Generators/Facet.Search.Generators.FacetSearchGenerator/PersonSearchMetadata.g.cs", | ||
| "description": "Generated File 4 from 4 : PersonSearchMetadata.g.cs ", | ||
| "line": 1 | ||
| } | ||
|
|
||
| ,{ | ||
| "file": "rscg_examples/Facet.Search/src/SearchDemo/obj/GX/Facet.Search.Generators/Facet.Search.Generators.FacetSearchGenerator/PersonSearchFilter.g.cs", | ||
| "description": "Generated File 3 from 4 : PersonSearchFilter.g.cs ", | ||
| "line": 1 | ||
| } | ||
|
|
||
| ,{ | ||
| "file": "rscg_examples/Facet.Search/src/SearchDemo/obj/GX/Facet.Search.Generators/Facet.Search.Generators.FacetSearchGenerator/PersonSearchExtensions.g.cs", | ||
| "description": "Generated File 2 from 4 : PersonSearchExtensions.g.cs ", | ||
| "line": 1 | ||
| } | ||
|
|
||
| ,{ | ||
| "file": "rscg_examples/Facet.Search/src/SearchDemo/obj/GX/Facet.Search.Generators/Facet.Search.Generators.FacetSearchGenerator/PersonFacetAggregations.g.cs", | ||
| "description": "Generated File 1 from 4 : PersonFacetAggregations.g.cs ", | ||
| "line": 1 | ||
| } | ||
|
|
||
| ], | ||
|
|
||
| "ref": "main" | ||
|
|
||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,74 @@ | ||
|
|
||
| <h1>RSCG nr 250 : Facet.Search</h1> | ||
|
|
||
| <h2>Info</h2> | ||
| Nuget : <a href="https://www.nuget.org/packages/Facet.Search/" target="_blank">https://www.nuget.org/packages/Facet.Search/</a> | ||
|
|
||
| <p>You can find more details at : <a href="https://github.com/Tim-Maes/Facet.Search" target="_blank"> https://github.com/Tim-Maes/Facet.Search</a></p> | ||
|
|
||
| <p>Author :Tim Maes</p> | ||
|
|
||
| <p>Source: <a href="https://github.com/Tim-Maes/Facet.Search" target="_blank">https://github.com/Tim-Maes/Facet.Search</a> </p> | ||
|
|
||
| <h2>About</h2> | ||
|
|
||
| Generating search from C# clasess and propertiesIntegrating search in .NET applications | ||
|
|
||
| <h2> | ||
| How to use | ||
| </h2> | ||
| <h3> | ||
| Add reference to the <a href="https://www.nuget.org/packages/Facet.Search/" target="_blank">Facet.Search</a> in the csproj | ||
| </h3> | ||
| <img src="images/Facet.Search/SearchDemo.csproj.png" width="580" height="580" /> | ||
|
|
||
| <h3>This was for me the <b>starting</b> code</h3> | ||
|
|
||
| <br /> | ||
| I have <b>coded</b> the file Program.cs | ||
| <br /> | ||
| <img src="images/Facet.Search/csFiles/Program.cs.png" width="580" height="580" /> | ||
| <hr /> | ||
|
|
||
| <br /> | ||
| I have <b>coded</b> the file Person.cs | ||
| <br /> | ||
| <img src="images/Facet.Search/csFiles/Person.cs.png" width="580" height="580" /> | ||
| <hr /> | ||
| <h3>And here are the <i>generated</i> files</h3> | ||
|
|
||
| <br /> | ||
| The file <i>generated</i> is PersonFacetAggregations.g.cs | ||
| <br /> | ||
| <img src="images/Facet.Search/generated/PersonFacetAggregations.g.cs.png" width="580" height="580" /> | ||
|
|
||
| <br /> | ||
| The file <i>generated</i> is PersonSearchExtensions.g.cs | ||
| <br /> | ||
| <img src="images/Facet.Search/generated/PersonSearchExtensions.g.cs.png" width="580" height="580" /> | ||
|
|
||
| <br /> | ||
| The file <i>generated</i> is PersonSearchFilter.g.cs | ||
| <br /> | ||
| <img src="images/Facet.Search/generated/PersonSearchFilter.g.cs.png" width="580" height="580" /> | ||
|
|
||
| <br /> | ||
| The file <i>generated</i> is PersonSearchMetadata.g.cs | ||
| <br /> | ||
| <img src="images/Facet.Search/generated/PersonSearchMetadata.g.cs.png" width="580" height="580" /> | ||
|
|
||
| <p> | ||
| You can download the code and this page as pdf from | ||
| <a target="_blank" href='https://ignatandrei.github.io/RSCG_Examples/v2/docs/Facet.Search'> | ||
| https://ignatandrei.github.io/RSCG_Examples/v2/docs/Facet.Search | ||
| </a> | ||
| </p> | ||
|
|
||
|
|
||
| <p> | ||
| You can see the whole list at | ||
| <a target="_blank" href='https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG'> | ||
| https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG | ||
| </a> | ||
| </p> | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,22 @@ | ||||||
| { | ||||||
| "generator":{ | ||||||
| "name":"Facet.Search", | ||||||
| "nuget":[ | ||||||
| "https://www.nuget.org/packages/Facet.Search/" | ||||||
| ], | ||||||
| "link":"https://github.com/Tim-Maes/Facet.Search", | ||||||
| "author":"Tim Maes", | ||||||
| "source":"https://github.com/Tim-Maes/Facet.Search" | ||||||
| }, | ||||||
| "data":{ | ||||||
| "goodFor":["Generating search from C# clasess and properties","Integrating search in .NET applications"], | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix typo: "clasess" → "classes". There's a typo in the 🔎 Proposed fix- "goodFor":["Generating search from C# clasess and properties","Integrating search in .NET applications"],
+ "goodFor":["Generating search from C# classes and properties","Integrating search in .NET applications"],📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||
| "csprojDemo":"SearchDemo.csproj", | ||||||
| "csFiles":["Program.cs","Person.cs"], | ||||||
| "excludeDirectoryGenerated":[""], | ||||||
| "includeAdditionalFiles":[""] | ||||||
| }, | ||||||
| "links":{ | ||||||
| "blog":"", | ||||||
| "video":"" | ||||||
| } | ||||||
| } | ||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Compile-time faceted search generation - attributes and source generators |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix typo: "clasess" → "classes".
🔎 Proposed fix
📝 Committable suggestion
🤖 Prompt for AI Agents