lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcio Napoli <>
Subject Removing/Adding term to one field by docId
Date Fri, 17 Jan 2014 13:56:00 GMT

Lucene's API have the ability to change a document, removes and adds the
document. I have the need to add/remove a term by docId/field.

There is the possibility to perform the link between a term with a field
and its existing document? (field -> terms -> term -> DocIds)

writer.removeTerm (docId, field, term);
writer.addTerm (docId, field, term);

Marcio Napoli

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