Error also occurs in Liferay 6.1 EE, You might play with Asset and keep just one and then you will have no problems.
1
2 {
3 "displayStyle": "asset_entries",
4 "weight": 1.5,
5 "static": false,
6 "order": "OrderHitsDesc",
7 "data": {
8 "values": ["com.liferay.portlet.journal.model.JournalArticle"],
9 "frequencyThreshold": 1
10 },
11 "label": "asset-type",
12 "className": "com.liferay.portal.kernel.search.facet.AssetEntriesFacet",
13 "fieldName": "entryClassName"
14 },
Error occurs in the asset_entries.jsp
1
2 for (String assetType : assetTypes) {
3 TermCollector termCollector = facetCollector.getTermCollector(assetType);
SolrFacetFieldCollector gets a nullpointer on _counts.get(term);
1
2 public TermCollector getTermCollector(String term) {
3 Count count = _counts.get(term);
4
5 return new SolrTermCollector(term, (int)count.getCount());
6 }
To conclude error stems form populating the facets by the SolrIndexSearcherImpl
1
2List<FacetField> facetFields = queryResponse.getFacetFields();
The facetFields are empty
Probably using SOLR 3.3 or 3.5 will solve things.
See http://issues.liferay.com/browse/LPS-25817
I wil test this later and get back to this topic
I will check this out later
Por favor, faça login para denunciar.