11.05.2016 Views

Apache Solr Reference Guide Covering Apache Solr 6.0

21SiXmO

21SiXmO

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1 =This is the stored part with \=<br />

\n \t escapes.=one two three<br />

version: 1<br />

stored: "This is the stored part with =<br />

\t escapes."<br />

token: (term= one,startOffset=0,endOffset=3)<br />

token: (term= two,startOffset=4,endOffset=7)<br />

token: (term= three,startOffset=8,endOffset=13)<br />

Note that the "\t" in the above stored value is not literal; it's shown that way to visually indicate the<br />

actual tab char that is in the stored value.<br />

1 ==<br />

version: 1<br />

stored: ""<br />

(no tokens)<br />

1 =this is a test.=<br />

version: 1<br />

stored: "this is a test."<br />

(no tokens)<br />

Field Properties by Use Case<br />

Here is a summary of common use cases, and the attributes the fields or field types should have to support the<br />

case. An entry of true or false in the table indicates that the option must be set to the given value for the use<br />

case to function correctly. If no entry is provided, the setting of that attribute has no impact on the case.<br />

Use Case indexed stored multiValued omitNorms termVectors termPositions docValues<br />

search within<br />

field<br />

true<br />

retrieve<br />

contents<br />

use as<br />

unique key<br />

true<br />

true false<br />

sort on field true 7 false true 1 true 7<br />

use field<br />

false<br />

boosts 5<br />

document<br />

boosts affect<br />

searches<br />

within field<br />

false<br />

highlighting true 4 true true 2 true 3<br />

<strong>Apache</strong> <strong>Solr</strong> <strong>Reference</strong> <strong>Guide</strong> <strong>6.0</strong><br />

66

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!