public class Patty_relations extends Object
| Modifier and Type | Field and Description |
|---|---|
private org.apache.lucene.analysis.standard.StandardAnalyzer |
analyzer |
private org.apache.lucene.store.Directory |
directory |
String |
FIELD_NAME_OBJECT |
String |
FIELD_NAME_URI |
private org.apache.lucene.index.DirectoryReader |
ireader |
private org.apache.lucene.search.IndexSearcher |
isearcher |
private org.apache.lucene.index.IndexWriter |
iwriter |
private org.slf4j.Logger |
log |
private static org.apache.lucene.util.Version |
LUCENE_VERSION |
private int |
numberOfDocsRetrievedFromIndex |
| Constructor and Description |
|---|
Patty_relations() |
| Modifier and Type | Method and Description |
|---|---|
private void |
addDocumentToIndex(String relation,
String data) |
private void |
index() |
private void |
lineSplitAndAddtoIndex(String line) |
HashSet<String> |
search(String object) |
private static final org.apache.lucene.util.Version LUCENE_VERSION
private org.slf4j.Logger log
private int numberOfDocsRetrievedFromIndex
public String FIELD_NAME_URI
public String FIELD_NAME_OBJECT
private org.apache.lucene.store.Directory directory
private org.apache.lucene.search.IndexSearcher isearcher
private org.apache.lucene.index.DirectoryReader ireader
private org.apache.lucene.index.IndexWriter iwriter
private org.apache.lucene.analysis.standard.StandardAnalyzer analyzer
private void index()
private void addDocumentToIndex(String relation, String data) throws IOException
IOExceptionprivate void lineSplitAndAddtoIndex(String line)
Copyright © 2016–2017 Pivotal Software, Inc.. All rights reserved.