Disable _source field using spring data elasticsearch -


when indexing entity(document) default behavior index fields of entity. default source enabled , store disabled fields. if want index of fields instead of index fields, understood have disable source , explicitly mark fields store yes.

can disable source document/entity using spring data elasticsearch? support annotations?

if want prevent field being indexed can add field annotation this:

@field(store = false) private yourobject yourobject 

Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

qml - Is it possible to implement SystemTrayIcon functionality in Qt Quick application -

double exclamation marks in haskell -