We used the 'fields' parameter on a search query to select only a few fields from our documents. When esengine constructed the objects with the results of the search, all the other unselected fields from the mapping of the document where initialized with a default value, which were different from what was really stored.
ESEngine should raise an exception if someone tries to use unselected fields. Another possible solution would be to create a view document.
We used the 'fields' parameter on a search query to select only a few fields from our documents. When esengine constructed the objects with the results of the search, all the other unselected fields from the mapping of the document where initialized with a default value, which were different from what was really stored.
ESEngine should raise an exception if someone tries to use unselected fields. Another possible solution would be to create a view document.