You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by Bertrand Delacretaz <bd...@apache.org> on 2006/09/20 11:35:17 UTC

SolrQueryRequest.getParam is deprecated, what to use?

The code says

  @Deprecated
  public String getParam(String name);

But doesn't indicate what the replacement is, what should I use?

-Bertrand

Re: SolrQueryRequest.getParam is deprecated, what to use?

Posted by Yonik Seeley <yo...@apache.org>.
For overridable defaults, per-field params, etc, a new SolrParams
class was introduced:

public interface SolrQueryRequest {
  public SolrParams getParams();
  [...]
}


-Yonik