FileDocCategorySizeDatePackage
RangeFilterBuilder.javaAPI DocApache Lucene 1.9927Mon Feb 27 11:12:20 GMT 2006org.apache.lucene.xmlparser.builders

RangeFilterBuilder

public class RangeFilterBuilder extends Object implements org.apache.lucene.xmlparser.FilterBuilder
author
maharwood

Fields Summary
Constructors Summary
Methods Summary
public org.apache.lucene.search.FiltergetFilter(org.w3c.dom.Element e)

		
		String fieldName=DOMUtils.getAttributeWithInheritance(e,"fieldName");
		
		String lowerTerm=e.getAttribute("lowerTerm");
		String upperTerm=e.getAttribute("upperTerm");
		boolean includeLower=DOMUtils.getAttribute(e,"includeLower",true);
		boolean includeUpper=DOMUtils.getAttribute(e,"includeUpper",true);
		return new RangeFilter(fieldName,lowerTerm,upperTerm,includeLower,includeUpper);