lucene-dev mailing list archives

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


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

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:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message