Github user jpountz commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/345#discussion_r179744351 --- Diff: lucene/core/src/java/org/apache/lucene/search/Weight.java --- @@ -69,6 +69,21 @@ protected Weight(Query query) { */ public abstract void extractTerms(Set<Term> terms); + /** + * Returns {@link Matches} for a specific document, or {@code null} if the document + * does not match the parent query --- End diff -- maybe mention that a match without positions will be reported as an empty instance?
--- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org