Skip to content

Commit

Permalink
Revert "Search: Fix spelling mistake in Javadoc (#34480)"
Browse files Browse the repository at this point in the history
This reverts commit 4e1d7ba.
  • Loading branch information
nik9000 authored and kcm committed Oct 30, 2018
1 parent a1c342c commit ad5fd20
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ int getShardIndex(ScoreDoc scoreDoc) {

/**
* if we need to tie-break since score / sort value are the same we first compare shard index (lower shard wins)
* and then if shard index is the same we use the hit index.
* and then iff shard index is the same we use the hit index.
*/
static boolean tieBreakLessThan(ShardRef first, ScoreDoc firstDoc, ShardRef second, ScoreDoc secondDoc) {
final int firstShardIndex = first.getShardIndex(firstDoc);
Expand Down

0 comments on commit ad5fd20

Please sign in to comment.