DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=33835>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=33835 Summary: Object reference error Product: Lucene Version: CVS Nightly - Specify date in submission Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P3 Component: Index AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] ej: search for: * PhrasePrefixQuery * .SetSlop(10) * .Add() with: IndexReader.Terms( new Term(field, word1+"*") ) * .Add() with: IndexReader.Terms( new Term(field, word2+"*") ) in MultipleTermPositions.java - "public bool SkipTo(int target)" it is posible that "_termPositionsQueue.Peek()" returns null I changed the source from: public bool SkipTo(int target) { while ( target > _termPositionsQueue.Peek().Doc()) { to public bool SkipTo(int target) { TermPositions tpT = null ; while ( (tpT = _termPositionsQueue.Peek()) !=null && target > tpT.Doc()) { is that ok? TIA -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
