I have moved from my approach: Query query = QueryParser.parse("big lucene expression", "afield", LuceneHelper.getAnalyzer());
to building the query based on BooleanQuery, PhareQuery, TermQuery etc...But before the analyzer was doing a bunch of work in my incoming words, and I dont see an easy way to do the same sort of stuff to the incoming words used in PhareQuery, TermQuery etc. Isnt there such a way I miss to see? Any example somewhere (LIA etc) thanks On 12/17/05, Yonik Seeley <[EMAIL PROTECTED]> wrote: > Ah, sorry. > > Still, this doesn't seem like the most desirable behavior. > It would be nice if we could fine a way to fix it. > > -Yonik > > On 12/16/05, javier muguruza <[EMAIL PROTECTED]> wrote: > > Yonik, > > > > this was due to the additional parenthses I was using, see my last > > email. I think I'll rewrite with the lucene api as Erik said. > > > > thanks, > > javi > > > > > > On 12/16/05, Yonik Seeley <[EMAIL PROTECTED]> wrote: > > > I can't reproduce this behavior with the current version of Lucene. > > > > > > +text:solar => 112 docs > > > +text:"a a a" => 0 docs because a is a stop word > > > +text"solar" +text:"a a a" => 112 docs > > > > > > -Yonik > > > > > > > > > On 12/15/05, javier muguruza <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > > > > > Suppose I have a query like this: > > > > +attachments:purpose > > > > that returns N hits. > > > > If I add another condition > > > > +attachments:purpose +attachments:"hello world" > > > > I still get some hits, but if the words in the "hello world" phrase > > > > happen to be all stop words I get 0 hits. > > > > > > > > I can fix that by checking at least one of them is not a stop word, > > > > but just wanted to know wether thats expected behaviour. > > > > > > > > > > > > Im using lucene1.9rc. > > > > thanks > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]