public abstract class ReturnFields extends Object
Constructor and Description |
---|
ReturnFields() |
Modifier and Type | Method and Description |
---|---|
abstract Set<String> |
getLuceneFieldNames()
Set of field names with their exact names from the lucene index.
|
abstract Set<String> |
getRequestedFieldNames()
The requested field names (includes pseudo fields)
|
abstract DocTransformer |
getTransformer()
Returns the DocTransformer used to modify documents, or
null |
abstract boolean |
hasPatternMatching()
Returns
true if the fieldnames should be picked with a pattern |
abstract boolean |
wantsAllFields()
Returns
true if all fields should be returned. |
abstract boolean |
wantsField(String name)
Returns
true if the specified field should be returned. |
abstract boolean |
wantsScore()
Returns
true if the score should be returned. |
public abstract Set<String> getLuceneFieldNames()
Class such as ResponseWriters pass this to SolrIndexSearcher.doc(int, Set)
.
null
(all fields).public abstract Set<String> getRequestedFieldNames()
null
(all fields).public abstract boolean wantsField(String name)
true
if the specified field should be returned.public abstract boolean wantsAllFields()
true
if all fields should be returned.public abstract boolean wantsScore()
true
if the score should be returned.public abstract boolean hasPatternMatching()
true
if the fieldnames should be picked with a patternpublic abstract DocTransformer getTransformer()
null
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.