For PrecisionStep, see:
http://lucene.apache.org/core/3_6_0/api/all/org/apache/lucene/search/NumericRangeQuery.html?is-external=true

positionIncrementgap is for multiValued text fields, it is the "space"
put between the last token of one entry and the first of the next.
e.g.
<field name="mv">some stuff</field>
<field name="mv">more things</field>

Assume the two were in a single document you added and assume the
increment gap were 100. The token positions would be 0, 1, 101 and
102. so the phrase "stuff more" wouldn't match.


Best
Erick

On Tue, Jun 26, 2012 at 1:47 AM, ZHANG Liang F
<liang.f.zh...@alcatel-sbell.com.cn> wrote:
> Hi,
> in the schema.xml, usually there will be fieldType definition like this: 
> <fieldType name="int" class="solr.TrieIntField" precisionStep="0" 
> omitNorms="true" positionIncrementGap="0"/>
>
> the precisionStep and positionIncrementGap is not very clear to me. Could you 
> please elaborate more on these 2?
>
> Thanks!

Reply via email to