TermsResponse (Solr 3.6.2 API)
Keywords: org.apache.solr.client.solrj.response.TermsResponse class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.solr.client.solrj.response
Class TermsResponse

    java.lang.Object
      org.apache.solr.client.solrj.response.TermsResponse

    public class TermsResponse

extends Object

Encapsulates responses from TermsComponent

Nested Class Summary
`static class` | `TermsResponse.Term`

Constructor Summary
`TermsResponse(NamedList<Object> termsInfo)`

Method Summary
`Map<String,List<TermsResponse.Term>>` | `getTermMap()`
`List<TermsResponse.Term>` | `getTerms(String field)` Get's the term list for a given field

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### TermsResponse

    public TermsResponse(NamedList<Object> termsInfo)

Method Detail

### getTerms

    public List<TermsResponse.Term> getTerms(String field)

  Get's the term list for a given field

  Returns:
    the term list or null if no terms for the given field exist

### getTermMap

    public Map<String,List<TermsResponse.Term>> getTermMap()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD