|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.search.Query
org.jboss.dna.search.lucene.query.HasValueQuery
public class HasValueQuery

A Lucene Query implementation that is satisfied if there is at least one value for a document.
| Constructor Summary | |
|---|---|
HasValueQuery(String fieldName)
Construct a Query implementation that scores nodes according to the supplied comparator. |
|
| Method Summary | |
|---|---|
Object |
clone()
|
org.apache.lucene.search.Weight |
createWeight(org.apache.lucene.search.Searcher searcher)
|
String |
toString(String field)
|
| Methods inherited from class org.apache.lucene.search.Query |
|---|
combine, equals, extractTerms, getBoost, getSimilarity, hashCode, mergeBooleanQueries, rewrite, setBoost, toString, weight |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HasValueQuery(String fieldName)
Query implementation that scores nodes according to the supplied comparator.
fieldName - the name of the document field containing the value; may not be null| Method Detail |
|---|
public Object clone()
clone in class org.apache.lucene.search.QueryQuery.clone()public org.apache.lucene.search.Weight createWeight(org.apache.lucene.search.Searcher searcher)
createWeight in class org.apache.lucene.search.QueryQuery.createWeight(org.apache.lucene.search.Searcher)public String toString(String field)
toString in class org.apache.lucene.search.QueryQuery.toString(java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||