Re: Problems Refactoring a Lucene Index

2016-08-22 Thread Michael McCandless
L FROM YOUR SYSTEM AND DESTROY ANY COPIES. > > > > *From:* Michael McCandless [mailto:luc...@mikemccandless.com] > *Sent:* Monday, August 22, 2016 4:38 PM > *To:* Stuart Goldberg > *Cc:* Lucene Users > > *Subject:* Re: Problems Refactoring a Lucene Index > > >

RE: Problems Refactoring a Lucene Index

2016-08-22 Thread Stuart Goldberg
AND DESTROY ANY COPIES. From: Michael McCandless [mailto:luc...@mikemccandless.com] Sent: Monday, August 22, 2016 4:38 PM To: Stuart Goldberg Cc: Lucene Users Subject: Re: Problems Refactoring a Lucene Index The design is indeed trappy, and many users have hit the situation you have

Re: Problems Refactoring a Lucene Index

2016-08-22 Thread Michael McCandless
E THIS > E-MAIL FROM YOUR SYSTEM AND DESTROY ANY COPIES. > > > > *From:* Michael McCandless [mailto:luc...@mikemccandless.com] > *Sent:* Monday, August 22, 2016 10:48 AM > *To:* Lucene Users ; sgoldb...@fixflyer.com > *Subject:* Re: Problems Refactoring a Lucene Index &g

RE: Problems Refactoring a Lucene Index

2016-08-22 Thread Stuart Goldberg
SENDER BY REPLY EMAIL AND PLEASE DELETE THIS E-MAIL FROM YOUR SYSTEM AND DESTROY ANY COPIES. From: Michael McCandless [mailto:luc...@mikemccandless.com] Sent: Monday, August 22, 2016 10:48 AM To: Lucene Users ; sgoldb...@fixflyer.com Subject: Re: Problems Refactoring a Lucene Index This

Re: Problems Refactoring a Lucene Index

2016-08-22 Thread Michael McCandless
This is unfortunately "by design": Lucene makes no guarantees that the Document you retrieve from an IndexReader is precisely the same Document you had indexed. Lucene only preserves the metadata it needs for each field. Your only recourse is to create a new Document using your application level