Re: Doing a join?

2004-04-24 Thread jitender ahuja
ot; is the file that stores the 3 fields Analyzer analyzer = new StandardAnalyzer(); Query query = QueryParser.parse(searchStr, "Class_Id", analyzer); Hits hits = indexSrch.search(query); for( int i=0; i To: "Lucene Users List" <[EMAIL PROTECTED]> Sent: Thursday, April 22,

Re: Doing a join?

2004-04-24 Thread jitender ahuja
ot; is the file that stores the 3 fields Analyzer analyzer = new StandardAnalyzer(); Query query = QueryParser.parse(searchStr, "Class_Id", analyzer); Hits hits = indexSrch.search(query); for( int i=0; i To: "Lucene Users List" <[EMAIL PROTECTED]> Sent: Thursday, April 22,

Doing a join?

2004-04-22 Thread Rob Jose
Is it possible to do a join on two fields when searching a Lucene Index. For example, I have an index of documents that have a "StudentName" and a "StudentId" field and another document that has "ClassId", "ClassName" and "StudentId". I want to do a search on "ClassId" or "ClassName" and get a lis