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 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 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 <rcm...@gmail.com >> <mailto:rcm...@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 <u...@thetaphi.de >> <mailto:u...@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: u...@thetaphi.de <mailto:u...@thetaphi.de> >> >> >> ------------------------------------------------------------------------ >> >> *From:* Robert Muir [mailto:rcm...@gmail.com >> <mailto:rcm...@gmail.com>] >> *Sent:* Wednesday, September 30, 2009 11:52 PM >> *To:* java-dev@lucene.apache.org >> <mailto:java-dev@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) >> <j...@apache.org <mailto:j...@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.patch >> >> Some 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-unsubscr...@lucene.apache.org >> <mailto:java-dev-unsubscr...@lucene.apache.org> >> For additional commands, e-mail: >> java-dev-h...@lucene.apache.org >> <mailto:java-dev-h...@lucene.apache.org> >> >> >> >> >> -- >> Robert Muir >> rcm...@gmail.com <mailto:rcm...@gmail.com> >> >> >> >> >> -- >> Robert Muir >> rcm...@gmail.com <mailto:rcm...@gmail.com> >> >> >> >> >> -- >> Robert Muir >> rcm...@gmail.com <mailto:rcm...@gmail.com> > -- - Mark http://www.lucidimagination.com --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org