Class AppendedSolrParams

All Implemented Interfaces:
Serializable, Iterable<Map.Entry<String,String[]>>, MapSerializable, MapWriter, NavigableObject, org.noggit.JSONWriter.Writable

public class AppendedSolrParams extends DefaultSolrParams
SolrParams wrapper which acts similar to DefaultSolrParams except that it "appends" the values of multi-value params from both sub instances, so that all the values are returned.
See Also:
  • Method Details

    • wrapAppended

      public static AppendedSolrParams wrapAppended(SolrParams params, SolrParams extra)
    • getParams

      public String[] getParams(String param)
      Description copied from class: SolrParams
      returns an array of the String values of a param, or null if no mapping for the param exists.
      Overrides:
      getParams in class DefaultSolrParams
    • toString

      public String toString()
      Description copied from class: SolrParams
      Like SolrParams.toQueryString(), but only replacing enough chars so that the URL may be unambiguously pasted back into a browser. This method can be used to properly log query parameters without making them unreadable.

      Characters with a numeric value less than 32 are encoded. &,=,%,+,space are encoded.

      Overrides:
      toString in class DefaultSolrParams