Skip to content

Conversation

@isoos
Copy link
Collaborator

@isoos isoos commented Nov 8, 2024

  • Generic key for TokenIndex and IndexedScore now allows composite keys.
  • The dartdoc API symbols index used String concatenation and split in place of composite keys, this change replaces those with the new key. Besides the key operations, we can also spare the Map creation here too.
  • The exact phrase matches also benefits from skipping the Map creation and merging the score values directly into the IndexedScore.
  • The topApiPages variable still uses a Map, it will be migrated in a subsequent PR (also the _TextResults.score).

@isoos isoos requested review from jonasfj and sigurdm November 8, 2024 15:54
@isoos isoos merged commit 1c6026e into dart-lang:master Nov 11, 2024
32 checks passed
@isoos isoos deleted the search-docindex branch November 11, 2024 08:58
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.

2 participants