lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-5095) Add useful toString()s to DocValues impls
Date Sat, 06 Jul 2013 20:25:48 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-5095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13701404#comment-13701404
] 

Robert Muir commented on LUCENE-5095:
-------------------------------------

I hesitate to pull docvalues + toString from such places, because they are lazy loaded and
with some implementations could cause things to be loaded into RAM.

but I mentioned checkindex since its going to do this to verify them anyway...
                
> Add useful toString()s to DocValues impls
> -----------------------------------------
>
>                 Key: LUCENE-5095
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5095
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Robert Muir
>
> Currently, you have no insight into what these are doing (what kind of compression does
your numerics have, how much RAM are the datastructures taking up, so on.
> So I think we should add some cheap toString's (nothing heavy), things like
> {code}
> @Override
> public String toString() {
>   return "Lucene42Numeric(compression=TABLE,bpv=" + bitsPerValue)";
> }
> {code}
> and so on. Maybe we could think about printing them from CheckIndex when verbose=true
too.

--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message