mstein / elasticsearch-grails-plugin

ElasticSearch grails plugin
Based on Graeme Rocher initial stub. Note that it is still in early stage.
Other
62 stars 164 forks source link

Index but do not store #24

Open msmolyak opened 12 years ago

msmolyak commented 12 years ago

My Grails project is trying to migrate from Searchable plugin to Elastic Search plugin. One of the features available in Searchable Plugin is to specify "index" and "store" attributes for each field. The former attribute specifies whether the property can be searched upon, while the latter one determines whether the property is populated when the domain object is constructed from the search results. Does Elastic Search plugin offer a similar functionality? Can I index a property (corresponding to a 1-M relationship) as a component so that I could search on attributes of the inner objects, but not retrieve the collection of objects during search?