Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SDK 3 FTS to further detail facets in results #99

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

chvck
Copy link
Contributor

@chvck chvck commented Oct 14, 2020

No description provided.


##### Term Facet Results
```
class TermFacetResult implements SearchFacetResult {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

java calls it TermSearchFacetResult

The JSON structure of each **term range** is:

```
TermRange {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

java calls it SearchTermRange


##### Date Range Facet Results
```
class DateFacetResult implements SearchFacetResult {
Copy link
Contributor

@daschl daschl Oct 27, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

java is DateRangeSearchFacetResult (and same pattern for the others)

long other();
List<TermFacetResult> terms();
List<NumericRangeFacetResult> numericRanges();
List<DateRangeFacetResult> dateRanges();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the names now also need to be modified

The JSON structure of each **date range** is:

```
DateRange {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SearchDateRange?

The JSON structure of each **numeric range** is:

```
NumericRange {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SearchNumericRange?

The JSON structure of each **term range** is:

```
TermFacet {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SearchTermRange?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants