You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Pramod Negi <ne...@gmail.com> on 2014/03/26 18:27:08 UTC
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
Re: stored=true vs stored=false, in terms of storage
Posted by Jack Krupansky <ja...@basetechnology.com>.
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
Re: stored=true vs stored=false, in terms of storage
Posted by Rafał Kuć <r....@solr.pl>.
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