FileDocCategorySizeDatePackage
FilterClause.javaAPI DocApache Lucene 2.0.01011Fri May 26 09:54:02 BST 2006org.apache.lucene.search

FilterClause

public class FilterClause extends Object implements Serializable
A Filter that wrapped with an indication of how that filter is used when composed with another filter. (Follows the boolean logic in BooleanClause for composition of queries.)
author
BPDThebault

Fields Summary
org.apache.lucene.search.BooleanClause.Occur
occur
Filter
filter
Constructors Summary
public FilterClause(Filter filter, org.apache.lucene.search.BooleanClause.Occur occur)
Create a new FilterClause

param
filter A Filter object containing a BitSet
param
occur A parameter implementation indicating SHOULD, MUST or MUST NOT


	                       	 
	
	    
	
		this.occur = occur;
		this.filter = filter;
	
Methods Summary
public org.apache.lucene.search.FiltergetFilter()
Returns this FilterClause's filter

return
A Filter object

		return filter;
	
public org.apache.lucene.search.BooleanClause.OccurgetOccur()
Returns this FilterClause's occur parameter

return
An Occur object

		return occur;