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 S Edirisinghe <ed...@gmail.com> on 2007/02/03 01:48:08 UTC

adding keywords to a field

Hi,

Is is possible to add keywords to a field? for example if I add a field to a
document and then I save it to the index, after that I find it again for
edit, and want to add a nother keyword for the field. What is the new api
call to add to a stored keyword field?

thanks

Re: adding keywords to a field

Posted by Erick Erickson <er...@gmail.com>.
No. Update-in-place has been on the wish list for some time. To modify a
document, you must delete and re-add it. Which can be a problem if the
document has fields that are not stored....

Best
Erick

On 2/2/07, S Edirisinghe <ed...@gmail.com> wrote:
>
> Hi,
>
> Is is possible to add keywords to a field? for example if I add a field to
> a
> document and then I save it to the index, after that I find it again for
> edit, and want to add a nother keyword for the field. What is the new api
> call to add to a stored keyword field?
>
> thanks
>