public class DocIndex extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
class |
DocIndex.Result |
| Modifier and Type | Field and Description |
|---|---|
(package private) Map<Data,URL> |
docs |
(package private) static org.slf4j.Logger |
log |
private static long |
serialVersionUID
The unique class ID
|
| Constructor and Description |
|---|
DocIndex() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String text,
URL location,
Class<?> clazz) |
private Data |
createWordVector(String text) |
Double |
dist(Data w,
Data v) |
static DocIndex |
getInstance() |
List<DocIndex.Result> |
search(String query) |
private static final long serialVersionUID
static org.slf4j.Logger log
Copyright © 2018. All rights reserved.