File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ The client is available on Maven central:
1010<dependency >
1111 <groupId >org.typesense</groupId >
1212 <artifactId >typesense-java</artifactId >
13- <version >0.0.6 </version >
13+ <version >0.0.8 </version >
1414</dependency >
1515```
1616
@@ -43,7 +43,7 @@ Client client = new Client(configuration);
4343ArrayList<Field > fields = new ArrayList<> ();
4444fields. add(new Field (). name(" countryName" ). type(FieldTypes . STRING ));
4545fields. add(new Field (). name(" capital" ). type(FieldTypes . STRING ));
46- fields. add(new Field (). name(" gdp" ). type(FieldTypes . INT32 ). facet(true ));
46+ fields. add(new Field (). name(" gdp" ). type(FieldTypes . INT32 ). facet(true ). sort( true ) );
4747
4848CollectionSchema collectionSchema = new CollectionSchema ();
4949collectionSchema. name(" Countries" ). fields(fields). defaultSortingField(" gdp" );
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ repositories {
1010}
1111
1212group = ' org.typesense'
13- version = ' 0.0.7-beta1 '
13+ version = ' 0.0.8 '
1414sourceCompatibility = 1.8
1515targetCompatibility = 1.8
1616
You can’t perform that action at this time.
0 commit comments