Re: Re: how do I paginate Lucene search results deeply

2013-03-14 Thread dizh
Again: searchAfter is good, but when you do Web paging, you will never know The user go to which page. Unlike google or yahoo... they only give you max 76 page as I see. In my scenario, user can go to 10-20 or 20-30 and then again 10-20 by the way , the timestamp I stored is long, using: System

Re: Re: Luke?

2013-03-14 Thread dizh
OK , Thank you ! Anyone saw my last question ? Lucene Pagination Look for a deepy answer. --- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is in

Re: Re: Luke?

2013-03-14 Thread dizh
I compile 4.1 4.2 change a lot ?? I really think Luke should be in control of Lucene developer teams. --- Confidentiality Notice: The information contained in this e-mail and any accompanying atta

Re: Re: Luke?

2013-03-14 Thread dizh
OK , tomorrow I will put it on spmewhere such as GitHub or googlecode. But, I really don't look into details, when I compile Luke src , I found about ten's errors. Most are TermEnums API , so I fixed them. -

how do I paginate Lucene search results deeply

2013-03-13 Thread dizh
Hi, Again, I will ask a Long-Time question, It has been asked for many time, but I googled a lot , but no good solution: I asked one time before, but I think the answer is not very well, SO: The scenario: I indexed 500 documents, Of course it can be more 1000/2000/... each docu

Re: Luke?

2013-03-13 Thread dizh
I just recompile it. Luckily, It doesn't need to do much work. Only a few modifications according to Lucene4.1 API change doc. --- Confidentiality Notice: The information contained in this e-mail and a

Solr Or Lucene Paging

2013-02-28 Thread dizh
Hi,All: I want to ask a question, How does Solr implements Paging, such as start = 100 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

Re: Re: Large Index Query Help!

2013-01-29 Thread dizh
o Lucene , forgive me for my ignoring. From: Ian Lea Date: 2013-01-29 17:02 To: java-user@lucene.apache.org; dizh Subject: Re: Large Index Query Help! Lucene won't load the whole index into memory. See http://blog.thetaphi.de/2012/07/use-lucenes-mmapdirectory-on-64bit.html What versi

Large Index Query Help!

2013-01-28 Thread dizh
Hi All: I hava a large Index repo, size is 47G, yes 47G , when I look up for something in it , and then it is dead, I trace its execution as follows: at org.apache.lucene.search.TopFieldCollector.add(TopFieldCollector.java:1178) at org.apache.lucene.search.TopFieldCollector$One

Re: Re: Group by on multi fields

2012-12-10 Thread dizh
Thanks to Martijn v Groningen. but , Is there anyone who has implemented this feature? just like SQL : select a1,a2,sum(a3) group by a1,a2; BTW: show me how to do is well too, Thank you。 --- Confident

Re: Re: Group by on multi fields

2012-12-10 Thread dizh
Thanks to Martijn v Groningen. but , Is there anyone who has implemented this feature? just like SQL : select a1,a2,sum(a3) group by a1,a2; --- Confidentiality Notice: The information contained in this

Group by on multi fields

2012-12-09 Thread dizh
Hi All: I want to ask how to do "Group by on multi fields ". The Lucene JavaDOC only gives a demo about how to group by a single-field. Would anybody give me a hint? --- Confidentiality Notice: The info