% java -jar start.jar
curl http://localhost:8983/solr/update\?commit\=true -H "Content-Type: text/xml" --data-binary '<add><doc><field name="id">abc</field><field name="cat">abc abc</field></doc><doc><field name="id">def</field><field name="cat">def abc</field></doc></add>'
<fieldType name="string" class="solr.StrField" sortMissingLast="true" omitNorms="true"/> <fieldType name="text_general" class="solr.TextField" positionIncrementGap="100"> <analyzer type="index"> <tokenizer class="solr.StandardTokenizerFactory"/> <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" enablePositionIncrements="true" /> </analyzer> ... </fieldType> <field name="id" type="string" indexed="true" stored="true" required="true" /> <field name="cat" type="string" indexed="true" stored="true" multiValued="true"/> <field name="text" type="text_general" indexed="true" stored="false" multiValued="true"/> <copyField source="cat" dest="text"/>
0000000 00 01 00 01 00 02 03 03 0000010
95 if (omitTermFreqAndPositions) 96 out.writeVInt(delta); 97 else if (1 == termDocFreq) 98 out.writeVInt((delta<<1) | 1); 99 else { 100 out.writeVInt(delta<<1); 101 out.writeVInt(termDocFreq); 102 }
0000000 4e 52 4d ff 79 79 0000006
0000000 00 01 01 00 0000004
0000000 ff ff ff fc 00 00 00 00 00 00 00 06 00 00 00 80 0000020 00 00 00 10 00 00 00 0a 00 07 61 62 63 20 61 62 0000040 63 01 01 00 00 00 07 64 65 66 20 61 62 63 01 01 0000060 01 00 00 03 61 62 63 00 01 01 00 00 03 64 65 66 0000100 00 01 01 00 00 03 61 62 63 02 02 01 00 00 03 64 0000120 65 66 02 01 03 03 0000126