[
https://issues.apache.org/jira/browse/LUCENE-4411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13459543#comment-13459543
]
Gilad Barkai commented on LUCENE-4411:
--------------------------------------
When sampling is under effect, the original FacetRequest is replaces with a
wrapper, which takes under account different sampling related parameters named
OverSampledFacetRequest.
This "wrapping" class modifies only a small set of parameters in the request
and should otherwise delegate everything to the original one - but it does not.
Some of the information that is lost from the original request: SortOrder,
SortBy, number of results to lable, ResultMode and Depth.
A patch would be available shortly.
> Depth requested in a facetRequest is reset when Sampling is in effect
> ---------------------------------------------------------------------
>
> Key: LUCENE-4411
> URL: https://issues.apache.org/jira/browse/LUCENE-4411
> Project: Lucene - Core
> Issue Type: Bug
> Components: modules/facet
> Affects Versions: 3.6.1, 5.0, 4.0
> Reporter: Gilad Barkai
> Attachments: OversampleWithDepthTest.java,
> OversampleWithDepthTest.java
>
>
> FacetRequest can be set a Depth parameter, which controls the depth of the
> result tree to be returned.
> When Sampling is enabled (and actually used) the Depth parameter gets reset
> to its default (1).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]