[
https://issues.apache.org/jira/browse/LUCENE-4261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13423614#comment-13423614
]
Steven Bethard commented on LUCENE-4261:
----------------------------------------
Please reconsider the documentation request. Right now, the only way you can
figure out what the children of any Query's Scorer are is to read the source
code.
All I'm asking for is something as simple as:
For FunctionQuery:
"The getChildren() method in Scorers created by FunctionQuery objects return no
child Scorers. FunctionQuery is considered a "leaf node" in terms of Scorers."
For BoostedQuery:
"The getChildren() method in Scorers created by BoostedQuery objects return a
single Scorer corresponding to the Query being boosted"
For BooleanQuery:
"The getChildren() method in Scorers created by BooleanQuery objects return one
child Scorer for each clause in the BooleanQuery" (is that right?)
etc.
> Scorers return empty getChildren
> --------------------------------
>
> Key: LUCENE-4261
> URL: https://issues.apache.org/jira/browse/LUCENE-4261
> Project: Lucene - Core
> Issue Type: Bug
> Components: core/query/scoring
> Affects Versions: 4.0-ALPHA
> Reporter: Steven Bethard
>
> Scorer.getChildren() returns an empty list for some Scorers that conceptually
> do have children, including:
> * scorer for a BoostedQuery
> * scorer for a FunctionQuery with nested QueryValueSources
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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]