Re: stored=true vs stored=false, in terms of storage

2014-03-27 Thread Jack Krupansky
You can consider DocValues as well. There you can control whether they ever 
use heap memory or only file space.


See:
https://cwiki.apache.org/confluence/display/solr/DocValues

-- Jack Krupansky

-Original Message- 
From: Pramod Negi

Sent: Wednesday, March 26, 2014 1:27 PM
To: solr-user@lucene.apache.org
Subject: stored=true vs stored=false, in terms of storage

Hi,

I am using Solr and I have one doubt.

If any field has stored=false, does it mean that this fields is stored in
disk and not in main memory. and this will be loaded whenever asked.


The scenario I would like to handle this, In my case there are lots of
information which I need to show when debugQuery=true, so i can take the
latency hit on debugQuery=true.

Can i save all the information in a field with indexed=false and
stored=true.

And how do normally DebugInformation is saved


Regards,
Pramod Negi 



stored=true vs stored=false, in terms of storage

2014-03-26 Thread Pramod Negi
Hi,

I am using Solr and I have one doubt.

If any field has stored=false, does it mean that this fields is stored in
disk and not in main memory. and this will be loaded whenever asked.


The scenario I would like to handle this, In my case there are lots of
information which I need to show when debugQuery=true, so i can take the
latency hit on debugQuery=true.

Can i save all the information in a field with indexed=false and
stored=true.

And how do normally DebugInformation is saved


Regards,
Pramod Negi


Re: stored=true vs stored=false, in terms of storage

2014-03-26 Thread Rafał Kuć
Hello!

Stored fields, the one with stored=true, mean that the original value
of the field is stored and can be retrieved with the document in
search results. Fields marked as stored=false can't be retrieved
during searching. That is the difference.

-- 
Regards,
 Rafał Kuć
Performance Monitoring * Log Analytics * Search Analytics
Solr  Elasticsearch Support * http://sematext.com/


 Hi,

 I am using Solr and I have one doubt.

 If any field has stored=false, does it mean that this fields is stored in
 disk and not in main memory. and this will be loaded whenever asked.


 The scenario I would like to handle this, In my case there are lots of
 information which I need to show when debugQuery=true, so i can take the
 latency hit on debugQuery=true.

 Can i save all the information in a field with indexed=false and
 stored=true.

 And how do normally DebugInformation is saved


 Regards,
 Pramod Negi