public class

AttachmentTypeFilter

extends Filter
java.lang.Object
   ↳ org.apache.lucene.search.Filter
     ↳ com.atlassian.confluence.search.lucene.filter.AttachmentTypeFilter

Class Overview

Filters content that is of, or not of given attachment type(s).

Summary

Public Constructors
AttachmentTypeFilter(Set<Attachment.Type> attachmentTypes, boolean negate)
Filter attachment according to given types.
AttachmentTypeFilter(Set<Attachment.Type> attachmentTypes)
Public Methods
BitSet bits(IndexReader reader)
[Expand]
Inherited Methods
From class org.apache.lucene.search.Filter
From class java.lang.Object

Public Constructors

public AttachmentTypeFilter (Set<Attachment.Type> attachmentTypes, boolean negate)

Filter attachment according to given types.

Parameters
negate if true, will remove attachments of the given types. if false, filter will remove attachments not of the given types.

public AttachmentTypeFilter (Set<Attachment.Type> attachmentTypes)

Public Methods

public BitSet bits (IndexReader reader)

Throws
IOException