lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomoko Uchida <tomoko.uchida.1...@gmail.com>
Subject Re: Question about usage of LuceneTestCase
Date Tue, 28 Aug 2018 00:59:02 GMT
> i haven't looked closely into what exactly that "useFactory(null)" call
> does, but it's probably worth getting to the bottom of the failures and
> *IF* it's tied to some specific dir type or codec, using annotations to
> supress them -- rather then just eliminating all directory randomization.

Thanks for your advice.

I have not looked into the method "useFactory()" yet (do not have
enough time for this.)
I will take time to examine details of our failed tests, and try to
search lucene/solr test cases around Directories or Codecs to refer
to.

Thanks,
Tomoko
2018年8月28日(火) 2:15 Chris Hostetter <hossman_lucene@fucit.org>:
>
>
> : Current version of Luke supports FS based directory implementations only.
> : (I think it will be better if future versions support non-FS based custom
> : implementations, such as HdfsDirectoryFactory for users who need it.)
> : Disabling the randomization, at least for now, sounds reasonable to me too.
> : I'll try this way.
>
> Be careful with this assumption...
>
> The randomization of directory types isn't just about things like "let's
> try a RAM Dir" it also includes things like "let's randomize a dir that
> simulates Windows filesystem quirks"  -- stuff that would be very handy to
> test with re-usable tool like Luke where you expect users to run on a
> variety of platforms / filesystems.
>
> i haven't looked closely into what exactly that "useFactory(null)" call
> does, but it's probably worth getting to the bottom of the failures and
> *IF* it's tied to some specific dir type or codec, using annotations to
> supress them -- rather then just eliminating all directory randomization.
>
>
> -Hoss
> http://www.lucidworks.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>


-- 
Tomoko Uchida

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


Mime
View raw message