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 Cristian Lorenzetto <cr...@gmail.com> on 2016/08/19 13:29:55 UTC

BinaryLink & delete hook

i d like add a new field in lucene permitting to save a link to a
InputStream (on file)


for adding/update document with this field is very simple.

Maybe there is a problem with delete.

If i deleteOnQuery or deleteAll ..... the esternal files are not deleted.

Is there a callback or a hook for deleting them when is called deleteOnDoc?

Any idea?

Otherwise , maybe i could wrap this removal calls splitting it in 2
sub deletection with linkField(slower) , and with no linkField (very
fast)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org