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

Shalin Shekhar Mangar commented on SOLR-13432:
----------------------------------------------

Slight modifications to use size() instead of size in both classes because the 
cached size value in BitDocSet may not be correct in case it is backed by a 
FixedBitSet.

> Add .toString methods to BitDocSet and SortedIntDocSet
> ------------------------------------------------------
>
>                 Key: SOLR-13432
>                 URL: https://issues.apache.org/jira/browse/SOLR-13432
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Shalin Shekhar Mangar
>            Priority: Major
>             Fix For: 8.1, master (9.0)
>
>         Attachments: SOLR-13432.patch, SOLR-13432.patch
>
>
> Add .toString methods to BitDocSet and SortedIntDocSet. The motivation here 
> is that the "showItems" property on FastLRUCache tries to show the items 
> inside the cache. But the output is not useful because these two classes 
> (used as values for filter cache) do not implement toString so the 
> Object.toString is called.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to