Using Lucene to Search Java Source Code
Subject:   Searching on multiple fields
Date:   2008-03-20 02:27:15
From:   天草剑歌
Response to: Searching on multiple fields

sorry,my english is poor.
in my opinion,
in "Query query = QueryParser.parse(q, "code", analyzer);", "code" is specify the default field when the query string isn't specify field.

in "q="imports:some code:some""

"import" and "code" is specify the field want to search.