File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -338,3 +338,7 @@ TraverserEngine::~TraverserEngine() {
338
338
void TraverserEngine::smartSearch (VPackSlice, VPackBuilder&) {
339
339
THROW_ARANGO_EXCEPTION (TRI_ERROR_ONLY_ENTERPRISE);
340
340
}
341
+
342
+ void TraverserEngine::smartSearchBFS (VPackSlice, VPackBuilder&) {
343
+ THROW_ARANGO_EXCEPTION (TRI_ERROR_ONLY_ENTERPRISE);
344
+ }
Original file line number Diff line number Diff line change @@ -75,6 +75,9 @@ class BaseTraverserEngine {
75
75
virtual void smartSearch (arangodb::velocypack::Slice,
76
76
arangodb::velocypack::Builder&) = 0;
77
77
78
+ virtual void smartSearchBFS (arangodb::velocypack::Slice,
79
+ arangodb::velocypack::Builder&) = 0;
80
+
78
81
bool lockCollection (std::string const &);
79
82
80
83
std::shared_ptr<TransactionContext> context () const ;
@@ -103,7 +106,10 @@ class TraverserEngine : public BaseTraverserEngine {
103
106
~TraverserEngine ();
104
107
105
108
void smartSearch (arangodb::velocypack::Slice,
106
- arangodb::velocypack::Builder&);
109
+ arangodb::velocypack::Builder&) override ;
110
+
111
+ void smartSearchBFS (arangodb::velocypack::Slice,
112
+ arangodb::velocypack::Builder&) override ;
107
113
};
108
114
109
115
} // namespace traverser
Original file line number Diff line number Diff line change @@ -224,6 +224,8 @@ void InternalRestTraverserHandler::queryEngine() {
224
224
}
225
225
} else if (option == " smartSearch" ) {
226
226
engine->smartSearch (body, result);
227
+ } else if (option == " smartSearchBFS" ) {
228
+ engine->smartSearchBFS (body, result);
227
229
} else {
228
230
// PATH Info wrong other error
229
231
generateError (
You can’t perform that action at this time.
0 commit comments