You're probably better off asking Solr questions on the solr list.
But if you really need the 20 hits starting at 1000000 i.e. page
number 50000 you'd better rethink your requirements and your indexing
strategy.


--
Ian.


On Fri, Mar 1, 2013 at 6:48 AM, dizh <d...@neusoft.com> wrote:
>
> Hi,All:
>
>  I want to ask a question, How does Solr implements Paging, such as start = 
> 1000000 and row = 20
>  I roughly saw Solr source, hare is the code:
>  getDocListNC(QueryResult qr,QueryCommand cmd) ;
>  often it uses :
>  topCollector = TopFieldCollector.create(weightSort(cmd.getSort()), len, 
> false, needScores, needScores, true);
>  super.search(query, luceneFilter, collector);
>  See it , it only fetch all docs and then do paging, So my question is Is it 
> too slow? if I set len = 10000000 Often cause OOM
>  Is Solr shard can perfectly solve it?
>  Thank you!
> ---------------------------------------------------------------------------------------------------
> Confidentiality Notice: The information contained in this e-mail and any 
> accompanying attachment(s)
> is intended only for the use of the intended recipient and may be 
> confidential and/or privileged of
> Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of 
> this communication is
> not the intended recipient, unauthorized use, forwarding, printing,  storing, 
> disclosure or copying
> is strictly prohibited, and may be unlawful.If you have received this 
> communication in error,please
> immediately notify the sender by return e-mail, and delete the original 
> message and all copies from
> your system. Thank you.
> ---------------------------------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to