The domain classes are defined as Groovy classes with compass annotations (see my original post). Each class maps directly to a DB table and when the application starts up, Compass automatically reads the relevant tables and adds the data to the index.
Lukáš Vlček wrote: > > Don, > To me it seems as if there is only one document in your index, and > moreover > the only document has mutifield courseName and mandatory fields (this > means > you will get the same result even if you query +courseName:art > +mandatory:N). > Do you think you can share how you create your domain objects and how you > push them into index? > > Did you check you transaction logic? Are you sure you indexed all the > domain > objects you wanted? > > Lukas > > -- View this message in context: http://www.nabble.com/Querying-across-object-relationships-tp24727196p24747695.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org