tags:

views:

51

answers:

0

Hi,

I've been stumped with the problem of displaying a selected set of properties returned as a result via a Compass query in grails.

I have 300 columns in my domain class and what I'd like to do is to return ONLY THOSE values I specify (around 10 - 15 properties/fields/columns). All the 300 columns have been indexed, btw.

I know I can do this using Lucene by cycling through returned hits and selectively calling a=getField(column_name), et c. My qiuestion is, how do I do the same thing using thee Compass Grails plugin ?

Any help will gratefully be appreciated.

Thanks in anticipation,

Ombud