command
module
Version:
v0.0.0-...-2e3142b
Opens a new window with list of versions in this module.
Published: Nov 17, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Query Completion using Trie and Range Maximum Queries

Usage
-
put data under data/queries.csv
-
start the server
-
client uses RPC call to get top K related queries. Example:
client, err := rpc.DialHTTP("tcp", "localhost:1234")
if err != nil {
log.Fatal("dialing:", err)
}
args := "a"
var reply []string
err = client.Call("QueryCompletion.Search", &args, &reply)
if err != nil {
log.Fatal("error:", err)
}
fmt.Println(reply)
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.