Dhairya-007 opened a new pull request, #29382:
URL: https://github.com/apache/camel/pull/29382
The third debug line in `printResults` has two placeholders but only one
argument:
```java
LOG.debug("Hit {} Index Location: {}", i,
hits.getHit().get(i).getHitLocation());
LOG.debug("Hit {} Score: {}", i, hits.getHit().get(i).getScore());
LOG.debug("Hit {} Data: {}", hits.getHit().get(i).getData()); // <--
missing i
```
So the hit data is consumed by the first placeholder and the second is
printed literally as `{}` — the line reads `Hit <data> Data: {}`. The two lines
above it both pass the index first; this adds the missing `i` to match.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]