lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <ysee...@gmail.com>
Subject Re: Solr JUnit test methods steping on eachother?
Date Wed, 28 Apr 2010 23:54:52 GMT
On Wed, Apr 28, 2010 at 6:57 PM, Chris Hostetter
<hossman_lucene@fucit.org> wrote:
> As best i can figure the current setup isn't cleaning out the index between
> each of the running test methods

Yes, on purpose.
I've actually restructured how this tests works a lot more in
https://issues.apache.org/jira/browse/SOLR-1875 - let me commit that
before proceeding with what you are trying to add.

I actually index all of the documents only once, but in a random order
and with random commits.  This exercises many more edge cases such as
segments w/o the particular field you are faceting on, and fields
after (in term-enum sense) the field you are faceting on.

-Yonik

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message