Re: WhiteSpaceTokenizer

2014-08-15 Thread Jack Krupansky
-user@lucene.apache.org Subject: Re: WhiteSpaceTokenizer Thanks, Jack. I haven't added myself to the contributor list yet, will do that and then login and comment on that ticket. One quick comment: wouldn't it be more reasonable to throw exception it a token length is more than 255, if relaxin

Re: WhiteSpaceTokenizer

2014-08-15 Thread Sheng
Thanks, Jack. I haven't added myself to the contributor list yet, will do that and then login and comment on that ticket. One quick comment: wouldn't it be more reasonable to throw exception it a token length is more than 255, if relaxing that limit is still debatable? This way user would know imm

Re: WhiteSpaceTokenizer

2014-08-15 Thread Jack Krupansky
Yeah, it should be documented better, and configurable. Some discussion of related issues here: https://issues.apache.org/jira/browse/LUCENE-1118 https://issues.apache.org/jira/browse/SOLR-4148 I actually filed a Jira for this already. No action so far, but PLEASE feel free to comment on it: h

Re: WhitespaceTokenizer, incrementToke() ArrayOutOfBoundException

2013-04-15 Thread Jack Krupansky
:53 AM To: java-user@lucene.apache.org Subject: RE: WhitespaceTokenizer, incrementToke() ArrayOutOfBoundException Hi, It was always mandatory! In Lucene 2.x/3.x some Tokenizers just returned bogus, undefined stuff if not correctly reset before usage, especially when Tokenizers are "reused&q

RE: WhitespaceTokenizer, incrementToke() ArrayOutOfBoundException

2013-04-15 Thread Uwe Schindler
213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message- > From: Jack Krupansky [mailto:j...@basetechnology.com] > Sent: Monday, April 15, 2013 4:25 PM > To: java-user@lucene.apache.org > Subject: Re: WhitespaceTokenizer, incrementToke() > ArrayOutOfBound

RE: WhitespaceTokenizer, incrementToke() ArrayOutOfBoundException

2013-04-15 Thread andi rexha
Thank you, that was the reason. > From: j...@basetechnology.com > To: java-user@lucene.apache.org > Subject: Re: WhitespaceTokenizer, incrementToke() ArrayOutOfBoundException > Date: Mon, 15 Apr 2013 10:25:26 -0400 > > I didn't read your code, but do you have the "

Re: WhitespaceTokenizer, incrementToke() ArrayOutOfBoundException

2013-04-15 Thread Jack Krupansky
I didn't read your code, but do you have the "reset" that is now mandatory and throws AIOOBE if not present? -- Jack Krupansky -Original Message- From: andi rexha Sent: Monday, April 15, 2013 10:21 AM To: java-user@lucene.apache.org Subject: WhitespaceTokenizer, incrementToke() ArrayO