[Yanel-dev] lucene index
Michael Wechner
michael.wechner at wyona.com
Thu Dec 9 15:20:40 CET 2010
Hi Paul
On 12/9/10 3:00 PM, Paul Bakker wrote:
> Hi,
>
> Can somebody tell me what will happen if I delete the lucene index
> from my realm?
> Will it get rebuilt somehow?
yes, but only incrementally, whereas IIRC the searcher will throw an
exception if no index exists yet, hence
if you delete the index and search right away, then you will receive an
error, whereas if you delete the index, modify some data and then search
you will be fine.
But I guess you are rather looking for something like
src/core/java/org/wyona/yarep/util/YarepUtil.java#indexRepository(Repository)
?
HTH
Michael
>
> Thanks,
> Paul
More information about the Yanel-development
mailing list