lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: multiple instances of fields or attributes
Date Thu, 07 Feb 2008 15:14:21 GMT

On Feb 4, 2008, at 2:36 PM, André Warnier wrote:
> Erik Hatcher wrote:
>> Yes, Lucene supports multiple instances of same-named fields.    
>> There is one trick you'll need to leverage for the proximity  
>> operators to work as you expect - positionIncrementGap.
> Thanks.
> Could you point me to some item of documentation that mentions this  
> "positionIncrementGap" ?  That's a Query parameter I presume ?

It is an Analyzer setting:

<http://lucene.apache.org/java/2_3_0/api/core/org/apache/lucene/ 
analysis/Analyzer.html#getPositionIncrementGap(java.lang.String)>



Mime
View raw message