Skip to content

Conversation

@reddyashish
Copy link
Contributor

@reddyashish reddyashish commented Aug 10, 2023

Purpose

This PR adds a LuceneSearch singleton class that will have access to the 3 LuceneSearchUtilities used in Dynamo.

  1. LuceneSearchUtility - used for all Dynamo nodes, where indexing is either in file system or RAM(for unit tests)
  2. LuceneUtilityNodeAutocomplete - used for the node autocomplete nodes(RAM based)
  3. LuceneUtilityPackageManager - used for Packages, where indexing is in file system.

This should be merged after #14214. Once it is merged, this PR will have some conflicts.

Declarations

Check these if you believe they are true

  • The codebase is in a better state after this PR
  • Is documented according to the standards
  • The level of testing this PR includes is appropriate
  • User facing strings, if any, are extracted into *.resx files
  • All tests pass using the self-service CI.
  • Snapshot of UI changes, if any.
  • Changes to the API follow Semantic Versioning and are documented in the API Changes document.
  • This PR modifies some build requirements and the readme is updated
  • This PR contains no files larger than 50 MB

Release Notes

(FILL ME IN) Brief description of the fix / enhancement. Mandatory section

Reviewers

@QilongTang @RobertGlobant20

FYIs

@DynamoDS/dynamo

Copy link
Contributor

@RobertGlobant20 RobertGlobant20 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with 2 comments and one minor refactoring change.

@reddyashish reddyashish mentioned this pull request Aug 11, 2023
9 tasks
@QilongTang QilongTang added this to the 3.0 milestone Aug 14, 2023
@RobertGlobant20
Copy link
Contributor

@QilongTang @reddyashish
We need to solve one conflict in the PackageManagerSearchViewModel.cs file but I don't have permissions

@QilongTang
Copy link
Contributor

@RobertGlobant20 Addressed the merge conflict

Copy link
Contributor

@RobertGlobant20 RobertGlobant20 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@QilongTang
Copy link
Contributor

@RobertGlobant20 Fixed the fork, waiting for PR checks

{
get
{
return LuceneSearch.LuceneUtilityNodeSearch;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RobertGlobant20 @reddyashish Fixed a regression with a one line change here, see 2d2226e. Moving forward, we should leverage singleton instead of relying on DynamoModel. I will watch for PR check results

@QilongTang
Copy link
Contributor

@QilongTang QilongTang merged commit c94d35b into DynamoDS:master Aug 23, 2023
QilongTang added a commit that referenced this pull request Aug 23, 2023
* Lucene search singleton class.

* Update LuceneSearch.cs

* Updates

* updates

* Update LuceneSearch.cs

* Update

* Update

* Fix regressions

---------

Co-authored-by: Aaron (Qilong) <173288704@qq.com>
Co-authored-by: Aaron (Qilong) <aaron.tang@autodesk.com>
QilongTang added a commit that referenced this pull request Aug 23, 2023
* Lucene search singleton class.

* Update LuceneSearch.cs

* Updates

* updates

* Update LuceneSearch.cs

* Update

* Update

* Fix regressions

---------

Co-authored-by: reddyashish <43763136+reddyashish@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants