[jira] Commented: (LUCENE-1855) Change AttributeSource API to use generics

2009-09-30 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760897#action_12760897 ] Uwe Schindler commented on LUCENE-1855: --- As we are now on Java 1.5, I would like to

Re: Hits deprecated note is wrong

2009-09-30 Thread Shai Erera
I agree. The code sample was written before TSDC's create() method was written. I should have searched for TSDC references by text ... About docsScoredInOrder, I agree we should have elaborated on it in the javadocs. I think a sample code exists somewhere in CHANGES, but it wouldn't hurt to keep so

Re: Hits deprecated note is wrong

2009-09-30 Thread Shai Erera
BTW Mark, I think the deprecation message in Hits should not even mention TSDC, but instead show the "fast" search method search(Query, int) or something like that. We're giving users a wrong impression as if they really need to create TSDC and this can confuse people (see other thread by Eks). Sh

Re: Hits deprecated note is wrong

2009-09-30 Thread Mark Miller
Yeah I agree Shai - we want to point to search(Query, int) - but I think its too late! Hits should be removed in 3.0. I think elaborating on the docs for docsScoredInOrder is great idea for 3.0 though. We might as well open an issue to give others a chance to comment about the doc improvements (n

Re: Hits deprecated note is wrong

2009-09-30 Thread Mark Miller
Shai Erera wrote: > We're giving users a wrong impression as if they really need to create > TSDC and this can confuse people (see other thread by Eks). > And even then, because Hits users tended to be less advanced users, they are likely to be confused with TSDC - this guy was like, what the heck,

[jira] Updated: (LUCENE-1855) Change AttributeSource API to use generics

2009-09-30 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-1855: -- Attachment: LUCENE-1855.patch Here the master patch prepared in the train from Berlin to Breme

[jira] Updated: (LUCENE-1855) Change AttributeSource API to use generics

2009-09-30 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-1855: -- Attachment: LUCENE-1855.patch Sorry, last patch had an error in hasReusableNext backwards laye

JIRA?

2009-09-30 Thread Uwe Schindler
Hi, Has anybody information what's wrong with JIRA? I did not find anything on the infrastructure site. Uwe - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de - To unsubscr

Re: JIRA?

2009-09-30 Thread Grant Ingersoll
It's having problems. You should be able to subscribe to Apache Infrastructure where there is some discussion. -Grant On Sep 30, 2009, at 4:06 PM, Uwe Schindler wrote: Hi, Has anybody information what's wrong with JIRA? I did not find anything on the infrastructure site. Uwe ---

Re: JIRA?

2009-09-30 Thread Shalin Shekhar Mangar
You can follow http://twitter.com/infrabot too. Tweeted about a DDOS attack against SSL. On Thu, Oct 1, 2009 at 1:44 AM, Grant Ingersoll wrote: > It's having problems. You should be able to subscribe to Apache > Infrastructure where there is some discussion. > > -Grant > > On Sep 30, 2009, at

[jira] Updated: (LUCENE-1855) Change AttributeSource API to use generics

2009-09-30 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-1855: -- Attachment: LUCENE-1855.patch Some Javadoc additions, also change QueryParser.jj file. Contri

Re: [jira] Updated: (LUCENE-1855) Change AttributeSource API to use generics

2009-09-30 Thread Robert Muir
Uwe, I can work on the contrib portion tonight (jira is not happy with me right now) On Wed, Sep 30, 2009 at 5:33 PM, Uwe Schindler (JIRA) wrote: > > [ > https://issues.apache.org/jira/browse/LUCENE-1855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel] > > Uwe Schindler upda

RE: [jira] Updated: (LUCENE-1855) Change AttributeSource API to use generics

2009-09-30 Thread Uwe Schindler
Thanks...! I asked, because you know the tokenizers better :-) Uwe - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de _ From: Robert Muir [mailto:rcm...@gmail.com] Sent: Wednesday, September 30, 2009 11:5

Re: [jira] Updated: (LUCENE-1855) Change AttributeSource API to use generics

2009-09-30 Thread Robert Muir
uwe, somewhat related to attributes API... anyway I can trick you or Luis or someone more familiar with QueryParsing into looking at PrecedenceQueryParser under contrib/misc? This still uses the old tokenstream next(Token) API! I think for this one I don't feel comfortable trying to convert it...

Re: [jira] Updated: (LUCENE-1855) Change AttributeSource API to use generics

2009-09-30 Thread Robert Muir
also I don't claim to understand what the precedence features really are, perhaps this functionality is obseleted by the new query parser, or could be implemented by it? On Wed, Sep 30, 2009 at 6:10 PM, Robert Muir wrote: > uwe, somewhat related to attributes API... anyway I can trick you or Lui

RE: [jira] Updated: (LUCENE-1855) Change AttributeSource API to use generics

2009-09-30 Thread Uwe Schindler
Oh we have to really convert this. We will erase all deprecated methods soon. I will look into this. The new QueryParser attributes API can also be done by me. The current TokenStreams in analysis should be simple (just remove th cast) :-) - Can you post a separate patch for contrib? I will go

Re: [jira] Updated: (LUCENE-1855) Change AttributeSource API to use generics

2009-09-30 Thread Michael Busch
I think the new contrib query parser already has support for operator precedence, but it's turned off for backwards-compatibility with the core parser. It's planned to turn it on with LUCENE-1823. Michael On 9/30/09 3:18 PM, Robert Muir wrote: also I don't claim to understand what the precede

Re: [jira] Updated: (LUCENE-1855) Change AttributeSource API to use generics

2009-09-30 Thread Mark Miller
The op precedence parser (PrecedenceQueryParser) is somewhat experimental if I remember right, and doesnt fully work right. I think it talks about that in the comments. It should prob be deprecated in light of the new queryparser framework. Michael Busch wrote: > I think the new contrib query par

Create large preallocated file blocks when performing merges

2009-09-30 Thread Jason Rutherglen
I wanted to post this before I forgot. Based on an informal discussion at the Katta meeting regarding the high write throughput of Zookeeper (see http://wiki.apache.org/hadoop/ZooKeeper/Performance ) which uses the database technique of preallocating large empty files before filling them up with re

[jira] Updated: (LUCENE-1855) Change AttributeSource API to use generics

2009-09-30 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir updated LUCENE-1855: Attachment: LUCENE-1855_contrib.patch patch for contrib (except for the new queryparser) > Chang

Re: [jira] Updated: (LUCENE-1855) Change AttributeSource API to use generics

2009-09-30 Thread Erik Hatcher
On Sep 30, 2009, at 3:10 PM, Robert Muir wrote: uwe, somewhat related to attributes API... anyway I can trick you or Luis or someone more familiar with QueryParsing into looking at PrecedenceQueryParser under contrib/misc? PQP was my contribution, I think. But it was merely a proof-of- c

[jira] Updated: (LUCENE-1855) Change AttributeSource API to use generics

2009-09-30 Thread Adriano Crestani (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adriano Crestani updated LUCENE-1855: - Attachment: LUCENE-1855_contrib_queryparser.patch Here is the patch for contrib/querypar

[jira] Commented: (LUCENE-1855) Change AttributeSource API to use generics

2009-09-30 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761108#action_12761108 ] Uwe Schindler commented on LUCENE-1855: --- Oh thanks Adriano, I haven't seen your patc

[jira] Updated: (LUCENE-1855) Change AttributeSource API to use generics

2009-09-30 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-1855: -- Attachment: LUCENE-1855.patch A small update to my core patch, it now needs no @SuppressWarnin