Thanks a lot Erik. I just wanted to confirm this.
Regards,
On Fri, Apr 18, 2008 at 7:34 PM, Erick Erickson <[EMAIL PROTECTED]>
wrote:
> They'll be in synch forever unless and until you *change* the index. Once
> you do anything with an IndexWriter, you have to be very careful about
> relying on
They'll be in synch forever unless and until you *change* the index. Once
you do anything with an IndexWriter, you have to be very careful about
relying on doc IDs.
But remember that opening a searcher takes a snapshot of the index and
that reader/searcher will NOT see changes. So you could think
Hi Erik Thanks for you prompt reply.
So if i refresh the searcher in every one hour and that time itself if i
refresh this cache also, is this going to work? I mean will the document ids
will be in sync for that one hour.
On Fri, Apr 18, 2008 at 2:02 AM, Erick Erickson <[EMAIL PROTECTED]>
wrote:
Doc IDs are NOT permanent. If you don't change your index at all
(delete especially, but sometimes adding/optimizing can chage IDs)
then you can re-use them. Otherwise not.
On Thu, Apr 17, 2008 at 1:45 PM, Shailendra Mudgal <
[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I have a small confusion regar
Hi All,
I have a small confusion regarding the document ids which we collect using
HitCollector.collect() method. Here is the description of the confusion :
First i created a FieldCache of type > using a
query which collects all the articles which are only a month old. I am
storing them into a ma