[
https://issues.apache.org/jira/browse/JCR-1073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12522463
]
Christoph Kiehl commented on JCR-1073:
--------------------------------------
I'm afraid if we open up jackrabbit here we might run into more issues like
this one where people start using classes that are not intended to be extended
or used outside of Jackrabbit. Another hacky solution would be to place to
place the class in the org.apache.jackrabbit.core.query.lucene in your project
as well. I think java doesn't mind if the file is in another jar file. If you
dislike this solution I think we should spend some more time thinking about
which parts should be usable from outside to implement a custom QueryHandler
for instance (I guess you are using a customized QueryHandler in your project,
aren't you?) Unfortunately I'm a bit low on time currently to concentrate on
such a work :/
> Add getTotalSize() to QueryResults
> ----------------------------------
>
> Key: JCR-1073
> URL: https://issues.apache.org/jira/browse/JCR-1073
> Project: Jackrabbit
> Issue Type: New Feature
> Components: query
> Reporter: Christoph Kiehl
> Assignee: Christoph Kiehl
> Priority: Minor
> Attachments: patch.txt
>
>
> As discussed in
> http://www.nabble.com/Total-size-of-a-query-result-and-setLimit%28%29-tf4280909.html#a12185543
> a getTotalSize() method should be added to QueryResults.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.