Re: FileDocument - Confused and Need Help.

2007-09-03 Thread Sagar Naik
Hey Have a look at "org.apache.lucene.document.DateTools" class I think u need not edit Document.java . U shud be able to use existing classes (atleast from the email content so far) Also, take a look at org.apache.lucene.queryParser.QueryParser for the DateTools usage -

Re: formalizing a query

2007-08-15 Thread Sagar Naik
Hey, I think u can try : MultiFieldQueryParser.parse(String[] queries, String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer) The flags arrray will get u ORs and ANDs in places u need - Sagar Naik Abu Abdulla alhanbali wrote: Thanks for the help, please provide the code to