Skip to content

Commit

Permalink
address jdoc warnings (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
sazzad16 authored Jul 29, 2021
1 parent b42690d commit 2e54b92
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 17 deletions.
16 changes: 8 additions & 8 deletions src/main/java/io/redisearch/Client.java
Original file line number Diff line number Diff line change
Expand Up @@ -366,45 +366,45 @@ public interface Client extends Closeable{
*
* @param option the name of the configuration option
* @param value a value for the configuration option
* @return
* @return OK
*/
boolean setConfig(ConfigOption option, String value);

/**
* Get runtime configuration option value
*
* @param option the name of the configuration option
* @return
* @return config
*/
String getConfig(ConfigOption option);

/**
* Get all configuration options, consisting of the option's name and current value
*
* @return
* @return all configs map
*/
Map<String, String> getAllConfig();

/**
* Add an alias to the index.
* @param name
* @return
* @return OK
*/
boolean addAlias(String name);

/**
* Update an alias from an index.
*
* @param name
* @return
* @return OK
*/
boolean updateAlias(String name);

/**
* remove an alias from an index.
*
* @param name
* @return
* @return OK
*/
boolean deleteAlias(String name);

Expand All @@ -414,7 +414,7 @@ public interface Client extends Closeable{
* @param terms
*
* @return the synonym group id
* @deprecated not supported since RediSeach 2 use {@link #updateSynonym(String, String...) instead
* @deprecated not supported since RediSeach 2 use {@link Client#updateSynonym(String, String...)} instead
*/
@Deprecated
long addSynonym(String ...terms);
Expand All @@ -426,7 +426,7 @@ public interface Client extends Closeable{
* @param terms
*
* @return true on success
* @deprecated use {@link #updateSynonym(String, String...) instead
* @deprecated use {@link Client#updateSynonym(String, String...)} instead
*/
@Deprecated
boolean updateSynonym(long synonymGroupId, String ...terms);
Expand Down
6 changes: 2 additions & 4 deletions src/main/java/io/redisearch/Query.java
Original file line number Diff line number Diff line change
Expand Up @@ -397,11 +397,10 @@ public Query setWithPayload() {

/**
* Set the query language, for stemming purposes
* <p>See http://redisearch.io for documentation on languages and stemming
* @param language a language.
*
* @return the query object itself
*
* @see http://redisearch.io for documentation on languages and stemming
*/
public Query setLanguage(String language) {
this._language = language;
Expand All @@ -410,11 +409,10 @@ public Query setLanguage(String language) {

/**
* Set the query custom scorer
* <p>See http://redisearch.io for documentation on extending RediSearch
* @param scorer a custom scorer.
*
* @return the query object itself
*
* @see http://redisearch.io for documentation on extending RediSearch
*/
public Query setScorer(String scorer) {
this._scorer = scorer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ protected List<String> getOwnArgs() {
* REDUCE FIRST_VALUE {nargs} {property} [BY {property} [ASC|DESC]]
* @param field
* @param sortBy
* @return
* @return Reducer
*/
public static Reducer first_value(String field, SortedField sortBy) {
return new Reducer(field) {
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/io/redisearch/client/Client.java
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public boolean alterIndex(Schema.Field ...fields) {
*
* @param option the name of the configuration option
* @param value a value for the configuration option
* @return
* @return OK
*/
@Override
public boolean setConfig(ConfigOption option, String value) {
Expand All @@ -254,7 +254,7 @@ public boolean setConfig(ConfigOption option, String value) {
* Get runtime configuration option value
*
* @param option the name of the configuration option
* @return
* @return config
*/
@Override
public String getConfig(ConfigOption option) {
Expand All @@ -275,7 +275,7 @@ public String getConfig(ConfigOption option) {
/**
* Get all configuration options, consisting of the option's name and current value
*
* @return
* @return all configs map
*/
@Override
public Map<String, String> getAllConfig() {
Expand Down Expand Up @@ -1171,7 +1171,7 @@ public IndexOptions SetNoStopwords() {
/**
* Temporary
* @param expire
* @return
* @return IndexOptions
*/
public IndexOptions setTemporary(long expire) {
this.expire = expire;
Expand Down

0 comments on commit 2e54b92

Please sign in to comment.