I did this test. Here is my schema.xml (setting stored="false" explicitly though it should be default):
<schema name="minimal" version="1.1"> <types> <fieldType name="string" class="solr.StrField" /> <fieldType name="score" class="solr.TrieFloatField" precisionStep="32" omitNorms="true" omitTermFreqAndPositions="true" /> <!-- not optimized for RangeQueries --> <fieldType name="text" class="solr.TextField"> <analyzer class="org.apache.lucene.analysis.standard.StandardAnalyzer" /> </fieldType> </types> <fields> <field name="id" type="string" indexed="true" required="true" stored="false" /> <field name="players" type="text" indexed="true" stored="false" /> <dynamicField name="score_*" type="score" indexed="true" stored="false" /> </fields> <uniqueKey>id</uniqueKey> <defaultSearchField>players</defaultSearchField> <solrQueryParser defaultOperator="OR"/> </schema> I indexed a single document via the sol4j api: // todo: make addings Fields extensible, i.e. by creating a SolrInputDocumentBuilder class using multiple ReportToField subclasses final SolrInputDocument doc = new SolrInputDocument(); doc.addField("id", String.valueOf(UUID.randomUUID().toString())); doc.addField("players", "One morning, when Gregor Samsa woke from troubled dreams, he found himself transformed in his bed into a horrible vermin. He lay on his armour-like back, and if he lifted his head a little he could see his brown belly, slightly domed and divided by arches into stiff sections. The bedding was hardly able to cover it and seemed ready to slide off any moment. His many legs, pitifully thin compared with the size of the rest of him, waved about helplessly as he looked. \"What's happened to me? \" he thought. It wasn't a dream. His room, a proper human room although a little too small, lay peacefully between its four familiar walls. A collection of textile samples lay spread out on the table - Samsa was a travelling salesman - and above it there hung a picture that he had recently cut out of an illustrated magazine and housed in a nice, gilded frame. It showed a lady fitted out with a fur hat and fur boa who sat upright, raising a heavy fur muff that covered the whole of her lower arm towards the viewer. Gregor then turned to look out the window at the dull weather."); // dynamic score field no shown here return doc; Then I went to http://localhost:8080/solr/#/history/query (my core being called history) and ran a search for *:* which gives me: { "responseHeader":{ "status":0, "QTime":1, "params":{ "indent":"true", "q":"*:*", "wt":"json"}}, "response":{"numFound":1,"start":0,"docs":[ { "id":"670e976d-6b36-45fe-9f1a-38499cbd36f2", "players":"One morning, when Gregor Samsa woke from troubled dreams, he found himself transformed in his bed into a horrible vermin. He lay on his armour-like back, and if he lifted his head a little he could see his brown belly, slightly domed and divided by arches into stiff sections. The bedding was hardly able to cover it and seemed ready to slide off any moment. His many legs, pitifully thin compared with the size of the rest of him, waved about helplessly as he looked. \"What's happened to me? \" he thought. It wasn't a dream. His room, a proper human room although a little too small, lay peacefully between its four familiar walls. A collection of textile samples lay spread out on the table - Samsa was a travelling salesman - and above it there hung a picture that he had recently cut out of an illustrated magazine and housed in a nice, gilded frame. It showed a lady fitted out with a fur hat and fur boa who sat upright, raising a heavy fur muff that covered the whole of her lower arm towards the viewer. Gregor then turned to look out the window at the dull weather.", "score_344835693":1269.0, "score_383098488":1423.0}] }} So how can it rebuild the contents of the "players" field if it is stored="false"? On Fri, Nov 16, 2012 at 11:52 AM, Upayavira <u...@odoko.co.uk> wrote: > Er, it can't. What are you seeing that seems wrong? > > Upayavira > > On Fri, Nov 16, 2012, at 10:13 AM, Reik Schatz wrote: > > This might be a silly question but if I search *.* in the admin tool, how > > can it show me the full document including all the fields that are set to > > stored="false" or that don't have stored="true" at least. Where does Solr > > get the information about the original content from? For Text fields > > shouldn't it only keep the indexed terms. >