Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
afoucret committed Jul 18, 2024
1 parent 56076b2 commit fa55072
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ public interface DocReader {
void setDocument(int docID);

// Compatibility APIS

/** Old-style doc access for contexts that map some doc contents in params */
Map<String, Object> docAsMap();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
import java.util.Set;
import java.util.function.Supplier;


/**
* Access the term statistics of the children query of a script_score query.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ public class SearchLookup implements SourceProvider {

/**
* Create a new SearchLookup, using the default stored fields provider
*
* @param fieldTypeLookup defines how to look up field types
* @param fieldDataLookup defines how to look up field data
* @param sourceProvider defines how to look up the source
Expand All @@ -69,7 +68,6 @@ public SearchLookup(

/**
* Create a new SearchLookup, using the default stored fields provider
*
* @param fieldTypeLookup defines how to look up field types
* @param fieldDataLookup defines how to look up field data
* @param sourceProvider defines how to look up the source
Expand All @@ -94,7 +92,7 @@ public SearchLookup(
* and prevents resolving fields that depend on more than {@link #MAX_FIELD_CHAIN_DEPTH} fields.
*
* @param searchLookup the existing lookup to create a new one from
* @param fieldChain the chain of fields that required the field currently being loaded
* @param fieldChain the chain of fields that required the field currently being loaded
*/
private SearchLookup(SearchLookup searchLookup, Set<String> fieldChain) {
this.fieldChain = Collections.unmodifiableSet(fieldChain);
Expand All @@ -111,7 +109,7 @@ private SearchLookup(SearchLookup searchLookup, Set<String> fieldChain) {
* @param field the field being referred to, for which fielddata needs to be loaded
* @return the new lookup
* @throws IllegalArgumentException if a cycle is detected in the fields required to build doc values, or if the field
* being resolved depends on more than {@link #MAX_FIELD_CHAIN_DEPTH}
* being resolved depends on more than {@link #MAX_FIELD_CHAIN_DEPTH}
*/
public final SearchLookup forkAndTrackFieldReferences(String field) {
Objects.requireNonNull(field, "field cannot be null");
Expand Down

0 comments on commit fa55072

Please sign in to comment.