lucene 4: s/getFieldable/getField
This commit is contained in:
parent
0c1778a033
commit
77cbe0a26b
|
@ -475,7 +475,7 @@ public interface Engine extends IndexShardComponent, CloseableComponent {
|
|||
}
|
||||
|
||||
public UidField uidField() {
|
||||
return (UidField) doc.rootDoc().getFieldable(UidFieldMapper.NAME);
|
||||
return (UidField) doc.rootDoc().getField(UidFieldMapper.NAME);
|
||||
}
|
||||
|
||||
|
||||
|
@ -603,7 +603,7 @@ public interface Engine extends IndexShardComponent, CloseableComponent {
|
|||
}
|
||||
|
||||
public UidField uidField() {
|
||||
return (UidField) doc.rootDoc().getFieldable(UidFieldMapper.NAME);
|
||||
return (UidField) doc.rootDoc().getField(UidFieldMapper.NAME);
|
||||
}
|
||||
|
||||
public Index startTime(long startTime) {
|
||||
|
|
Loading…
Reference in New Issue