11.05.2016 Views

Apache Solr Reference Guide Covering Apache Solr 6.0

21SiXmO

21SiXmO

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

langid.lcmap string none false A space-separated list specifying colon<br />

delimited language code mappings to<br />

apply to the detected languages. For<br />

example, you might use this to map<br />

Chinese, Japanese, and Korean to a<br />

common cjk code, and map both<br />

American and British English to a single<br />

en code by using langid.lcmap=ja:c<br />

jk zh:cjk ko:cjk en_GB:en<br />

en_US:en. This affects both the values<br />

put into the langField and langsFiel<br />

d fields, as well as the field suffixes when<br />

using langid.map, unless overridden<br />

by langid.map.lcmap<br />

langid.threshold float 0.5 no Specifies a threshold value between 0<br />

and 1 that the language identification<br />

score must reach before langid accept<br />

s it. With longer text fields, a high<br />

threshold such at 0.8 will give good<br />

results. For shorter text fields, you may<br />

need to lower the threshold for language<br />

identification, though you will be risking<br />

somewhat lower quality results. We<br />

recommend experimenting with your<br />

data to tune your results.<br />

langid.whitelist string none no Specifies a list of allowed language<br />

identification codes. Use this in<br />

combination with langid.map to ensure<br />

that you only index documents into fields<br />

that are in your schema.<br />

langid.map Boolean false no Enables field name mapping. If true, <strong>Solr</strong><br />

will map field names for all fields listed in<br />

langid.fl.<br />

langid.map.fl string none no A comma-separated list of fields for lan<br />

gid.map that is different than the fields<br />

specified in langid.fl.<br />

langid.map.keepOrig Boolean false no If true, <strong>Solr</strong> will copy the field during the<br />

field name mapping process, leaving the<br />

original field in place.<br />

langid.map.individual Boolean false no If true, <strong>Solr</strong> will detect and map<br />

languages for each field individually.<br />

langid.map.individual.fl string none no A comma-separated list of fields for use<br />

with langid.map.individual that is<br />

different than the fields specified in lang<br />

id.fl.<br />

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

234

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

Saved successfully!

Ooh no, something went wrong!