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.
some stuff
more things
看了你的blog,写得相当不错啊!
我有一个网站www.ecmkit.com,专注内容管理的。有空多交流!
-Original Message-
From: Li Li [mailto:fancye...@gmail.com]
Sent: 2012年6月28日 15:54
To: solr-user@lucene.apache.org
Subject: Re: what is precisionStep and positionIncrementGap
read "How it works" of
http://lucene.apach
ache.org
> Subject: Re: what is precisionStep and positionIncrementGap
>
> 1. precisionStep is used for ranging query of Numeric Fields. see
> http://lucene.apache.org/core/old_versioned_docs/versions/3_5_0/api/all/org/apache/lucene/search/NumericRangeQuery.html
> 2. positionIncrementGap
Thanks a lot, but the precisionStep is still very vague to me! Could you give
me a example?
-Original Message-
From: Li Li [mailto:fancye...@gmail.com]
Sent: 2012年6月28日 11:25
To: solr-user@lucene.apache.org
Subject: Re: what is precisionStep and positionIncrementGap
1. precisionStep
1. precisionStep is used for ranging query of Numeric Fields. see
http://lucene.apache.org/core/old_versioned_docs/versions/3_5_0/api/all/org/apache/lucene/search/NumericRangeQuery.html
2. positionIncrementGap is used for phrase query of multi-value fields
e.g. doc1 has two titles.
title1: ab cd
Hi,
in the schema.xml, usually there will be fieldType definition like this:
the precisionStep and positionIncrementGap is not very clear to me. Could you
please elaborate more on these 2?
Thanks!