Where is _source stored?

Hello,

Where is the content of _source (the original doc in JSON format) in
the results stored?
Is it stored verbatim some place along side the index, or is it
reconstructed from stored field values (which would imply all fields
need to be stored in underlying Lucene index)?

Thanks,
Otis

Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/

Hi,

It can be found in the Lucene index.
If you use Luke 1.0.1, switch to Document tab and pick any document from
Elasticsearch index, then you can see the original JSON content.
(Right-click on the _source row, select "Show Full Text" and change "Show
content as:" to "String default enc.")

Regards,
Lukas

On Wed, Jun 16, 2010 at 6:38 AM, Otis otis.gospodnetic@gmail.com wrote:

Hello,

Where is the content of _source (the original doc in JSON format) in
the results stored?
Is it stored verbatim some place along side the index, or is it
reconstructed from stored field values (which would imply all fields
need to be stored in underlying Lucene index)?

Thanks,
Otis

Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/