Re: [jira] Updated: (LUCENE-1855) Change AttributeSource API to use generics
2009-09-30 23:10:48 GMT
Michael
On 9/30/09 3:18 PM, Robert Muir wrote:
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 <rcmuir <at> gmail.com> 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?
This still uses the old tokenstream next(Token) API!
I think for this one I don't feel comfortable trying to convert it... scared to introduce bugs :)On Wed, Sep 30, 2009 at 5:56 PM, Uwe Schindler <uwe <at> thetaphi.de> wrote:Thanks...! I asked, because you know the tokenizers better J
Uwe
-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe <at> thetaphi.deFrom: Robert Muir [mailto:rcmuir <at> gmail.com]
Sent: Wednesday, September 30, 2009 11:52 PM
To: java-dev <at> lucene.apache.org
Subject: Re: [jira] Updated: (LUCENE-1855) Change AttributeSource API to use generics
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) <jira <at> apache.org> wrote:
[ 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.patchSome Javadoc additions, also change QueryParser.jj file.
Contrib and contrib queryparser was not converted. The new Queryparser would also get cleaner without the unneeded casts.
I will commit this tomorrow, when JIRA hopefully works better.
Robert Muir: Do you have time to remove the casts from contrib?
Luis Alves: You can also update the new Queryparser to not cas the return of getAttribute/addAttribute
> Change AttributeSource API to use generics
> ------------------------------------------
>
> Key: LUCENE-1855
> URL: https://issues.apache.org/jira/browse/LUCENE-1855
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Analysis
> Reporter: Michael Busch
> Assignee: Uwe Schindler
> Priority: Minor
> Fix For: 3.0
>> Attachments: AttributeSource.jad, LUCENE-1855.patch, LUCENE-1855.patch, LUCENE-1855.patch, LUCENE-1855.patch, LUCENE-1855.patch
>
>
> The AttributeSource API will be easier to use with JDK 1.5 generics.
> Uwe, if you started working on a patch for this already feel free to assign this to you.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe <at> lucene.apache.org
For additional commands, e-mail: java-dev-help <at> lucene.apache.org
--
Robert Muir
rcmuir <at> gmail.com
--
Robert Muir
rcmuir <at> gmail.com
--
Robert Muir
rcmuir <at> gmail.com
RSS Feed