Re: Luke?

2013-03-14 Thread Carsten Schnober
Am 13.03.2013 10:23, schrieb 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. That's great news. Are you going to publish a ready-made version somewhere? Also, I've made the experience that Luke 4.0.0-ALP

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. -

Re: Luke?

2013-03-14 Thread Wouter Heijke
So judging from the (lack of) response so far it seems Luke development has stopped (last update on Google code is from August 2012) and it is now up to anyone to adopt te code. And... Luke / Lucene 4.2 is not just a matter of recompile. Wouter > Am 13.03.2013 10:23, schrieb dizh: >> I just recom

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 Wouter Heijke
DocValues is the main problem in 4.2/Luke. For 4.1 there is a working Luke on github: https://github.com/mingfai/luke Wouter > I compile 4.1 > > 4.2 change a lot ?? > > I really think Luke should be in control of Lucene developer teams. --

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: how do I paginate Lucene search results deeply

2013-03-14 Thread Toke Eskildsen
On Thu, 2013-03-14 at 04:11 +0100, dizh wrote: > each document has a timestamp identify the time which it is indexed, I > want search the documents using sort, the sort field is the timestamp, [...] > but when you do paging, for example in a web app , the user want to go > to the last 4980-50

Re: how do I paginate Lucene search results deeply

2013-03-14 Thread Toke Eskildsen
On Thu, 2013-03-14 at 11:03 +0100, Toke Eskildsen wrote: > (timestamp_in_ms << 10) & counter++ This should be (timestamp_in_ms << 10) | counter++ - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additi

Re: how do I paginate Lucene search results deeply

2013-03-14 Thread Michael McCandless
You could also use Lucene's "search after" capability. It's designed for exactly this use-case (deep paging). See https://issues.apache.org/jira/browse/LUCENE-2215 Mike McCandless http://blog.mikemccandless.com On Thu, Mar 14, 2013 at 6:03 AM, Toke Eskildsen wrote: > On Thu, 2013-03-14 at 04

Lucene version naming of index files

2013-03-14 Thread Bernd Fehling
Hi list, a stupid question about the naming of the index files. While using lucene (and solr) 4.2 I still see files with "Lucene41" in the name. This is somewhat confusing if lucene 4.x produces files with "Lucene4y". This also means indexes built with 4.2 or 4.3 are fully compatible with 4.1 ? R

Re: Lucene version naming of index files

2013-03-14 Thread Robert Muir
On Thu, Mar 14, 2013 at 7:22 AM, Bernd Fehling wrote: > Hi list, > > a stupid question about the naming of the index files. > While using lucene (and solr) 4.2 I still see files with "Lucene41" in the > name. > This is somewhat confusing if lucene 4.x produces files with "Lucene4y". > This also m

Re: Getting documents from suggestions

2013-03-14 Thread Jack Krupansky
Could you give us some examples of what you expect? I mean, how is your suggested set of documents any different from simply executing a query with the list of suggested terms (using q.op=OR)? Or, maybe you want something like MoreLikeThis? -- Jack Krupansky -Original Message- From:

Re: Getting documents from suggestions

2013-03-14 Thread Michael McCandless
If you are using AnalyzingSuggester or FuzzySuggester than you can use its new payloads feature to store an arbitrary byte[] with each suggestion: https://issues.apache.org/jira/browse/LUCENE-4820 But this won't help if you're using spell checker ... Mike McCandless http://blog.mikemccandle

Re: Getting documents from suggestions

2013-03-14 Thread Bratislav Stojanovic
Wow that was fast :) I have implemented a simple search box with auto-suggestions, so whenever user types in something, ajax call is fired to the SuggestServlet and in return 10 suggestions are shown. It's working fine with the SpellChecker class, but I only get array of Strings. What I want is t

Re: Getting documents from suggestions

2013-03-14 Thread Jack Krupansky
Let's refine this... If a top suggestion is X, do you simply want to know a few of the documents which have the highest term frequency for X? Or is there some other term-oriented metric you might propose? -- Jack Krupansky -Original Message- From: Bratislav Stojanovic Sent: Thursda

Re: Getting documents from suggestions

2013-03-14 Thread Bratislav Stojanovic
Not few of them, I want to know them all. Then I want to iterate through them and remove ones that doesn't have id that matches my criteria. In other words, if there's at least one doc that matches, I want to show that suggestion. Hmm, does it mean that I have to search index with the query = +id:

Re: Getting documents from suggestions

2013-03-14 Thread Steve Rowe
Hi Bratislav, LUCENE-4517 sounds like what you want: : "Suggesters: allow to pass a user-defined predicate/filter to the completion searcher" There's a patch there, against Lucene trunk from about 5 months ago, so if you want to give it a try

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: how to search a certain number of document without travelling all related documents

2013-03-14 Thread Trejkaz
On Tue, Mar 12, 2013 at 10:42 PM, Hu Jing wrote: > so my question is how to achieve a non-sort query method, this method can > get result constantly and don't travel all unnecessary doc. > > Does Lucene supply some strategies to implement this? If you want the result as soon as possible, just pa