It looks like SpanNotQuery's rewrite get the following loop in
IndexSearcher in an infinite loop:
for (Query rewrittenQuery = query.rewrite(reader); rewrittenQuery
!= query;
rewrittenQuery = query.rewrite(reader)) {
query = rewrittenQuery;
}
Got to go make dinner...
Otis
--- Otis Gospodnetic <[EMAIL PROTECTED]> wrote:
> I lied.
>
> > I had the same problem, but thought an issue was on my end.
> > Just tried it now, and it went through, all tests passed.... twice.
>
> That was on a different machine. I just did svn up, followed by ant
> test, and things hang. svn up brought this:
>
> U common-build.xml
> U CHANGES.txt
> U
> src/test/org/apache/lucene/queryParser/TestMultiFieldQueryParser.java
> U src/test/org/apache/lucene/queryParser/TestQueryParser.java
> A src/test/org/apache/lucene/search/TestMatchAllDocsQuery.java
> D src/test/org/apache/lucene/index/store/FSDirectoryTestCase.java
> A src/test/org/apache/lucene/index/store/FSDirectoryTest.java
> U src/test/org/apache/lucene/index/TestParallelReader.java
> U src/java/org/apache/lucene/queryParser/MultiFieldQueryParser.java
> U src/java/org/apache/lucene/queryParser/QueryParser.java
> U src/java/org/apache/lucene/queryParser/QueryParser.jj
> U src/java/org/apache/lucene/search/FieldDocSortedHitQueue.java
> U src/java/org/apache/lucene/search/BooleanScorer2.java
> A src/java/org/apache/lucene/search/MatchAllDocsQuery.java
> U src/java/org/apache/lucene/search/spans/SpanFirstQuery.java
> U src/java/org/apache/lucene/search/spans/SpanNotQuery.java
> U src/java/org/apache/lucene/search/spans/SpanOrQuery.java
> U src/java/org/apache/lucene/search/spans/SpanNearQuery.java
> U src/java/org/apache/lucene/index/MultipleTermPositions.java
> U src/java/org/apache/lucene/index/ParallelReader.java
> U src/java/org/apache/lucene/index/SegmentReader.java
> U src/java/org/apache/lucene/store/FSDirectory.java
>
> It's the testSpanNot that's problematic... traced it into Query
> rewrite(IndexReader) method, which makes me think it has to do with
> the
> recent addition of rewrite methods for the Span Query family...
>
> Otis
>
> > --- Marvin Humphrey <[EMAIL PROTECTED]> wrote:
> >
> > >
> > > On Sep 20, 2005, at 2:57 PM, Yonik Seeley wrote:
> > >
> > > > I'm using Lucene 1.9 for the first time (migrating from Lucene
>
> > > > 1.4.3) and
> > > > building from the latest version in SVN.
> > > > How long should "ant test" take? It seems to progress normally,
>
> > > > then freezes
> > > > after TestWildcard (have been waiting like 20 minutes). The CPU
> > is
> > >
> > > > still
> > > > spinning doing something...
> > >
> > > I had the same experience this morning. It seems to be stuck on
>
> > > org.apache.lucene.search.spans.TestBasics -- I gave up and hit
> > > control-C.
> > >
> > > Marvin Humphrey
> > > Rectangular Research
> > > http://www.rectangular.com/
> > >
> > >
> > >
> >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]