public abstract class AbstractSearchFacetResult extends Object implements SearchFacetResult
Modifier and Type | Field and Description |
---|---|
protected String |
field |
protected long |
missing |
protected String |
name |
protected long |
other |
protected long |
total |
Modifier | Constructor and Description |
---|---|
protected |
AbstractSearchFacetResult(String facetName,
String field,
long total,
long missing,
long other) |
Modifier and Type | Method and Description |
---|---|
String |
field() |
long |
missing() |
String |
name() |
long |
other() |
long |
total() |
protected final String name
protected final String field
protected final long total
protected final long missing
protected final long other
public String name()
name
in interface SearchFacetResult
public String field()
field
in interface SearchFacetResult
SearchFacet
was targeting.public long missing()
missing
in interface SearchFacetResult
public long other()
other
in interface SearchFacetResult
public long total()
total
in interface SearchFacetResult
SearchFacetResult.other()
+ terms (but doesn't include
SearchFacetResult.missing()
).Copyright © 2020 Couchbase, Inc.. All rights reserved.