mirror of
https://github.com/apache/lucene.git
synced 2025-03-06 16:29:30 +00:00
LUCENE-9026: Add getters to DocValuesTermsQuery
This commit is contained in:
parent
7a207a9353
commit
174cc63bad
@ -167,6 +167,20 @@ public class DocValuesTermsQuery extends Query implements Accountable {
|
||||
return builder.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the name of the field searched by this query.
|
||||
*/
|
||||
public String getField() {
|
||||
return field;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the terms looked up by this query, prefix-encoded.
|
||||
*/
|
||||
public PrefixCodedTerms getTerms() {
|
||||
return termData;
|
||||
}
|
||||
|
||||
@Override
|
||||
public long ramBytesUsed() {
|
||||
return BASE_RAM_BYTES +
|
||||
|
Loading…
x
Reference in New Issue
Block a user