Skip to content

Commit

Permalink
Search: Fix spelling mistake in Javadoc (#34480)
Browse files Browse the repository at this point in the history
"iff" -> "if".
  • Loading branch information
fonxian authored and nik9000 committed Oct 15, 2018
1 parent f5641e6 commit 4e1d7ba
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 iff shard index is the same we use the hit index.
* and then if 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 4e1d7ba

Please sign in to comment.