lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <>
Subject [jira] Commented: (SOLR-1103) LukeRequestHandler histogram excludes freq of 1
Date Tue, 07 Apr 2009 22:56:12 GMT


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:
>             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.

View raw message