Re: what is precisionStep and positionIncrementGap:

2012-06-29 Thread Erick Erickson
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

RE: what is precisionStep and positionIncrementGap

2012-06-28 Thread ZHANG Liang F
看了你的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

Re: what is precisionStep and positionIncrementGap

2012-06-28 Thread Li Li
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

RE: what is precisionStep and positionIncrementGap

2012-06-28 Thread ZHANG Liang F
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

Re: what is precisionStep and positionIncrementGap

2012-06-27 Thread Li Li
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

what is precisionStep and positionIncrementGap:

2012-06-25 Thread ZHANG Liang F
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!