NHS: Index exist

1 view
Skip to first unread message

Jokin Cuadrado

unread,
Jun 27, 2008, 5:36:25 AM6/27/08
to NHibernate Contrib - Development Group
i have submited a patch to the sourceforge tracker:

https://sourceforge.net/tracker/index.php?func=detail&aid=2003901&group_id=216446&atid=1037713

Its about how to check if an index exist or not, currently it only
test if the "segments" file is present, it could fail because the new
lucene versions use a segments.gen file, plus a sequential generation
segments_xxx file. So I change to call a lucene IndexReader.IndexExist
static function, that takes in account this cases.

By the way, what is the best place to submit patches to NHS?, I have
seen the sourceforge nhcontrib project, the files section in this
mailing list, but both of them have very small patch number.
Reply all
Reply to author
Forward
0 new messages