iprithv opened a new issue, #16117:
URL: https://github.com/apache/lucene/issues/16117
### Description
The experimental columnar indexing API (`IndexWriter.addBatch(ColumnBatch)`)
added supports bulk columnar document addition, but there is no equivalent to
`updateDocuments(Term, Iterable)`
for columnar batches. Users who index via columns cannot atomically delete
existing documents by term
and add a new columnar batch in a single operation.
add the following public methods to `IndexWriter`
```java
/**
* Atomically deletes documents matching the provided term and adds a batch
of documents
* in column-oriented format.
*/
public long updateDocuments(Term delTerm, ColumnBatch columnBatch) throws
IOException;
/**
* Similar to above but takes a Query instead of a Term.
*/
public long updateDocuments(Query delQuery, ColumnBatch columnBatch) throws
IOException;
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]