CARVIEW |
Select Language
HTTP/2 200
date: Wed, 30 Jul 2025 05:16:40 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/"31e859666b01f87ce9df5f3ddb6d64db"
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=fm8JRaClQKhGS%2Fyjh9ih9W39FadzF8Gd0aUEFPJzBViv2TARiP4Pl15p6%2FhSMb%2BiqaFcsT%2FIdhIsUqlMLp1xIRup6gSFgC7WBfoEyL%2FLmNb08o7S6x7Qt57Xc62qQS%2FO%2B3sVzZSZwY6T33wZx7uhcJLU4KXQGOf7eYpRTnqUXtc8KoJS0f6IxdwkO0aZdV2nPN1lXeSGjgm0io2ereP%2BZ6PkVKTXeDjd9VdgUQc3Ug%2Fcg2zF%2FG8w9RA%2Fc1qw4hknwxjjilq%2B5xwO9%2FltOc9O2Q%3D%3D--JwvIVaMmwuXnAGB3--3kOmJ%2FcfxfbBmRIOX5c7Yw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1623357780.1753852599; Path=/; Domain=github.com; Expires=Thu, 30 Jul 2026 05:16:39 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 30 Jul 2026 05:16:39 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: B20A:CFDB0:311F99:436D9C:6889AAB7
DYN-5806 lucene node autocomplete (#14169) · DynamoDS/Dynamo@380bd8e · GitHub
Copy file name to clipboardExpand all lines: src/DynamoCore/Utilities/LuceneSearchUtility.cs
Copy file name to clipboardExpand all lines: src/DynamoCoreWpf/ViewModels/Search/NodeAutoCompleteSearchViewModel.cs
Copy file name to clipboardExpand all lines: src/DynamoCoreWpf/ViewModels/Search/SearchViewModel.cs
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 659
Commit 380bd8e
authored
DYN-5806 lucene node autocomplete (#14169)
* DYN-5806 Lucene NodeAutocomplete
Added functionality for enabling the use of Lucene Search in node autocomplete, also I've modified the LuceneSearchUtility class for supporting in-memory indexing.
* DYN-5806-Lucene-NodeAutocomplete
Changes for indexing (in memory RAMDirectory) a subset of nodes every time that the node autocomplete search functionality is executed so the search will be executed using only the subset of nodes indexed (and not over all the 3000 nodes).
* DYN-5806-Lucene-NodeAutocomplete Code Review
Adding brackets in else statement and removing the Distinct() due that all the nodes should be different then there is no need to use this function
* DYN-5806-Lucene-NodeAutocomplete Code Review 2
Rolling back the code for SearchViewModel.Search() due that tests are using this method (Lucene indexing is not done when tests are executed - IsTestMode = true).
Also I've modified the part in which Node Autocomplete is initialized so it will calling the Lucene search to initialize the results.
* DYN-5806-Lucene-NodeAutocomplete Code Review 2
Removing unnecessary Distinct()
* DYN-5806-Lucene-NodeAutocomplete Regressions
Trying to fix regressions generated when trying to initialize NodeAutocomplete with Lucene Search.
* DYN-5806-Lucene-NodeAutocomplete Regressions
I've added an extra validation for checking if the StorageType is RAMDirectory or FSDirectory otherwise it won't do things like create the indexWriter or get a new Lucene Document (due that previously were skipped if IsTestMode is True).
* DYN-5806-Lucene-NodeAutocomplete Regressions
Fixing comment
* DYN-5806-Lucene-NodeAutocomplete Regressions
re-triggering pullRequestValidation job1 parent d5c6bfd commit 380bd8eCopy full SHA for 380bd8e
File tree
Expand file treeCollapse file tree
3 files changed
+134
-16
lines changedFilter options
- src
- DynamoCoreWpf/ViewModels/Search
- DynamoCore/Utilities
Expand file treeCollapse file tree
3 files changed
+134
-16
lines changedsrc/DynamoCore/Utilities/LuceneSearchUtility.cs
Copy file name to clipboardExpand all lines: src/DynamoCore/Utilities/LuceneSearchUtility.cs+32-11Lines changed: 32 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
24 | 34 |
| |
25 | 35 |
| |
26 | 36 |
| |
| |||
36 | 46 |
| |
37 | 47 |
| |
38 | 48 |
| |
39 |
| - | |
| 49 | + | |
40 | 50 |
| |
41 | 51 |
| |
42 | 52 |
| |
43 |
| - | |
| 53 | + | |
44 | 54 |
| |
45 |
| - | |
| 55 | + | |
46 | 56 |
| |
47 | 57 |
| |
48 |
| - | |
49 |
| - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
50 | 71 |
| |
51 | 72 |
| |
52 | 73 |
| |
53 | 74 |
| |
54 |
| - | |
55 |
| - | |
| 75 | + | |
| 76 | + | |
56 | 77 |
| |
57 | 78 |
| |
58 | 79 |
| |
| |||
77 | 98 |
| |
78 | 99 |
| |
79 | 100 |
| |
80 |
| - | |
| 101 | + | |
81 | 102 |
| |
82 | 103 |
| |
83 | 104 |
| |
| |||
153 | 174 |
| |
154 | 175 |
| |
155 | 176 |
| |
156 |
| - | |
| 177 | + | |
157 | 178 |
| |
158 | 179 |
| |
159 | 180 |
| |
| |||
248 | 269 |
| |
249 | 270 |
| |
250 | 271 |
| |
251 |
| - | |
| 272 | + | |
252 | 273 |
| |
253 | 274 |
| |
254 | 275 |
| |
| |||
257 | 278 |
| |
258 | 279 |
| |
259 | 280 |
| |
260 |
| - | |
| 281 | + | |
261 | 282 |
| |
262 | 283 |
| |
263 | 284 |
| |
|
src/DynamoCoreWpf/ViewModels/Search/NodeAutoCompleteSearchViewModel.cs
Copy file name to clipboardExpand all lines: src/DynamoCoreWpf/ViewModels/Search/NodeAutoCompleteSearchViewModel.cs+100-3Lines changed: 100 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
| 21 | + | |
| 22 | + | |
| 23 | + | |
21 | 24 |
| |
22 | 25 |
| |
23 | 26 |
| |
| |||
39 | 42 |
| |
40 | 43 |
| |
41 | 44 |
| |
| 45 | + | |
| 46 | + | |
| 47 | + | |
42 | 48 |
| |
43 | 49 |
| |
44 | 50 |
| |
| |||
602 | 608 |
| |
603 | 609 |
| |
604 | 610 |
| |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
605 | 666 |
| |
606 | 667 |
| |
607 | 668 |
| |
| |||
617 | 678 |
| |
618 | 679 |
| |
619 | 680 |
| |
620 |
| - | |
621 |
| - | |
622 |
| - | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
623 | 700 |
| |
624 | 701 |
| |
625 | 702 |
| |
| |||
635 | 712 |
| |
636 | 713 |
| |
637 | 714 |
| |
| 715 | + | |
| 716 | + | |
638 | 717 |
| |
639 | 718 |
| |
640 | 719 |
| |
641 | 720 |
| |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
642 | 739 |
| |
643 | 740 |
| |
644 | 741 |
| |
|
src/DynamoCoreWpf/ViewModels/Search/SearchViewModel.cs
Copy file name to clipboardExpand all lines: src/DynamoCoreWpf/ViewModels/Search/SearchViewModel.cs+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
995 | 995 |
| |
996 | 996 |
| |
997 | 997 |
| |
998 |
| - | |
| 998 | + | |
999 | 999 |
| |
1000 | 1000 |
| |
1001 | 1001 |
| |
| |||
1034 | 1034 |
| |
1035 | 1035 |
| |
1036 | 1036 |
| |
1037 |
| - | |
| 1037 | + | |
1038 | 1038 |
| |
1039 | 1039 |
| |
1040 | 1040 |
| |
|
You can’t perform that action at this time.
0 commit comments