Dim qp1 As New QueryParser(\"filename\", New StandardAnalyzer()) Dim qp2 As New QueryParser(\"filetext\", New StandardAnalyzer()) . .
I am using th
for each field create a query from the above queryparsers, then add the query to a booleanquery stating that it "must" occur.
Alternatively, check out the MultiFieldQueryParser, which is a simplified way of doing it.