public class SolrInputField extends Object implements Iterable<Object>, Serializable
Constructor and Description |
---|
SolrInputField(String n) |
Modifier and Type | Method and Description |
---|---|
void |
addValue(Object v,
float b)
Add values to a field.
|
SolrInputField |
deepCopy() |
float |
getBoost()
Deprecated.
Index-time boosts are deprecated. You should instead index
scoring factors into a separate field and combine them with
the main query's score at search time using function queries.
|
Object |
getFirstValue() |
String |
getName() |
Object |
getValue() |
int |
getValueCount() |
Collection<Object> |
getValues() |
Iterator<Object> |
iterator() |
void |
setBoost(float boost)
Deprecated.
Index-time boosts are deprecated. You should instead index
scoring factors into a separate field and combine them with
the main query's score at search time using function queries.
|
void |
setName(String name) |
void |
setValue(Object v,
float b)
Set the value for a field.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public SolrInputField(String n)
public void setValue(Object v, float b)
public void addValue(Object v, float b)
public Object getFirstValue()
public Object getValue()
public Collection<Object> getValues()
public int getValueCount()
@Deprecated public float getBoost()
@Deprecated public void setBoost(float boost)
public String getName()
public void setName(String name)
public SolrInputField deepCopy()
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.