Revision 57157
Added by Enrico Ottonello over 4 years ago
BrowsingRow.java | ||
---|---|---|
1 | 1 |
package eu.dnetlib.index.solr.browsing; |
2 | 2 |
|
3 | 3 |
import java.util.List; |
4 |
|
|
4 | 5 |
import javax.xml.bind.annotation.XmlAccessType; |
5 | 6 |
import javax.xml.bind.annotation.XmlAccessorType; |
6 | 7 |
import javax.xml.bind.annotation.XmlElement; |
... | ... | |
8 | 9 |
|
9 | 10 |
import org.springframework.beans.factory.annotation.Required; |
10 | 11 |
|
12 |
|
|
11 | 13 |
/** |
14 |
* |
|
12 | 15 |
* serialization of the browsing result. |
13 |
* <p>
|
|
16 |
* |
|
14 | 17 |
* <row> <groupresult field="facetFieldName1"> <value>facetFieldValue</value> <count>1</count> </groupresult> |
15 |
* <p>
|
|
18 |
* |
|
16 | 19 |
* <groupresult field="facetFieldName2"> <value>facetFieldValue</value> <count>1</count> </groupresult> |
17 |
* <p>
|
|
20 |
* |
|
18 | 21 |
* </row> |
19 | 22 |
* |
20 | 23 |
* @author claudio |
24 |
* |
|
21 | 25 |
*/ |
22 | 26 |
@XmlRootElement(namespace = "", name = "row") |
23 | 27 |
@XmlAccessorType(XmlAccessType.FIELD) |
... | ... | |
26 | 30 |
@XmlElement(name = "groupresult", required = true) |
27 | 31 |
private List<GroupResult> groupresult; |
28 | 32 |
|
29 |
public BrowsingRow() { |
|
30 |
} |
|
33 |
public BrowsingRow() {} |
|
31 | 34 |
|
32 | 35 |
public BrowsingRow(final List<GroupResult> groupresult) { |
33 | 36 |
this.groupresult = groupresult; |
Also available in: Unified diff
solr 772 integration