lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: multiple instances of fields or attributes
Date Thu, 07 Feb 2008 16:03:58 GMT

Erik Hatcher wrote:
> 
> 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)>

> 

Allright, I admit, I'm thick, I read it, but I don't get it.
Does anyone have an example of how this works ?
(or an explanation in plain French-speaker-friendly tutorial-like English ?)

Thanks,
André



Mime
View raw message