lucene 4: s/getFieldable/getField

This commit is contained in:
Simon Willnauer 2012-10-29 11:47:14 +01:00 committed by Shay Banon
parent 0c1778a033
commit 77cbe0a26b
1 changed files with 2 additions and 2 deletions

View File

@ -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) {