Re: Indexed & stored

2015-08-13 Thread Alexandre Rafalovitch
Correct. In fact, faceting pulls its values normally from the indexed terms anyway. It completely ignores stored. Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter: http://www.solr-start.com/ On 13 August 2015 at 19:49, Nagasharath wrote: > If I just want faceting(no search) c

Re: Indexed & stored

2015-08-13 Thread Nagasharath
If I just want faceting(no search) can I set stored='false' and docValues='true' with indexed='true' > On 13-Aug-2015, at 5:21 pm, Erick Erickson wrote: > > DocValues, stored and indexed are all independent. > So no, docValues is not an alternative to stored. > > Best, > Erick > > On Thu, Au

Re: Indexed & stored

2015-08-13 Thread Erick Erickson
DocValues, stored and indexed are all independent. So no, docValues is not an alternative to stored. Best, Erick On Thu, Aug 13, 2015 at 2:51 PM, naga sharathrayapati wrote: > Do we need to specify stored='true' even when we specify docValues='true' > in the schema > > is docValues not the alter

Re: Indexed & stored

2015-08-13 Thread naga sharathrayapati
Do we need to specify stored='true' even when we specify docValues='true' in the schema is docValues not the alternate of stored? On Thu, Aug 13, 2015 at 2:48 PM, Shawn Heisey wrote: > On 8/13/2015 9:07 AM, Erick Erickson wrote: > > No. But how do they default to "true"? In the fieldType? Which

Re: Indexed & stored

2015-08-13 Thread Shawn Heisey
On 8/13/2015 9:07 AM, Erick Erickson wrote: > No. But how do they default to "true"? In the fieldType? Which will be > potentially different for different fieldTypes, so as a matter of style I > prefer > to list them in the field definition. But that's not necessary. I previously looked at the co

Re: Indexed & stored

2015-08-13 Thread Edward Ribeiro
My two cents, If anything else, declaring them as indexed="true" and stored="true" helps to auto document the schema and make its options explicit. Best, Eddie On Thu, Aug 13, 2015 at 12:07 PM, Erick Erickson wrote: > No. But how do they default to "true"? In the fieldType? Which will be > po

Re: Indexed & stored

2015-08-13 Thread naga sharathrayapati
what if i do something like this in the schema will the filed name be stored? or not stored? as i have not specified in the schema as stored='true'/'false'. On Thu, Aug 13, 2015 at 10:07 AM, Erick Erickson wrote: > No. But how do they default to "true"? In the fieldType? Which will be > poten

Re: Indexed & stored

2015-08-13 Thread Erick Erickson
No. But how do they default to "true"? In the fieldType? Which will be potentially different for different fieldTypes, so as a matter of style I prefer to list them in the field definition. But that's not necessary. Best, Erick On Wed, Aug 12, 2015 at 4:42 PM, Nagasharath wrote: > As stored & in