Change document creation in search

Fixed field creation by accessing directly from "_source"