You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Pranav goyal <pr...@gmail.com> on 2011/06/06 13:11:16 UTC

Lucene Document No

Hi all,

Is there any way to change my lucene document no?
Like if I can change my lucene document no's with con_key.

I am a newbie and don't know whether this is a silly question or not.

Please reply.

Thanks

Re: Lucene Document No

Posted by Anshum <an...@gmail.com>.
Hi Pranav,
Why would you want to do that in the first place? You could use a separate
field to process whatever it is that you're trying to do.
Also, you can not change the docid (as there's no reasonable reason for
doing so either).
Let me know what is it that you're trying to achieve/target.

--
Anshum Gupta
http://ai-cafe.blogspot.com


On Mon, Jun 6, 2011 at 4:41 PM, Pranav goyal <pr...@gmail.com>wrote:

> Hi all,
>
> Is there any way to change my lucene document no?
> Like if I can change my lucene document no's with con_key.
>
> I am a newbie and don't know whether this is a silly question or not.
>
> Please reply.
>
> Thanks
>