Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
Modifier and Type | Method and Description |
---|---|
static TermRangeFilter |
TermRangeFilter.Less(String fieldName,
BytesRef upperTerm)
Constructs a filter for field
fieldName matching
less than or equal to upperTerm . |
static TermRangeFilter |
TermRangeFilter.More(String fieldName,
BytesRef lowerTerm)
Constructs a filter for field
fieldName matching
greater than or equal to lowerTerm . |
static TermRangeFilter |
TermRangeFilter.newStringRange(String field,
String lowerTerm,
String upperTerm,
boolean includeLower,
boolean includeUpper)
Factory that creates a new TermRangeFilter using Strings for term text.
|
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.