diff --git a/client/java/solrj/src/org/apache/solr/client/solrj/request/LukeRequest.java b/client/java/solrj/src/org/apache/solr/client/solrj/request/LukeRequest.java index 230c4b939c8..43482bb9fca 100644 --- a/client/java/solrj/src/org/apache/solr/client/solrj/request/LukeRequest.java +++ b/client/java/solrj/src/org/apache/solr/client/solrj/request/LukeRequest.java @@ -62,6 +62,11 @@ public class LukeRequest extends SolrRequest } fields.add( f ); } + + public void setFields( List f ) + { + fields = f; + } //--------------------------------------------------------------------------------- //--------------------------------------------------------------------------------- @@ -74,6 +79,20 @@ public class LukeRequest extends SolrRequest this.showSchema = showSchema; } + public int getCount() { + return count; + } + + /** + * the number of terms to return for a given field. If the number is 0, it will not traverse the terms. + */ + public void setCount(int count) { + this.count = count; + } + + //--------------------------------------------------------------------------------- + //--------------------------------------------------------------------------------- + @Override public Collection getContentStreams() { return null;