Announcement Announcement Module
Collapse
No announcement yet.
Disable _source field using spring data elasticsearch Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Disable _source field using spring data elasticsearch

    Hi,

    When indexing the entity(document) the default behavior is to index all the fields of the entity.
    by default source is enabled and store is disabled to all fields.
    But If I want to index some of the fields only instead of index all the fields,
    As I understood I have to disable the source and explicitly mark the fields as store yes.

    Can I disable the source for document/entity using spring data elasticsearch?
    Does it support by annotations?
    Last edited by yogya; May 26th, 2014, 11:57 PM.

  • #2
    Please, move your question to the StackOverflow - we are going to close this forum soon and rely on SO.
    We need to clean this forum (old unanswered question) before close it.

    Thanks for understanding

    Comment

    Working...
    X