mirror of https://github.com/apache/lucene.git
add omitTf to StringFieldable for newer lucene versions (back compatible with current lucene and makes testing with lucene trunk possibe)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@684581 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5407863614
commit
72da2b2cbe
|
@ -786,6 +786,13 @@ public class QueryComponent extends SearchComponent
|
||||||
public void setOmitNorms(boolean omitNorms) {
|
public void setOmitNorms(boolean omitNorms) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void setOmitTf(boolean omitTf) {
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean getOmitTf() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
public boolean isLazy() {
|
public boolean isLazy() {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue