[
https://issues.apache.org/jira/browse/LUCENE-3555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Muir updated LUCENE-3555:
--------------------------------
Attachment: LUCENE-3555.patch
Attached is a patch. This is also nice since it removes the
"SpoofIndexSearcher" the sim tests were using to simulate fake stats.
> Add support for distributed stats
> ---------------------------------
>
> Key: LUCENE-3555
> URL: https://issues.apache.org/jira/browse/LUCENE-3555
> Project: Lucene - Java
> Issue Type: Bug
> Affects Versions: 4.0
> Reporter: Robert Muir
> Assignee: Robert Muir
> Attachments: LUCENE-3555.patch
>
>
> (its a bug in a way, since we broke this, temporarily).
> There is no way to do this now (distributed IDF, etc) with the new API.
> But we should do it right:
> * having the sim ask the searcher for docfreq of a term is wasteful and
> dangerous,
> usually we have already seek'd to the term and already collected the 'raw'
> stuff.
> * the situation is more than just docfreq, because you should be able to
> implement
> distributed scoring for all of the new sim models (or your own), that use
> any
> of Lucene's stats.
--
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]