CARVIEW |
Select Language
HTTP/2 200
date: Mon, 28 Jul 2025 08:04:41 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/DynamoDS/Dynamo.git
etag: W/"fce9cba7a6063609a4a459decb7b657b"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=icf%2Fvw34LybSSJ84rDR3oFZIMP4mF4MS5Ka%2BeSmzYDgD3ag6ILVD%2BKyg%2BKm8vviP5nnFDcxSgJfAPXJgdgBrymq0yaLYA7GEjOv2uuj3SHHvHgLmTMZGyAXvRUcWdssqXhMsGqs6t8tl0PF1GIxuOcL9%2F1AuM4bid7y4QxnUo%2FOOImVmwBMehUnvjeKPUYDLZPosL8ceCHa3cngcNwG0eG98Ksu%2Fw9siBk5DikejPP0xW3Dj1Wi%2BS1mV6OEKNHIN0fxyXU30jcwWdSTkMvXInQ%3D%3D--OMhDYL37WpGu559H--WjRBrh1ssDJ2mQ%2FMEsT9Iw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.2015046490.1753689881; Path=/; Domain=github.com; Expires=Tue, 28 Jul 2026 08:04:41 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 28 Jul 2026 08:04:41 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: BE76:93466:D8DDF2:1175928:68872F19
DYN-6055 Lucene Search Category Based. (#14663) · DynamoDS/Dynamo@eaff9b3 · GitHub
Copy file name to clipboardExpand all lines: src/DynamoCore/Configuration/LuceneConfig.cs
Copy file name to clipboardExpand all lines: src/DynamoCore/Utilities/LuceneSearchUtility.cs
Copy file name to clipboardExpand all lines: test/DynamoCoreWpfTests/SearchSideEffects.cs
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 658
Commit eaff9b3
authored
DYN-6055 Lucene Search Category Based. (#14663)
* DYN-6055 Lucene Search Category Based.
I've updated the Lucene Search in a way that if the user type the "." character then the search will be "category based" (e.g. the search criteria "list.r" will find all the nodes which belong to the list category and the node name starts with r).
For this implementation I've indexed two new fields: NameSplitted and CategorySplitted. For NameSplitted when the node name contains the Category (like List.Shop) then we will be using the last part (after the "." character), the same case for CategorySplitted, we will be using the last part after the "." character.
* DYN-6055 Lucene Search Category Based Code Review
I've added more comments
I've changed the validation for always taking the last two sections (the NameSplitted can be empty due that later there is a validation) so if the search criteria use a large category like "Core.File.FileSystem.A". it will take only the last two sections.
* DYN-6055 Lucene Search Category Based Code Review
Adding a unit test that will validate category search based.1 parent 18d9683 commit eaff9b3Copy full SHA for eaff9b3
File tree
Expand file treeCollapse file tree
3 files changed
+119
-5
lines changedFilter options
- src/DynamoCore
- Configuration
- Utilities
- test/DynamoCoreWpfTests
Expand file treeCollapse file tree
3 files changed
+119
-5
lines changedsrc/DynamoCore/Configuration/LuceneConfig.cs
Copy file name to clipboardExpand all lines: src/DynamoCore/Configuration/LuceneConfig.cs+12Lines changed: 12 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
142 | 142 |
| |
143 | 143 |
| |
144 | 144 |
| |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
145 | 150 |
| |
146 | 151 |
| |
147 | 152 |
| |
148 | 153 |
| |
149 | 154 |
| |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
150 | 160 |
| |
151 | 161 |
| |
152 | 162 |
| |
| |||
182 | 192 |
| |
183 | 193 |
| |
184 | 194 |
| |
| 195 | + | |
185 | 196 |
| |
| 197 | + | |
186 | 198 |
| |
187 | 199 |
| |
188 | 200 |
| |
|
src/DynamoCore/Utilities/LuceneSearchUtility.cs
Copy file name to clipboardExpand all lines: src/DynamoCore/Utilities/LuceneSearchUtility.cs+71-5Lines changed: 71 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
163 | 163 |
| |
164 | 164 |
| |
165 | 165 |
| |
| 166 | + | |
166 | 167 |
| |
| 168 | + | |
167 | 169 |
| |
168 | 170 |
| |
169 | 171 |
| |
| |||
172 | 174 |
| |
173 | 175 |
| |
174 | 176 |
| |
175 |
| - | |
176 | 177 |
| |
| 178 | + | |
| 179 | + | |
| 180 | + | |
177 | 181 |
| |
178 | 182 |
| |
179 | 183 |
| |
| |||
269 | 273 |
| |
270 | 274 |
| |
271 | 275 |
| |
| 276 | + | |
272 | 277 |
| |
273 | 278 |
| |
274 | 279 |
| |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
275 | 300 |
| |
276 | 301 |
| |
277 | 302 |
| |
278 | 303 |
| |
279 | 304 |
| |
280 | 305 |
| |
281 | 306 |
| |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
282 | 316 |
| |
283 | 317 |
| |
284 | 318 |
| |
285 |
| - | |
286 |
| - | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
287 | 329 |
| |
288 |
| - | |
| 330 | + | |
289 | 331 |
| |
290 | 332 |
| |
291 | 333 |
| |
| |||
317 | 359 |
| |
318 | 360 |
| |
319 | 361 |
| |
| 362 | + | |
| 363 | + | |
| 364 | + | |
320 | 365 |
| |
321 |
| - | |
| 366 | + | |
322 | 367 |
| |
323 | 368 |
| |
324 | 369 |
| |
325 | 370 |
| |
326 | 371 |
| |
327 | 372 |
| |
328 | 373 |
| |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
329 | 379 |
| |
330 | 380 |
| |
331 | 381 |
| |
332 | 382 |
| |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
333 | 388 |
| |
334 | 389 |
| |
335 | 390 |
| |
| |||
431 | 486 |
| |
432 | 487 |
| |
433 | 488 |
| |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
434 | 495 |
| |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
435 | 501 |
| |
436 | 502 |
| |
437 | 503 |
| |
|
test/DynamoCoreWpfTests/SearchSideEffects.cs
Copy file name to clipboardExpand all lines: test/DynamoCoreWpfTests/SearchSideEffects.cs+36Lines changed: 36 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
141 | 141 |
| |
142 | 142 |
| |
143 | 143 |
| |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
144 | 180 |
| |
145 | 181 |
| |
146 | 182 |
| |
|
You can’t perform that action at this time.
0 commit comments