views:

19

answers:

0

Hello,

i want to list all propertys available to the searchable plugin in a small form.
Is there a smart way to list all indexed properties by lucene/compass?

Imagine this grails domain-class:

class Person {

    String realname
    String login

    static searchable = {
        realname()
    }

}

It would be nice to get a list like (remember: without login!)

['realname']

Thanks in advance!