public interface AsyncDocIdPusher
DocIds
to the GSA.| Modifier and Type | Method and Description |
|---|---|
boolean |
pushDocId(DocId docId)
Push a
DocId asynchronously to the GSA. |
boolean |
pushNamedResource(DocId docId,
Acl acl)
Push a named resource asynchronously to the GSA.
|
boolean |
pushRecord(DocIdPusher.Record record)
Push a
Record asynchronously to the GSA. |
boolean pushDocId(DocId docId)
DocId asynchronously to the GSA. The DocId is
enqueued and sent in the next batch to the GSA. If the queue is full,
then the item will be dropped and a warning will be logged.docId - that is to be crawledtrue if the DocId was accepted, false otherwiseboolean pushRecord(DocIdPusher.Record record)
Record asynchronously to the GSA. The Record
is enqueued and sent in the next batch to the GSA. If the queue is full,
then the item will be dropped and a warning will be logged.record - that is to be crawledtrue if the Record was accepted, false otherwiseboolean pushNamedResource(DocId docId, Acl acl)
Named resources are DocIds without any content or metadata,
that only exist for ACL inheritance. These DocId will never be
visible to the user and have no meaning outside of ACL processing.
docId - name or label of the access control listacl - is the access control list mapped onto by docIdtrue if the NamedResource was accepted, false
otherwise