Re: Multiple PositionIncrement attributes

2013-04-25 Thread Igor Shalyminov
how you count sentences - is 1 the current sentence or is that 0? > > -- Jack Krupansky > > -Original Message- > From: Igor Shalyminov > Sent: Thursday, April 25, 2013 6:54 AM > To: java-user@lucene.apache.org > Subject: Multiple PositionIncrement attributes > >

Re: Multiple PositionIncrement attributes

2013-04-25 Thread Jack Krupansky
: Thursday, April 25, 2013 6:54 AM To: java-user@lucene.apache.org Subject: Multiple PositionIncrement attributes Hi all! I use PositionIncrement attribute for finding words at some distance from each other. And I have two problems with that: 1) I want to search words within one sentence.

Multiple PositionIncrement attributes

2013-04-25 Thread Igor Shalyminov
Hi all! I use PositionIncrement attribute for finding words at some distance from each other. And I have two problems with that: 1) I want to search words within one sentence. A possible solution would be to set PositionIncrement of +INF (like 30 :) ) to the sentence break tag. 2) I want to use