Re: Query Tuning

2005-02-21 Thread Paul Elschot
On Monday 21 February 2005 20:43, Todd VanderVeen wrote: > Runde, Kevin wrote: > > >Hi All, > > > >How does Lucene handle multi term queries? Does it use short circuiting? > >So if a user entered: > >(a OR b) AND c > >But my program knew testing for "c" is cheaper than testing for "(a OR > >b)" an

Re: Query Tuning

2005-02-21 Thread Todd VanderVeen
Runde, Kevin wrote: Hi All, How does Lucene handle multi term queries? Does it use short circuiting? So if a user entered: (a OR b) AND c But my program knew testing for "c" is cheaper than testing for "(a OR b)" and I rewrote the query as: c AND (a OR b) Would the query run faster? Sorry if this h

Re: Query Tuning

2005-02-21 Thread Paul Elschot
On Monday 21 February 2005 19:59, Runde, Kevin wrote: > Hi All, > > How does Lucene handle multi term queries? Does it use short circuiting? > So if a user entered: > (a OR b) AND c > But my program knew testing for "c" is cheaper than testing for "(a OR > b)" and I rewrote the query as: > c AND (