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

Ft search #5567

Merged
merged 7 commits into from
Jun 6, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix bug
  • Loading branch information
cangfengzhs committed Jun 5, 2023
commit dcc5dfcf5f24a84034d2ed102520d4eb95f9ed79
2 changes: 1 addition & 1 deletion src/clients/meta/MetaClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -990,7 +990,7 @@ Status MetaClient::handleResponse(const RESP& resp) {
case nebula::cpp2::ErrorCode::E_HOST_CAN_NOT_BE_ADDED:
return Status::Error("Could not add a host, which is not a storage and not expired either");
default:
return Status::Error("Unknown error!");
return Status::Error("Unknown error %d!", static_cast<int>(resp.get_code()));
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/common/plugin/fulltext/elasticsearch/ESAdapter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Status ESAdapter::createIndex(const std::string& name,
mappings["properties"][field] = std::move(f);
}

auto result = randomClient().createIndex(name, mappings);
auto result = randomClient().createIndex(name, obj);
if (!result.ok()) {
return result.status();
}
Expand Down