Re: Duplicating a document in the index.

2003-06-11 Thread Victor Hadianto
Interesting, I've never thought that it may work. I always thought you have to 
create a new document with all the fields again.

Will give it a try.

Thanks,

victor

On Tue, 10 Jun 2003 11:41 pm, Otis Gospodnetic wrote:
 Pseudo-pseudocode:

 TermQuery q = 
 Hits hits = searcher.search(q);
 Document doc = hits(1);
 writer.add(doc); // now you have who docs in the index
 writer.close();

 No?
 Have you tried this and it didn't work?

 Otis

 --- Victor Hadianto [EMAIL PROTECTED] wrote:
  On Tue, 10 Jun 2003 05:03 pm, Otis Gospodnetic wrote:
   You could add it twice.
   You could probably also get it out of the index (e.g. via search),
 
  and
 
   re-add it.
   You can have multiple instances of the same document in the index.
 
  Hmm what if the fields data is not available anymore? Is there a way
  to
  dulicate fields in the index?
 
   Otis
 
  victor
 
   --- Victor Hadianto [EMAIL PROTECTED] wrote:
Hi list,
   
Is there an easy way for duplicating a document in the index? Or
 
  can
 
someone
point me to the right direction for looking?
   
Thanks,
--
Victor Hadianto
   
NUIX Pty Ltd
Level 8, 143 York Street, Sydney 2000
Phone: (02) 9283 9010
Fax:   (02) 9283 9020
   
This message is intended only for the named recipient. If you are
 
  not
 
the
intended recipient you are notified that disclosing, copying,
distributing
or taking any action in reliance on the contents of this message
 
  or
 
attachment is strictly prohibited.
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]

 __
 Do you Yahoo!?
 Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
 http://calendar.yahoo.com

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
Victor Hadianto

NUIX Pty Ltd
Level 8, 143 York Street, Sydney 2000
Phone: (02) 9283 9010
Fax:   (02) 9283 9020

This message is intended only for the named recipient. If you are not the
intended recipient you are notified that disclosing, copying, distributing
or taking any action in reliance on the contents of this message or
attachment is strictly prohibited.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Duplicating a document in the index.

2003-06-10 Thread Otis Gospodnetic
You could add it twice.
You could probably also get it out of the index (e.g. via search), and
re-add it.
You can have multiple instances of the same document in the index.

Otis

--- Victor Hadianto [EMAIL PROTECTED] wrote:
 Hi list,
 
 Is there an easy way for duplicating a document in the index? Or can
 someone 
 point me to the right direction for looking?
 
 Thanks,
 -- 
 Victor Hadianto
 
 NUIX Pty Ltd
 Level 8, 143 York Street, Sydney 2000
 Phone: (02) 9283 9010
 Fax:   (02) 9283 9020
 
 This message is intended only for the named recipient. If you are not
 the
 intended recipient you are notified that disclosing, copying,
 distributing
 or taking any action in reliance on the contents of this message or
 attachment is strictly prohibited.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Duplicating a document in the index.

2003-06-10 Thread Victor Hadianto
On Tue, 10 Jun 2003 05:03 pm, Otis Gospodnetic wrote:
 You could add it twice.
 You could probably also get it out of the index (e.g. via search), and
 re-add it.
 You can have multiple instances of the same document in the index.

Hmm what if the fields data is not available anymore? Is there a way to 
dulicate fields in the index?


 Otis
victor


 --- Victor Hadianto [EMAIL PROTECTED] wrote:
  Hi list,
 
  Is there an easy way for duplicating a document in the index? Or can
  someone
  point me to the right direction for looking?
 
  Thanks,
  --
  Victor Hadianto
 
  NUIX Pty Ltd
  Level 8, 143 York Street, Sydney 2000
  Phone: (02) 9283 9010
  Fax:   (02) 9283 9020
 
  This message is intended only for the named recipient. If you are not
  the
  intended recipient you are notified that disclosing, copying,
  distributing
  or taking any action in reliance on the contents of this message or
  attachment is strictly prohibited.
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Duplicating a document in the index.

2003-06-09 Thread Victor Hadianto
Hi list,

Is there an easy way for duplicating a document in the index? Or can someone 
point me to the right direction for looking?

Thanks,
-- 
Victor Hadianto

NUIX Pty Ltd
Level 8, 143 York Street, Sydney 2000
Phone: (02) 9283 9010
Fax:   (02) 9283 9020

This message is intended only for the named recipient. If you are not the
intended recipient you are notified that disclosing, copying, distributing
or taking any action in reliance on the contents of this message or
attachment is strictly prohibited.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]