Re: Optional Terms in a single query

2005-02-21 Thread Todd VanderVeen
as expected. Thanks! Luke - Original Message - From: "Todd VanderVeen" <[EMAIL PROTECTED]> To: "Lucene Users List" Sent: Monday, February 21, 2005 6:26 PM Subject: Re: Optional Terms in a single query Luke Shannon wrote: The API I'm working with co

Re: Optional Terms in a single query

2005-02-21 Thread Todd VanderVeen
oleanQuery(); finalQuery.add(query1, false, true); finalQuery.add(query2, true, false); finalQuery.add(query3, true, false); Cheers, Todd VanderVeen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Optional Terms in a single query

2005-02-21 Thread Todd VanderVeen
Luke Shannon wrote: Hi; I'm trying to create a query that look for a field containing type:181 and name doesn't contain tim, bill or harry. +(type: 181) +((-name: tim -name:bill -name:harry +oldfaith:stillHere)) +(type: 181) +((-name: tim OR bill OR harry +oldfaith:stillHere)) +(type: 181) +((-name

Re: Query Tuning

2005-02-21 Thread Todd VanderVeen
might consider rewriting it to (a and c) or (b and c) using DeMorgan's law. Expansion like this isn't always beneficial and can't be applied blindly. As far as I can tell there is no query planning/optimization aside from the merging of related clauses and attempts to rewrite

Storage Cost of Indexed, Untokenized Fields

2005-02-07 Thread Todd VanderVeen
structure? Thanks, Todd VanderVeen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]