> This is a repost of a question posted to jGuru Lucene Forum. > Didn't get a response there so I'm trying my luck here... > > What's the recommended way of performing multi-field searches? > > a.. Programmatically adding a :[field] for each field to the > query and parsing this query?
Just use the query parser, you can specify field specific searches using the format field:text. Eg, "title:cat author:james" Dave Kor Kian Wei Consultant Product Engineering NexusEdge Technologies Pte. Ltd. 6 Aljunied Ave 3, #01-02 (Level 4) Singapore 389932 Tel : (+65)848-2552 Fax : (+65)747-4536 Web : www.nexusedge.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>