You can answer an awful lot of this much faster than waiting for someone to reply by getting a copy of Luke and look at the parse results using various analyzers.
And you can use query.toString() to see the parsed results as well. Try KeywordAnalyzer for your query. Combine queries programmaticaly with BooleanQuery. Best Erick On Jan 14, 2008 6:23 AM, <[EMAIL PROTECTED]> wrote: > > > How can I search for fields stored with Field.Index.UN_TOKENIZED? > > > > Use TermQuery. > > > > > Why do I need an analyzer for searching? > > > > Consider a full-text field that will be tokenized removing special > > characters and lowercased, and then a user querying for an uppercase > > word. The main thing is that queries need to jive with how things > > got indexed, Analyzer in the mix or not. > > OK. > So I have to use TermQuery when I want to search on UN_TOKENIZED fields. > And what Query-Class for TOKENIZED fields? > And then combine both into what Query? > > Thank you. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >