Reduce noisy logging in searchset. The intermediate results are rarely useful
in debugging, just the final set helps to understand why a document didn't
survive for further matching rounds.

PiperOrigin-RevId: 464832890
diff --git a/v2/searchset.go b/v2/searchset.go
index a25b2e2..e0e69ce 100644
--- a/v2/searchset.go
+++ b/v2/searchset.go
@@ -190,6 +190,9 @@
 		}
 	}
 
+	if c.tc.traceSearchset(src.origin) {
+		c.tc.trace("finalized matchedRanges for %s: %d = %s", src.origin, len(src.Tokens), spew.Sdump(matchedRanges))
+	}
 	return matchedRanges
 }
 
@@ -219,7 +222,7 @@
 
 	// For each hit detected, compare it against all other previous hits to see if it can be part of match
 	// or represents a group that is eligible for matching and having other hits contribute to it.
-	for i, m := range matched {
+	for _, m := range matched {
 		off := m.TargetStart - m.SrcStart
 
 		// If the offset is negative, but within error margins, we associate it
@@ -301,9 +304,6 @@
 		if unclaimed && m.TokensClaimed*10 > matched[0].TokensClaimed {
 			claimed = append(claimed, m)
 		}
-		if c.tc.traceSearchset(origin) {
-			c.tc.trace("after %d ranges, claimed is %s", i, spew.Sdump(claimed))
-		}
 	}
 	sort.Sort(claimed)
 	if c.tc.traceSearchset(origin) {