You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2009/04/08 00:56:12 UTC

[jira] Commented: (SOLR-1103) LukeRequestHandler histogram excludes freq of 1

    [ https://issues.apache.org/jira/browse/SOLR-1103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696804#action_12696804 ] 

Hoss Man commented on SOLR-1103:
--------------------------------

possible ways to resolve this...
1) add a comment clarifying that the current behavior is desired
2) make iteration start at "1"
3) change getPowerOfTwoBucket so "2" is the lowest bucket value it ever returns.

> LukeRequestHandler histogram excludes freq of 1
> -----------------------------------------------
>
>                 Key: SOLR-1103
>                 URL: https://issues.apache.org/jira/browse/SOLR-1103
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Hoss Man
>            Priority: Minor
>
> the TermHistogram class in the LukeRequestHandler seems to properly count the occurances of terms with a freq of "1", but then when converting to a NamedLIst begins iterating at bucket "2" so the counts for freq of "1" don't appear in the result.
> this may have been a conscious choice to eliminate superfluously high values for terms with a freq of one ... or it may have been a mistake assuming freq values of 1 would fall in the "2" bucket.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.