Skip to content
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

DYN-6148 Dynamo Library Lucene Search #14287

Merged
merged 5 commits into from
Aug 24, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using System.Linq;
using System.Text;
using Dynamo.LibraryViewExtensionWebView2.Handlers;
using Dynamo.Models;
using Dynamo.Search;
using Dynamo.Search.SearchElements;
using Newtonsoft.Json;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using System.IO;
using System.Linq;
using System.Reflection;
using Dynamo.Models;
using Dynamo.Search;
using Dynamo.Search.SearchElements;

Expand Down Expand Up @@ -47,8 +48,8 @@ public SearchResultDataProvider(NodeSearchModel model, IconResourceProvider icon
/// <returns></returns>
public override Stream GetResource(string searchText, out string extension)
{
var text = Uri.UnescapeDataString(searchText);
var elements = model.Search(text, 0, null);
var text = Uri.UnescapeDataString(searchText);
QilongTang marked this conversation as resolved.
Show resolved Hide resolved
var elements = model.Search(text, LuceneSearch.LuceneUtilityNodeSearch);
extension = "json";
return GetNodeItemDataStream(elements, true);
}
Expand Down