elasticsearch-grails-plugin icon indicating copy to clipboard operation
elasticsearch-grails-plugin copied to clipboard

Index but do not store

Open msmolyak opened this issue 12 years ago • 0 comments

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?

msmolyak avatar May 25 '12 19:05 msmolyak