lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anshum <ansh...@gmail.com>
Subject Re: assign a id to document?
Date Thu, 21 Oct 2010 04:30:19 GMT
Hi Nilesh,
No you can't do that. Though you may store your own id as a separate field
for whatever purpose you want. I don't see any reason why you'd essentially
want to override the lucene document id with your own. Let me know in case
there's something I didn't get.

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


On Thu, Oct 21, 2010 at 9:07 AM, Nilesh Vijaywargiay <nilesh.vijay@gmail.com
> wrote:

> I understand lucene provides its own document id. can we assign this id in
> any way?
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message