Skip to content
This repository has been archived by the owner on Nov 22, 2017. It is now read-only.

Sort results fails #5

Closed
mircouleur opened this issue Apr 2, 2010 · 1 comment
Closed

Sort results fails #5

mircouleur opened this issue Apr 2, 2010 · 1 comment

Comments

@mircouleur
Copy link

Hello, it's impossible to sort results with a huge database (many millions of entries).
Exception in thread "main" java.lang.IllegalStateException: numDocs reached.
And I don't really understand the use of "numDocs" in the IndexReader...
Thanx for your help

@tjake
Copy link
Owner

tjake commented Apr 2, 2010

This number is a hardcoded limit currently (1000000) you can up it if you wish. Though pulling millions of columns from Cassandra to sort is going to be very expensive.

I'm working on a better way to handle sorts (within Cassandra and not lucene)

Jake

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants