What do you mean when you say "trying to use the lucene api to build queries"? Are you trying to use BooleanQuery? If so, you either construct specific clauses yourself (presumably by, say, tokenizing things yourself and creating TermQuerys, PhraseQuerys, etc.) which *don't* need an analyzer, or add Querys that you get from running stuff through QueryParser that has a constructor that takes an Analyzer.
Code snippets or more specific questions would be a great help <G>... Imagine yourself trying to respond to an e-mail like you sent. There isn't enough information there to really understand the problem you're trying to solve, so I have to guess. Best Erick On Mon, Sep 22, 2008 at 4:46 AM, Giannandrea Castaldi <[EMAIL PROTECTED] > wrote: > Hi, > In my webapp I'm trying to use the lucene api to build queries > instead of the QueryParser but I haven't found out where to specify > the Analyzer. Any help? > Thanks. > > jean71 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >