Skip to content

Commit

Permalink
Merge pull request #926 from semi-technologies/feature/remove-local-n…
Browse files Browse the repository at this point in the history
…etwork-from-gql

gh-925 Feature/remove local network from gql
  • Loading branch information
etiennedi committed Jul 25, 2019
2 parents 4175ed8 + a2b8a08 commit afa396b
Show file tree
Hide file tree
Showing 45 changed files with 269 additions and 2,955 deletions.
48 changes: 0 additions & 48 deletions adapters/connectors/foobar/connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -479,51 +479,3 @@ func (f *Foobar) LocalGetMeta(ctx context.Context, info *traverser.GetMetaParams
func (f *Foobar) LocalAggregate(ctx context.Context, info *traverser.AggregateParams) (interface{}, error) {
return nil, nil
}

// LocalFetchKindClass allows for a contextionary-aided search and will find
// any classes that match the params outlined in the users request. By the time
// the connector is called, the contextionary-related work has already been
// completed and the connector is presented with a list of possible class
// names, as well as a list of possible property names. In additional a filter
// criterium (to be applied on those classes/properties) is present. For
// details on the input parameteres, see traverser.FetchParams
//
// The connector must respond with a list of short-form beacon and certainty
// tuples as maps. Note that the concept of how to calculate certainity has not
// been finalized yet:
// https://github.com/semi-technologies/weaviate/issues/710
//
// An example return value could look like this:
// []interface{}{
// map[string]interface{}{
// "certainty": 0.5,
// "beacon": "weaviate://localhost/things/4f2aa50a-82c4-40f9-998c-55957cdc4b74",
// },
// },
// }
func (f *Foobar) LocalFetchKindClass(ctx context.Context, info *traverser.FetchParams) (interface{}, error) {
return nil, nil
}

// LocalFetchFuzzy allows for a contextionary-aided search and will find
// any classes that contain the outlined words. If the connector supports
// searching by levensthein-edit distance it should perform such as a search,
// otherwise it can go for exact match of the tokenized words in the string
// properties.
//
// The connector must respond with a list of short-form beacon and certainty
// tuples as maps. Note that the concept of how to calculate certainity has not
// been finalized yet:
// https://github.com/semi-technologies/weaviate/issues/710
//
// An example return value could look like this:
// []interface{}{
// map[string]interface{}{
// "certainty": 0.5,
// "beacon": "weaviate://localhost/things/4f2aa50a-82c4-40f9-998c-55957cdc4b74",
// },
// },
// }
func (f *Foobar) LocalFetchFuzzy(ctx context.Context, words []string) (interface{}, error) {
return nil, nil
}
121 changes: 0 additions & 121 deletions adapters/connectors/janusgraph/fetch/conditions.go

This file was deleted.

Loading

0 comments on commit afa396b

Please sign in to comment.