lux.query
Class SpanTermPQuery
java.lang.Object
lux.query.ParseableQuery
lux.query.TermPQuery
lux.query.SpanTermPQuery
public class SpanTermPQuery
- extends TermPQuery
Extends TermPQuery for use in contexts where a SpanTerm is required
SPAN_TERM_QNAME
public static final QName SPAN_TERM_QNAME
REGEXP_TERM_QNAME
public static final QName REGEXP_TERM_QNAME
SpanTermPQuery
public SpanTermPQuery(org.apache.lucene.index.Term t)
toXmlNode
public ElementConstructor toXmlNode(String field,
IndexConfiguration config)
- Overrides:
toXmlNode in class TermPQuery
- Parameters:
field - the prevailing field in the query's surrounding context.config - the index configuration
- Returns:
- an xml object representation of the query, in a format suitable for parsing by one the Lucene XML Query Parser
Copyright © 2013. All Rights Reserved.