Skip to content

Conversation

@scottmitchell
Copy link
Collaborator

@scottmitchell scottmitchell commented Dec 19, 2018

Purpose

This PR updates finalizes improvements to search made in DYN-1326 and DYN-1324. These improvements were initially placed behind the debug menu. This PR brings both improvements out from behind the debug menu and removes them from the debug menu.

Declarations

Check these if you believe they are true

  • The code base 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.

Reviewers

@ColinDayOrg

FYIs

@Racel

// return only the top 20 search results
searchResults = searchResults.Take(20);

#if DEBUG
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@ColinDayOrg I'm assuming we want to leave the logging work you did?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think so, it's not a lot of logging output and the output could be useful.

Copy link
Contributor

Choose a reason for hiding this comment

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

Odd that file comments don't show up here always and vice versa, so repeating here, it's not a lot of logging output and it could be useful (and is only under debug anyways) so I would say yes.

@Racel
Copy link
Contributor

Racel commented Dec 19, 2018

just doing another pass at all of this. i think we should change the number of search results to 30. will share the results in a bit. still going through the data

@scottmitchell
Copy link
Collaborator Author

@Racel Just updated to return top 30 instead of top 20.

searchResults = searchResults.Take(20);
}

// return only the top 30 search results
Copy link
Contributor

Choose a reason for hiding this comment

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

Not that I'm against it, but why the change from 20 to 30 here?

Copy link
Contributor

Choose a reason for hiding this comment

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

Just saw the conversation in the main comments, it didn't show up in the file comparison view. This is fine with me.

@ColinDayOrg
Copy link
Contributor

LGTM :shipit:

@Racel
Copy link
Contributor

Racel commented Dec 19, 2018

Hey guys- so, I did a thorough review of the work against the search analysis results. And, the results look like that people are likely to just type in a new search after not finding it in the top 10. Or on the first page, can we please just set the number back to 20. I think our instincts were correct on this one, and it looks like the data backs that up. See the Jira task for more details.

@scottmitchell
Copy link
Collaborator Author

@Racel That makes sense. I changed it back to 20.

@scottmitchell scottmitchell merged commit e57ca18 into DynamoDS:master Dec 19, 2018
@scottmitchell scottmitchell deleted the SearchUpdate branch December 19, 2018 21:30
@Racel Racel mentioned this pull request Dec 19, 2018
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