Let's say my index has two fields (Type and Description). Type is either 0 or 1 and Description is a string (up to 250 characters). I'd like to execute the following search:
+Description:Honda* +Type:0 Would the query run faster if I specify the Type first: +Type:0 +Description:Honda* I imagine it's much faster for Lucene to evaluate the Type clause than the Description clause. Is Lucene smart enough to filter out the Type 1 documents first before evaluating the more expensive wildcard clause? I'd like to understand (at a high level) how Lucene would process the query above. Thank you. _________________________________________________________________ Get more out of the Web. Learn 10 hidden secrets of Windows Live. http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008