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
hu, Jun 28, 2012 at 3:51 PM, ZHANG Liang F
wrote:
> 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.ap
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