com.gisgraphy.fulltext

## Class SolrUnmarshaller

- java.lang.Object
- - com.gisgraphy.fulltext.SolrUnmarshaller

-     public class SolrUnmarshaller
      extends Object

  SolrUnmarshaller for solr Query response to a DTO
  Author:
    David Masclet
  See Also:
    `SolrResponseDto`

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected static org.slf4j.Logger` | `logger` The Logger

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `SolrUnmarshaller()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static List<com.gisgraphy.fulltext.SolrResponseDto>` | `unmarshall(org.apache.solr.client.solrj.response.QueryResponse queryResponse)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### logger

          protected static final org.slf4j.Logger logger

      The Logger

  - ### Constructor Detail

    - #### SolrUnmarshaller

          public SolrUnmarshaller()

  - ### Method Detail

    - #### unmarshall

          public static List<com.gisgraphy.fulltext.SolrResponseDto> unmarshall(org.apache.solr.client.solrj.response.QueryResponse queryResponse)

      Parameters:
        `queryResponse` - the Solr QueryResponse we want to transform
      Returns:
        a list of SolrResponseDto or an empty list. never return null.

Copyright © 2015. All rights reserved.