[
https://issues.apache.org/jira/browse/SOLR-9176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alessandro Benedetti updated SOLR-9176:
---------------------------------------
Attachment: SOLR-9176.patch
* Select Facet method refactored to be more readable according [~nzjess]
suggestion
* added to the facet debug both the requested facet method and the applied
facet metod according [~nzjess] suggestion ( it is true the requested facet
method is already in the requestParam, but in this way it will be easier to
spot undesired situations
* found some additional bug that at the moment are covered by workarounds ( we
need to create appropriate Jira issues for them) :
/* FC without docValues does not support single valued numeric facets */
if (method == FacetMethod.FC
&& type.getNumericType() != null && !field.multiValued()) {
method = FacetMethod.FCS;
}
/* UIF without DocValues can't deal with mincount=0, the reason is because
we create the buckets based on the values present in the result set.
So we are not going to see facet values which are not in the result
set */
if (method == FacetMethod.UIF
&& !field.hasDocValues() && mincount == 0) {
method = field.multiValued() ? FacetMethod.FC : FacetMethod.FCS;
}
* added a test to cover the uif bug
* run all the tests in request and the Random DV ones and they are succeeding
* it is required a full test execution on core . We don't have time this week
end, if necessary we proceed next week only to double check
> Legacy Faceting Term Enum Method Regression
> -------------------------------------------
>
> Key: SOLR-9176
> URL: https://issues.apache.org/jira/browse/SOLR-9176
> Project: Solr
> Issue Type: Bug
> Components: faceting
> Affects Versions: 5.2, 5.2.1, 5.3, 5.3.1, 5.3.2, 5.4, 5.4.1, 5.5, 5.5.1,
> 6.0, 6.0.1
> Reporter: Alessandro Benedetti
> Assignee: Alan Woodward
> Attachments: SOLR-9176.patch, SOLR-9176.patch
>
>
> Starting from this commit :
> LUCENE-5666: get solr started
> git-svn-id:
> https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594254
> 13f79535-47bb-0310-9956-ffa450edef68
> https://github.com/apache/lucene-solr/commit/1489085807cb10981a7ea5b5663ada4e3f85953e#diff-5ac9dc7b128b4dd99b764060759222b2
> It is not possible to use Term Enum as a faceting method, for numeric and
> single valued fields ( org.apache.solr.request.SimpleFacets ) .
> We personally verified that there are use cases when this is bringing a quite
> big performance regression ( even with DocValues enabled) .
> In the mailing list from time to time people complain about a regression
> happening with the term enum method, but actually it is more likely to be the
> automatic forcing of FCS.
> Forcing FCS in co-op with the famous regression that happened in SOLR-8096
> could be confused as a term Enum regression.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]