You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Fang Xu (JIRA)" <ji...@apache.org> on 2014/01/06 12:25:03 UTC
[jira] [Comment Edited] (SOLR-3583) Percentiles for facets, pivot
facets, and distributed pivot facets
[ https://issues.apache.org/jira/browse/SOLR-3583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13861449#comment-13861449 ]
Fang Xu edited comment on SOLR-3583 at 1/6/14 11:23 AM:
--------------------------------------------------------
I resolved some failures of applying SOLR-2894. The I run this patch, still I got some failures. I fixed some. This one can be resolved,
[javac] Compiling 7 source files to /solr-4.6.0/solr/build/solr-core/classes/java
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
[javac] /home/fangxu/projects/solr-4.6.0/solr/core/src/java/org/apache/solr/handler/component/FacetComponent.java:1030: error: method convertPivotStatisticsBucketsToPercentiles in class FacetComponent cannot be applied to given types;
[javac] fi.pivotFacets = convertPivotStatisticsBucketsToPercentiles(fi.pivotFacets, solrParams);
[javac] ^
[javac] required: SimpleOrderedMap<List<NamedList<Object>>>,SolrParams
[javac] found: SimpleOrderedMap<PivotFacetWrapper>,SolrParams
[javac] reason: actual argument SimpleOrderedMap<PivotFacetWrapper> cannot be converted to SimpleOrderedMap<List<NamedList<Object>>> by method invocation conversion
[javac] Note: /home/fangxu/projects/solr-4.6.0/solr/core/src/java/org/apache/solr/request/SimpleFacets.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error
[javac] 1 warning
FacetInfo fi.pivotFacets has been updated to SimpleOrderedMap<PivotFacetWrapper> in solr 4.6.0. which can not be applied with the current SOLR-3583.
Please correct me if im wrong. Thanks a lot.
was (Author: solrup):
I resolved some failures of applying SOLR-2894. The I run this patch, still I got some failures. I fixed some. This one can be resolved,
[javac] Compiling 7 source files to /home/fangxu/projects/solr-4.6.0/solr/build/solr-core/classes/java
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
[javac] /home/fangxu/projects/solr-4.6.0/solr/core/src/java/org/apache/solr/handler/component/FacetComponent.java:1030: error: method convertPivotStatisticsBucketsToPercentiles in class FacetComponent cannot be applied to given types;
[javac] fi.pivotFacets = convertPivotStatisticsBucketsToPercentiles(fi.pivotFacets, solrParams);
[javac] ^
[javac] required: SimpleOrderedMap<List<NamedList<Object>>>,SolrParams
[javac] found: SimpleOrderedMap<PivotFacetWrapper>,SolrParams
[javac] reason: actual argument SimpleOrderedMap<PivotFacetWrapper> cannot be converted to SimpleOrderedMap<List<NamedList<Object>>> by method invocation conversion
[javac] Note: /home/fangxu/projects/solr-4.6.0/solr/core/src/java/org/apache/solr/request/SimpleFacets.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error
[javac] 1 warning
FacetInfo fi.pivotFacets has been updated to SimpleOrderedMap<PivotFacetWrapper> in solr 4.6.0. which can not be applied with the current SOLR-3583.
Please correct me if im wrong. Thanks a lot.
> Percentiles for facets, pivot facets, and distributed pivot facets
> ------------------------------------------------------------------
>
> Key: SOLR-3583
> URL: https://issues.apache.org/jira/browse/SOLR-3583
> Project: Solr
> Issue Type: Improvement
> Reporter: Chris Russell
> Priority: Minor
> Labels: newbie, patch
> Fix For: 4.7
>
> Attachments: SOLR-3583.patch, SOLR-3583.patch, SOLR-3583.patch, SOLR-3583.patch
>
>
> Built on top of SOLR-2894, this patch adds percentiles and averages to facets, pivot facets, and distributed pivot facets by making use of range facet internals.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org